Go Back   Velocity Reviews > Newsgroups > C++
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply

C++ - Handling VARIANT Arrays

 
Thread Tools Search this Thread
Old 09-08-2003, 09:39 AM   #1
Thilanga
 
Posts: n/a
Default Handling VARIANT Arrays

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.
  Reply With Quote
Old 09-08-2003, 09:56 AM   #2
Alf P. Steinbach
 
Posts: n/a
Default Re: Handling VARIANT Arrays

Off-topic.

  Reply With Quote
Old 09-08-2003, 12:05 PM   #3
Thomas Matthews
 
Posts: n/a
Default Re: Handling VARIANT Arrays

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

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47