Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Foxpro 6.0 _Vfp.StartMode Returning "0" in Windows 10 For Compiled App

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
FoxPro 6.0 compiled application. I'm using
Code:
If _Vfp.StartMode = 0
at start of program to set some values for development. But in Windows 10 is reporting "0" for the compiled app. Has anybody else seen this?

Auguy
Sylvania/Toledo Ohio
 
Let me guess: You [tt]Do your.exe[/tt], then you don't start the exe as standalone process, you run the main file of Your.exe within VFP6.exe

_vfp.startmode is 4 in an EXE, just as always.

Bye, Olaf.

 
Thanks Olaf, I will have to check and see how I start it at the client location. It's been a while.

Auguy
Sylvania/Toledo Ohio
 
What should be installed aside of an exe you build from a pjx with vfp6 is the vfp6 runtimes:

Almost like just with 6 instead of 7. Not sure what the C runtime most be, but it's likely msvcr60.dll - VFP did not exactly have the same release life cycle as vc++. I think both VFP7 and 8 are made with VC++ 7.0, VFP9 was done in VC++ 7.1 and VFP6 is more likely to be a VC++ 6 product, not another VC++ 7.0 for sure.

You should easily find out, as you have VFP6 installed and the C runtime also is necessary to run VFP6 itself.

Notice: You are not allowed to redistribute VFP6.exe, only vfp6r.dll and other runtime files.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top