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:
00573045
Vues:
28
You can get return values from the methods of COM SERVER.

Remove the OLEPUBLIC keyword from the class (COM Server) and compile
it as a regular VFP class.

Then you should be able to debug it and find the problem.


Regards
Ajay Mishra

Pls see in MSDN "Creating Automation Server".

eg.

DEFINE CLASS person AS CUSTOM OLEPUBLIC
FirstName = SPACE(30)
LastName = SPACE(45)

PROCEDURE GetName
RETURN THIS.FirstName + " " + THIS.LastName
ENDPROC
ENDDEFINE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform