Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling C++ Com out of Fox
Message
 
 
À
29/08/2001 10:43:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00550310
Message ID:
00551695
Vues:
22
Hi!

Just a suggestion...:
CREATEOBJECT() is for non-visual components. Visual objects like ActiveX controls require to be used in VFP by putting them on the form as ActiveX control. Try to pu it and see if your object is in the list of ActuveX controls.

>Hello all
>
>i've compiled i tiny ATL COM object in C++, it's the one from the MSDN Library(SimpleCalculator)
>
>how can i instantiate it in VFP?
>
>i'll getting error:
>"Class Definition SIMPLECALCULATOR.CSIMPLECALC not found"
>when i do : CREATEOBJECT("....")
>
>i registered the DLL succesfully with regsvr32
>
>thx in advance
>
>Christian Ehlscheid
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform