Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Has anyone else seen this?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00300987
Message ID:
00301060
Vues:
31
>>I've run into the following and am wondering if any of you have seen this as well.
>>
>>In VFP 6.0 SP3, I've built in-process OLE Automation server. After opening the type library in the Class Browser, I cannot compile the dll without completely exiting VFP. I get a "Error in creating the OLE object". This is occurs with both single and multi-threaded dlls. Additionally, I've tried CLEAR ALL and CLOSE ALL without any change, figuring that the browser has not closed the type library and released the file handle. While I still think that this may be the source of the error, I'm not 100% sure. Any ideas?
>>
>>BTW, This is with VFP on a local machine, running under Win 98 SE.
>
>I have seen it happen with VB. I'm working on a project that uses VFP middle tier and VB front end (duck) and I can't rebuild the VFP DLL while the project is open in VB, even if the DLL is not being used. This is related to the type library being open from the component references in VB. I haven't tried this in VFP, but you may check and clear the value of the _obrowser system variable and see what happens.

Hi J.,

I don't think that clearing the _BROWSER system variable will help, since it only holds a string reference. I have noticed that if you examine the VFP system variable in the debugger, you're likely to generate a C0000005 error and VFP shuts down.

Everything looks normal. A "Releasing Class Browser..." message appears, and the system _VFP system variable does return to normal afterward.

Anyway, thanks for the info. Anyone else?
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform