Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error calling dll from an MTS dll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00420904
Message ID:
00421148
Vues:
15
>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
Fil
Voir

Click here to load this message in the networking platform