>>You're passing strings by reference for parameters DECLAREd as passed by value.
>>
>
>Just tried that (removing the @) and the same thing happens :(
It wasn't my point. You've first properly declare parameters and than properly pass them. Do you've declaration for C++ or VB for this DLL? Can you post it?
--sb--