RE: [perl-win32-gui-hackers] Crash with Combobox GetLBText

2005-10-16 Thread Jeremy White
Hi, cbString = SendMessage(handle, CB_GETLBTEXTLEN, index, 0); if(cbString != LB_ERR) { szString = (char *) safemalloc(cbString); I've just committed a fix for Combobox.xs (GetString) and Listbox.xs (GetString) - both weren't allocating enough space for the string (I added one

[perl-win32-gui-hackers] Crash in CommonMsgLoop

2005-10-16 Thread Jeremy White
Hi, Not my day...Crash happens at 'random' times, but only on exit. I'm trying to get a simple test case together...Any comments? Cheers, jez. perl.exe caused an Access Violation at location 01fff42d Reading from location 01fff42d. Registers: eax=7ffdf000 ebx= ecx= edx=000

RE: [perl-win32-gui-hackers] Crash in CommonMsgLoop

2005-10-16 Thread Jeremy White
Not my day...Crash happens at 'random' times, but only on exit. I'm trying to get a simple test case together...Any comments? This is going to be a pain to track down. I've got a case where I'm almost guaranteed to cause a crash on exit - it's not a simple case - and can't include the code (as

RE: [perl-win32-gui-hackers] Crash in CommonMsgLoop

2005-10-16 Thread Jeremy White
I apologies for using this forum as a sounding board... This is going to be a pain to track down. I've got a case where I'm almost guaranteed to cause a crash on exit - it's not a simple case Ok - think I've got it - just not sure what the fix should be - or even if a fix is needed. In my ap