From: Sean H. <jal...@ho...> - 2001-01-11 04:47:43
|
I had this problem before - I found a possible solution in the old archives (at http-tech), but it involved recompiling (if I recall correctly, the variable filterlen was not given a default value of 0, so when you specify a filter, the program tries to increment something that hasn't been set yet). Since I can't recompile, I shelved the program I was working on until a fixed version came out. I was using the last version, but I guess it's not working with 0.0502 yet, either. >can anyone out there recreate this: > >from perl call >my $filename = Win32::GUI::GetOpenFileName( > -filter => [ > "File type 1" => "*.ft1", > "File type 2" => "*.ft2", > ], >); > >now call this twice. The first time it works wonderfully, the second >time it causes my program to exit, and this is displayed: >Out of memory! >Callback called exit. >(I believe the message is from the perl interpreter rather than win32- >gui). > >I'd be interested to hear if anyone is using this function with >success (multiple times), as it may be a problem purely with my >build of win32-gui (0.0502) or perl (5.60). > >It doesn't seem to happen unless you specify a filter. All the other >options work perfectly. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |