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.
Kunhock
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.
Kunhock
Comment