Information générale
Catégorie:
COM/DCOM et OLE Automation
>I have a dll registered in MTS to work with ASP pages. We wrote a C++ dll to do some communications through a dedicated line to one of our business partners. I can declare and use the dll just fine from the class def in VFP or even when compiled into a COM dll, but as soon as I add the COM dll to MTS, it stops working. It reports "Error in declare ..." but it actually reports it on the line that calls the dll function.
>
>I am using VFP6 sp4 on a win2k pro dev machine. Any ideas?
>
>TIA
>Bill
MTS has several requirements for DLLS that you need to take into account. One of them is that the DLL thread model needs to be apartment. You can read about these requirements on the msdn under platform sdk.
Précédent
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