Most likely..
If it has a IDispatch interface you may also try the OBJECT CALL functions instead.
They use variants.
Announcement
Collapse
No announcement yet.
non-variant com variable passing
Collapse
X
-
Ya that work .. thanks
Yes that work .. and solve another problem I experienced when I extract data from the com object (by applying acode$ to the result).
But .. please enlighten me .. does that mean this com object work in unicode ?
Regards.
Kunhock
Leave a comment:
-
non-variant com variable passing
I am trying to use the new non-variant method for passing variable to com.
I am experienced problem in that, it seems to add a terminating char ZERO.
My application is to pass license key to the com i licensed, but the com then complain of invalid key. And when I read back the key stored, it has one char extra which is char ZERO.
like :
keyStr = "abc"
myCom.LicenseKey = keyStr
print myCom.licenseKey ( read -> "abc<00>")
Any help ?
Regards and Thanks.
KunhockTags: None
Leave a comment: