Information générale
Catégorie:
COM/DCOM et OLE Automation
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement