Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using .vcx compiled in one .exe by another .exe
Message
 
 
À
18/05/2001 11:57:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00508751
Message ID:
00508789
Vues:
26
Hi!

Well, did you used 'ADDITIVE' When setting VCX second time? WIthout that second SET CLASSLIB overrides the first one. WIth ADDITIVE both libraries will be loaded in the memory.

BTW, for debugging purposes, just display the result of the 'SET("CLASSLIB")' function. This way you will see wich libraries are currently loaded.

HTH.

>>Hi!
>>
>>In the main.exe make a function in the procedure file that sets class library for you. Load procedure file into the memory using SET PROCEDURE command in main.exe. In the chlid EXE function is available. Call it to set class library. Because function works "inside" if the main.exe, it will see the class library and will set it correctly.
>>
>
>Vlad,
>
>I currently SET CLASSLIB TO mainlib.vcx in the main.prg during the SetPath() function. I also open a another classlib in the oApp.Init to read an .ini file. Shouldn't this achieve the same result?
>
>Or are you saying that I have to create a separate file (myproc.prg) with just the SET CLASSLIB TO commmand, then SET PROCEDURE TO myproc.prg in the main.prg where I presently SET CLASSLIB?
>
>
>- Brian
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform