Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My exe wont go away!
Message
De
19/10/1999 01:17:52
 
 
À
19/10/1999 00:31:31
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00277945
Message ID:
00278008
Vues:
19
>>>I have an ole public vfp form that I compiled into an exe. it contains an activex control. I also have an ole public vfp container class compiled into an exe. I "globalvar=createobject()" both of these, but I can't get the form exe to release out of memory (shows up in task manager) when the error method in the container does a return to master. The container releases just fine, but the form does not. Any suggestions, I am very new to the OLE world and could use some help!
>>>
>>>Thanks Tons
>>
>>I have no idea why what you are trying to do is not working, but I also have no idea why it would.
>>
>>Why are all these classes OLE public? Are you using them outside of VFP? If so, are you aware that VFP COM servers are not made to support visual interfaces? If not, why are they COM servers?
>
>All of these classes? There are two classes. I used the form class because VFP would not allow the activex in a container to be compiled as ole public. When I put it in a form I was able to compile the form/activex as OLE public.


Ahhh, ok. Interesting experiment, I didn't know it would let you compile and instanciate this. I have to admit, I don't know what the problem is, but I am confident that it has something to do with your pushing the boundaries of what VFP is supposed to handle with COM.

I think that you tricked VFP into allowing you to comppile this form, and I'll bet that got you around a safeguard that was supposed to prevent you from getting into this situation.

Sorry I couldn't be of any help.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform