Have you created objPicco as some sort of object (the code above does not show this), ditto for objxml?
Why are you creating objXmlReply as one object type and then setting it to the return value of your dll call immediately afterwards without using it as that object type?
Cheers,
Chris
|