RSS Forums RSS
Please support our C# advertiser: Programming Forums

convert from 'ref double[]' to 'ref object'

Join Date: Nov 2005
Posts: 10
Reputation: wakeup is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
wakeup wakeup is offline Offline
Newbie Poster

Re: convert from 'ref double[]' to 'ref object'

  #3  
Apr 10th, 2006
Originally Posted by alc6379
Maybe it's because I'm just learning this stuff, but what exactly are you trying to accomplish?

I want pass a double array from c# to a c++ dll.

Originally Posted by alc6379
If we're always going to have a value of type double, why not just cast the object to double, have an array, and add it to that array? Will this array have other values later on?

I will be always array of doubles, but passing to c++ dll it have to be a VARIANT* in c++.
When and how can I do cast in c#?
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:50 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC