Page 3 of 3

Posted: Sat Aug 15, 2009 10:47 pm
by Edwin Knoppert
I did the VB6 part as you posted and compiled it.
The previous did not crash here, the current doesn't crash either.

Posted: Sat Aug 15, 2009 10:51 pm
by Edwin Knoppert
How will you measure a memory leak if the app runs for just one second?

Posted: Sat Aug 15, 2009 11:45 pm
by Ollivier
Okay. Your 2 codes VB6+PB work fine and my 2 codes VB6+PB work fine. I suppose you didn't change a character in my code: it had no error...

I think it's possible to see the memory adding 2 lines in the VB6 code: for example, a msgbox which forces the user to click ok once before the "big loop" and once after the "big loop". Instead of clicking ok immediatly, the user opens the task manager and see the available memory value. Idem for the second click. So he could see if there is a difference.

I thank you for your answers.

This file C:\WINDOWS\SYSTEM32\MSVBVM60.DLL has a real size of 1 384 479 bytes. Could you check if the file, which has the same place in your harddrive, has the real size?

Ollivier