Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executable file opens and closes immediately
Message
From
26/07/2023 23:24:23
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
 
 
To
26/07/2023 15:23:39
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01686845
Message ID:
01686853
Views:
43
I tried adding the vfp9r.dll in the same folder in the server where the EXE is, then suddenly a message say "Visual FoxPro cannot start. Could not load resources", so I've removed it and then it works again. What resources is it looking for?

**************

>>When trying to open the application, it will take some time to start, and then won't continue to open and then closes immediately in a few seconds. The other existing 5 workstation and the Server are all still working fine and still can be use and being used.

It's interesting if there's no error dialogs or logs, just a quiet shut down on more than one affected machine.

The most common cause for this used to be people testing in the IDE then building their exe without a READ EVENTS, but you already have the exe working properly so it's not that.

Is it possible that your error handling is shrouding something like missing dependencies on newer OS? E.g. Windows used to ship with standard VC++7 dlls needed by VFP or add-ons like Craig Boyd's encryption and archiving flls, but those dlls are no longer included in newer OS. The easiest way to avoid this sort of issue is to include all dependencies in your installation folder with your exe. If you confirm which flls and dlls are included in your distribution, an "aha!" moment may result.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform