Return a string from PB to VB

Just starting out? Need help? Post your questions and find answers here.
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post 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.
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

How will you measure a memory leak if the app runs for just one second?
Ollivier
Enthusiast
Enthusiast
Posts: 281
Joined: Mon Jul 23, 2007 8:30 pm
Location: FR

Post 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
Post Reply