Subject:
|
Spirit.ocx in VC++
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 4 Mar 2000 13:49:01 GMT
|
Viewed:
|
559 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Hi All,
I'm trying to use Spirit.ocx control within a VC++ program.
Polling sensors and motors is quite easy, but I am completely
stuck in uploading the datalog.
The problem is that UploadDatalog method returns a "Variant"
data type, and I don't know how to deal with this data type
in VC++. (To be honest I hardly understand the need for such
a data type, but this is another issue... ;)
Is there anyone that can help me?
Thanks in advance,
Antonio
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: Spirit.ocx in VC++
|
| Looking at the docs it seems the UploadDatalog method returns a VB safe array as a variant if it succeeds. You should be able to find details of handling the type if you search for safe array or VT_ARRAY in the help... The variant is a kludge for (...) (24 years ago, 5-Mar-00, to lugnet.robotics)
|
3 Messages in This Thread: ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Spirit.ocx in VC++ -lego-robotics@crynwr.com (Len Holgate) (5-Mar-00 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Spirit.ocx in VC++ -Antonio Ianiero (5-Mar-00 to lugnet.robotics)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|