Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant use COM object methods
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00572485
Message ID:
00573045
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform