Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot find VCX inside exe
Message
 
 
To
27/08/2008 16:42:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01342362
Message ID:
01342365
Views:
18
Are you Forms created outside the EXE? E.g. do you create them on the fly?

>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!
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform