Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cant use COM object methods
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00572485
Message ID:
00572488
Vues:
25
Hi!

Can you give here a sample of how you create COM object instance and try to call its method? COM object methd code (simple sample)?

>I´ve created a COM Server that only contains a class named Class1.
>I´ve registered the DLL using regsvr32 successfully.
>This class has a couple of methods, that return string variables.
>Almost I can create an object of this class, when I try to call this methods, I get messagebox saying "Syntax error".I know parameters are right.
>
>Why I get this error message?
>
>I´ve tried using the class adding it to the project, and it does work.
>Isn´t posible to return variables from COM objects?
>Must I get this values from properties?
>
>Thanks for your help,
>Ibai
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform