Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VC++ COM
Message
 
 
À
14/09/1999 21:03:21
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00264730
Message ID:
00264815
Vues:
24
Ed,

Thanks, I'll have to give this a look on Thursday I'll be out tomorrow. I couldn't tell from my brief look at the VC project to know if he started with an ATL COM project or not. I built one quick one this afternoon and i could instantiate the object but when I tried to call it's public method I got an unknown name error. Do we have to do something specific to export method names?

>>One of the other guys here created a COM server using VC++, it's registered on my machine. When I try to instantiate it I get the error:
>>
>>OLE Error code 0x80004002. No such interface supported.
>>
>>Any ideas about what kind of interface it's looking for?
>
>Lots of possibilities; my first instinct would be to shut off dual interface support to force VFP to to use IUnknown to explore the interface. What flavor ofVC++ COM implementation was used? I've got more than passing familiarity with ATL implementation...
>
>You can explore the COM component in detail using OLE View; it should show you all the interface definitions if you view the server's embedded TLB details.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform