| | Spirit.ocx in VC++ Antonio Ianiero
|
| | 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 (...) (25 years ago, 4-Mar-00, to lugnet.robotics)
|
| | |
| | | | Re: Spirit.ocx in VC++ Len Holgate
|
| | | | 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 (...) (25 years ago, 5-Mar-00, to lugnet.robotics)
|
| | | | |
| | | | | | Re: Spirit.ocx in VC++ Antonio Ianiero
|
| | | | Hi Len, (...) Exactly. (...) Actually, I've been digging into the MSDN for quite a long time without any significant result. :( It seems that the UploadDatalog method does not work as described in the Lego docs. Since spirit.ocx was thought for VB, (...) (25 years ago, 5-Mar-00, to lugnet.robotics)
|
| | | | |