Hello /*draven*/, in most of these cases the settings for the Calling-Convention, the datatypes or pointer<->value are wrong. Please check the settings in the CallLibraryFunction - dialogbox and compare the generated "Function - Prototype" with your dll - sourcecode.
hope it helps chris
