Hello everyone,
I've tracked this down a little further. Using the SysInternals Process Monitor program, VFP is looking for the FOXUSER.DBF. In the process, it looks in the current folder, then every folder in the PATH. There bad path does not appear in the captured data.
Having a valid FOXUSER.DBF in the program folder prevents the error from happening.
This still occurs even though the compiled in config.fpw file contains the line: resource=off
I am now testing with 09.00.0000.7423
This wasn't a problem with an exe built using 09.00.0000.3504, until I modified the exes internal manifest.
Any thoughts?
Tracy Pearson PowerChurch Software
Tracy If there is no foxuser.dbf in your Path VFP will create one. This behavior is since VFP5.0 Koen
Op maandag 18 januari 2016 heeft Tracy Pearson tracy@powerchurch.com het volgende geschreven:
Hello everyone,
I've tracked this down a little further. Using the SysInternals Process Monitor program, VFP is looking for the FOXUSER.DBF. In the process, it looks in the current folder, then every folder in the PATH. There bad path does not appear in the captured data.
Having a valid FOXUSER.DBF in the program folder prevents the error from happening.
This still occurs even though the compiled in config.fpw file contains the line: resource=off
I am now testing with 09.00.0000.7423
This wasn't a problem with an exe built using 09.00.0000.3504, until I modified the exes internal manifest.
Any thoughts?
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
True, it does not when the config.fpw has the resource=off in it. Which has also been in since VFP 5.
On January 18, 2016 4:57:23 PM EST, Koen Piller koen.piller@gmail.com wrote:
Tracy If there is no foxuser.dbf in your Path VFP will create one. This behavior is since VFP5.0 Koen
Tracy It does remake Koen
Op maandag 18 januari 2016 heeft Tracy Pearson Tracy@powerchurch.com het volgende geschreven:
True, it does not when the config.fpw has the resource=off in it. Which has also been in since VFP 5.
On January 18, 2016 4:57:23 PM EST, Koen Piller <koen.piller@gmail.com javascript:;> wrote:
Tracy If there is no foxuser.dbf in your Path VFP will create one. This behavior is since VFP5.0 Koen
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[excessive quoting removed by server]
Koen Piller wrote on 2016-01-19:
Tracy It does remake Koen
Op maandag 18 januari 2016 heeft Tracy Pearson Tracy@powerchurch.com
het
volgende geschreven:
True, it does not when the config.fpw has the resource=off in it. Which has also been in since VFP 5.
Koen,
When the FoxUser.dbf does not exist, and the config.fpw does not have a resource=off line in it, and the PATH environment variable is invalid, the error will occur. Invalid path of file name. Cancel Ignore Help
Press Cancel, the program will not run. Press Ignore, a C0000005 error will occur.
There are programs that install on users computer that corrupt the PATH environment variable. I educate the techs that support the software project I work on why this happens and how to fix it.
I brought it up here because I was hoping there might be someone that may have some insight and suggestions.
Tracy Pearson PowerChurch Software
This only apply to a compiled EXE, and not the development environment, right?
I'm not sure what sort of suggestions would be helpful.
How about including a small FoxUser.DBF, embedded inside your executable. VFP *should* open it read only.
Or, of course, include a CONFIG.FPW with RESOURCE=OFF.
On Wed, Jan 20, 2016 at 10:39 AM, Tracy Pearson tracy@powerchurch.com wrote:
Koen Piller wrote on 2016-01-19:
Tracy It does remake Koen
Op maandag 18 januari 2016 heeft Tracy Pearson Tracy@powerchurch.com
het
volgende geschreven:
True, it does not when the config.fpw has the resource=off in it. Which has also been in since VFP 5.
Koen,
When the FoxUser.dbf does not exist, and the config.fpw does not have a resource=off line in it, and the PATH environment variable is invalid, the error will occur. Invalid path of file name. Cancel Ignore Help
Press Cancel, the program will not run. Press Ignore, a C0000005 error will occur.
There are programs that install on users computer that corrupt the PATH environment variable. I educate the techs that support the software project I work on why this happens and how to fix it.
I brought it up here because I was hoping there might be someone that may have some insight and suggestions.
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
Ted Roche wrote on 2016-01-20:
This only apply to a compiled EXE, and not the development environment,
right?
I'm not sure what sort of suggestions would be helpful.
How about including a small FoxUser.DBF, embedded inside your executable. VFP *should* open it read only.
Or, of course, include a CONFIG.FPW with RESOURCE=OFF.
Ted,
Thank you. I just included the foxuser.dbf in the EXE. The EXE is in a folder without the foxuser.dbf, and I still get the same results with Cancel and Ignore.
Just for grins, I set the resource=on and recompiled. I get the same results even with the table included.
Then I set resource=foxuser.dbf and got --------------------------- Microsoft Visual FoxPro --------------------------- Visual FoxPro cannot start. Insufficient Memory. --------------------------- OK ---------------------------
Thank you for helping.
Tracy Pearson PowerChurch Software