DCOM amp builtin data type conversion service


I’m trying to pass in values (characters & numbers) and retrieve results from a remote VB DCOM object which only accepts and returns byte arrays. I have found that I can use win32.COM.dispatch:invoke to call the remote DCOM object but still needs to prove that wM is able to manipulate any input data from other systems and convert them according to the form and data type (byte array) required by the DCOM object. So far I have been unsuccessful in using the built-in pub.string:stringToBytes in conjunction with the win32.COM.dispatch:invoke service. Does anyone have any sample method/codes or references to perform this conversion? I’m using wM IS 6.0.1.