Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stub Application setup
Message
From
18/04/2002 18:04:45
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Stub Application setup
Miscellaneous
Thread ID:
00646658
Message ID:
00646658
Views:
49
I've created my first stub program that works standalone and I also have a working application exe. Using MM7 for the application EXE. I am using the constant MMEXEC_NAME as stated in the DEVGUIDE.

The main.prg of the stub calls the exe when it is finished by way of DO appname.exe.

I am getting 'Cannot located classlib' errors when running my stub program from explorer.
For example, if my current directory is c:\program files\appname, the main app is looking for libs (which are in the exe) in c:\program files\mmortals\common30 libs. It looks like the setup.prg is appending over my app's name with the mmortals path. Which is strange anyway, I'm not in DEBUG mode in explorer (it's all built into the executable).

If I run the stub from the command prompt in VFP, the app runs but is missing some of my classlib entries (which are all compiled into the exe) and works find standalone.

In my main program of the stub, I run the stub and then run the main apps EXE. Is this the correct way to set it up? I am hoping it's something very basic!

TIA,

Chuck
Next
Reply
Map
View

Click here to load this message in the networking platform