General information
Category:
The Mere Mortals Framework
Title:
Stub Application setup
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only