Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strong typing
Message
From
01/03/2006 16:29:33
Daniel Antich
Informática Industrial
Heredia, Costa Rica
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Strong typing
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01100658
Message ID:
01100658
Views:
50
Hi.
I'm trying to create a COM server to be used by any programming language. My first version worked perfectly well in languages that do not enforce strong typing (Foxpro, PHP, etc), but couldn't run from languages that enforce it (have been trying C#).

I've read that this could be solved by defining the data type of all the return values of each procedure published in the COM server. The problem is that it only works when the procedure returns a basic data type such as Integer or String. Another thing is that I can't find a way to define the data types for the class properties, so I can't access them directly.

The biggest problem I have is with a collection of objects that I defined as a property for my class. To make matters worse, the collection has objects which are instances of a class defined and published in the same COM.

Thanks for any help you can give me.
Next
Reply
Map
View

Click here to load this message in the networking platform