Hi to all,
doing some test with a com object seems that a com routine that I call with dynamicCall returns a QByteArray or a QString.
Looking at examples of call of such routine seems that it returns an array of bytes where every element is a pointer to a string
I did some tests as this:
QByteArray array = obj->dynamicCall("routine(QString)", "value").toByteArray();
Debugging with visual studio and doing some cout ( qDebug() << array.data() ) I can see very strange characters like this "‰*" in both case, using QByteArray and QString.
The routine called with dymanicCall comunicate with a chinese fingerprint reader. Maybe this is the reason I get such strange characters?
Looking at doc and visual basic example the value returned should be an array of bytes -> returned_value[value1,value2,value3, value4..];
and
value1 = value2 = value3 = should points to a string.
How can I get the value of every value without getting these strange characters?
I hope to get help wysota where are you?
Regards
Bookmarks