HighTechTalks DotNet Forums  

Varaint ---> COM to .NET

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Varaint ---> COM to .NET in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Duncan Winn
 
Posts: n/a

Default Varaint ---> COM to .NET - 07-21-2003 , 07:53 AM






I am passing back a Variant* from COM to .NET. The pointer actually holds a
void**. i.e.

void ** row_array;
row_array = (void**)new byte[100];

row_array[0] = (void*)70186;
row_array[1] = (void*)"701.86";
row_array[2] = (void*)true;
row_array[2] = (void*)"duncan";

Variant variant_array;
Variant *variant_array_ptr = &variant_array;
variant_array_ptr->byref = row_array;
return *variant_array_ptr;


However I do not know how to retrieve the information in.Net.
At present I have placed the returned Variant into an object but this does
not seem any good?

Any suggestions???



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.