![]() |
|
|
|
#1 |
|
Posts: n/a
|
Hi,
I want to access a VARIANT array returned by a method in VC++, that is supposed to be a long array. Can anybody suggest me a way of access this array and get the values in it. Following is a sample code: m_ctrlCashDispenserActX.GetLastDispenseCounts(); The method GetLastDispenseCounts() returns a VARIANT array. So how can I access those long values given in the array. Is it possible with Safearrays? Give me some sample codes. Thanks in advance. Thilanga. |
|
|
|
#2 |
|
Posts: n/a
|
Off-topic.
|
|
|
|
#3 |
|
Posts: n/a
|
Thilanga wrote:
> Hi, > > I want to access a VARIANT array returned by a method in VC++, that is > supposed to be a long array. > > Can anybody suggest me a way of access this array and get the values > in it. > > Following is a sample code: > > m_ctrlCashDispenserActX.GetLastDispenseCounts(); > > The method GetLastDispenseCounts() returns a VARIANT array. So how can > I access those long values given in the array. > > Is it possible with Safearrays? Give me some sample codes. > > Thanks in advance. > > Thilanga. You need to ask in a Visual C++ newsgroup. The _standard_ C++ langauge, which is discussed in this newsgroup, does not have a keyword "VARIANT". -- Thomas Matthews C++ newsgroup welcome message: http://www.slack.net/~shiva/welcome.txt C++ Faq: http://www.parashift.com/c++-faq-lite C Faq: http://www.eskimo.com/~scs/c-faq/top.html alt.comp.lang.learn.c-c++ faq: http://www.raos.demon.uk/acllc-c++/faq.html Other sites: http://www.josuttis.com -- C++ STL Library book http://www.sgi.com/tech/stl -- Standard Template Library |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Firing Handling Gridview's From Outside Programatically | rao.kamran | General Help Related Topics | 0 | 02-28-2008 01:42 PM |
| VHDL Query - Indexing / Arrays / std_logic_vectors | X_Dreamer | Hardware | 2 | 10-31-2007 06:39 PM |
| VHDL file handling | velocityreviews | Hardware | 1 | 05-07-2007 06:51 PM |
| Handling frames in asp.net | rizwan_087 | Software | 2 | 04-23-2007 06:12 AM |
| Session handling in ASP.Net 2.0 | rammca | Software | 0 | 10-25-2006 07:00 AM |