Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stub Application setup
Message
De
18/04/2002 18:04:45
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Stub Application setup
Divers
Thread ID:
00646658
Message ID:
00646658
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform