Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programs not releasing from memory
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Programs not releasing from memory
Miscellaneous
Thread ID:
00262369
Message ID:
00262369
Views:
44
I have a large application that is broken down into different modules and is distributed in several different executable files. Since upgrading from VFP5 to VFP6 SP3, it has suddenly stopped working.

I have traced the problem down to function names being reused in different executable files.

For example:

A.exe calls B.exe and runs a program in B.exe called XYZ. When it finishes executing, B.exe returns back to A.exe.

A few hundred code lines later A.exe calls C.exe and runs a program in C.exe also called XYZ (although the program name is the same the actual code is completely different from the other XYZ program). And yet VFP6 SP3 is reusing the XYZ program found in B.exe! Even though B.exe is completely out of scope.

It almost seems like VFP is not releasing any of the functions from memory when the executable file finishes .

I've had several other developers reproduce the problem, but no one has come up with a solution (other than renaming all of my programs in all of my projects). Any other ideas?
Henry Petry
AeroHunter.com
Next
Reply
Map
View

Click here to load this message in the networking platform