Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All
Im developping a COM Object to be used from NAVISION. I succeed to create it and call it from the code unit of Navision. but im able just to use the simple type variables like string,int bool, float...

I want to know haw can I define a COM Object that return complexe data object as return when we call the methodes from it.

Thx for help.
Posted

1 solution

Ben.Regaya.Hedi wrote:
I want to know how can I define a COM Object that return complexe data object


First define a COM structure to be your complex type that contains simple types (search around for IDL struct COM for examples) then declare this struct as an [out] parameter in an interface method if you want it returned.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900