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