Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring strong typed return values in methods using ID
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025730
Message ID:
01025899
Views:
14
No it's not possible to do unless you hack a VCX. Why don't you use PRG based classes and spare yourself all the troubles?

>Can somebody tell me if it's possible to declare a strongly typed return value for a method using the foxpro IDE?
>
>Eg
>
>In code you can do this kind of thing ;
>
>
>
>	PROCEDURE SomeMethod as String
>		RETURN "SomeString"
>	ENDPROC
>
>
>However I cannot find a way of telling foxpro via the IDE what the type of the return value is.
>
>I'm having to do this as I'm building a COM component for use with .NET.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform