_variant_t to System::Object 
Author Message
 _variant_t to System::Object

How can I convert a _variant_t to a System::Object, or
System::Object to a _variant_t?
Thanks a bunch
mark


Sun, 30 Jan 2005 03:27:12 GMT  
 _variant_t to System::Object
Mark,

Quote:
> How can I convert a _variant_t to a System::Object, or
> System::Object to a _variant_t?

An easy way would be to use the GetObjectForNativeVariant() method of the
System.Runtime.InteropServices.Marshal class.

--
Tomas Restrepo



Sun, 30 Jan 2005 08:33:43 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. System::Object* to System::Array*

2. object vs System.Object

3. System::Object cast in events

4. LPVOID and System::Object

5. Layout of Custom System.Web.UI.UserControl Objects added to parent

6. IPicture object to System::Drawing::Image

7. Use system.reflection for object

8. Object and System

9. IDispatch to System::Object?

10. System.Object Type

11. C# System.Object to Variant (Newbie Question #2)

12. System Object cannot be designed

 

 
Powered by phpBB® Forum Software