Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent class inside exe, subclass in subfolder
Message
From
29/10/2018 11:19:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/10/2018 15:41:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008 R2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01662676
Message ID:
01662889
Views:
77
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform