Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent class inside exe, subclass in subfolder
Message
De
22/10/2018 05:27:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/10/2018 21:41:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008 R2
Database:
MS SQL Server
Divers
Thread ID:
01662676
Message ID:
01662709
Vues:
91
>Hi Dragan, check using:
>
>SET CLASSLIB TO ClassLibraryName [IN APPFileName | EXEFileName] [ADDITIVE] [ALIAS AliasName]

Just to report that this would probably have helped (even though I would have to have a long list of classes declared like that) if the trick I tried didn't work.

And the trick was to have that one scx back into the project. Fox seems to find classes to createobject() etc among the already opened classes, but those in a .scx must be in the path as stored in the classloc field. Now I don't really like having this form inside the exe, as it needs to be distributed with the rest of the stuff in the folder and not with the main exe, so I'll probably just save it as class and instantiate it from it, i.e. kill the scx altogether.

This was an exhausting exercise, because I had to keep checking that it works standalone, so it was build exe, quit, rename the source folder, run, rename back, fix, build...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform