Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent class inside exe, subclass in subfolder
Message
De
29/10/2018 11:19:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
28/10/2018 15:41:29
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:
01662889
Vues:
78
>>So I guess the next thing to try is to have an almost empty form, with just minimal code in it (and smart enough we don't have to change it in foreseeable future), inside the exe. Then it should pull its containers from the vcx in subfolder.
>
>
>did you check:
>ContainerParentclass in exe
>
>ContainerEmpty as ContainerParentclass in vcx

Tried, didn't work.

>FormfromVcx aggregates ContainerEmpty, both in vcx ?
>
>Do you have a MVF (minimum viable failure) to horse around if time permits ?

This is what (finally, with lots of knocks on wood) worked:
- caller container inside the exe, not subfolder\my.vcx
- it launches a form inside the exe, not subfolder\my.vcx
- it then instantiates the containers as needed, from subfolder\my.vcx

IOW, a container from subfolder\my.vcx launching a form with further container, all from subfolder\my.vcx, doesn't work - in too many places it doesn't find classlibs in exe, even though they were explicitly open (set classlib to myparent.vcx in the.exe additive, dozen of). I guess the path hardcoded in the classloc memo in the vcx serves as a parameter for an implicit newobject(), which can't be helped.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform