Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot find VCX inside exe
Message
De
27/08/2008 16:42:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Cannot find VCX inside exe
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01342362
Message ID:
01342362
Vues:
62
Hello
I have a VFP exe, deployed in hundreds of customers. The exe contains several VCXs inside, and has "hooks" to allow for extensions.

These extensions are typically forms (scx) , which are based on classes contained in the main .exe.

Problem is: the FIRST form to be called from the exe works ok. The scx finds the VCX it is based upon and BMPS contained in the exe are displayed, no problem

However, if I happen to call a SECOND (scx) form from the first, the VCX and BMPs contained in the exe are no longer visible

That is
myexe --> myfirstform OK
myexe --> myfirstform--> mysecond form ---> cannot locate visual class library and bmps

I have been solving this in one of two ways:
- copying all the vcxs and bmps side by side with the scx
- or compiling a new exe with all required files inside

Can anything else be done? I dont very much like any of the alternatives...But I have not been able to find a "set classlib.." that works.

All forms are called with DO FORM.....

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform