MT4 Build 182 - Using Dll's

 
I'm experimenting with DLL's , and am failing miserably!

evey DLL I try to import comes with

MZ' - variable not defined.

The MZ' appears to be a string of "M" "Z" Char(0) Char(39)

It finds the dll ok, just fails to compile.

any help gratefully received

rgds
 
well what exactly are you trying to do?
 
'MZ' is a part of the header information that occurs at the beginning of all windows executables including DLLs.

I suspect you're returning values pointed to by a null pointer in your DLL. At least you've got a wild pointer to happen somehow.

What compiler are you using to construct your DLLs?
Reason: