To follow on....the NOMANGLE & CCONV symbols are not familiar to me........from what I can guess they are there to stop C++ function mangling....is this correct?
If so, then your compiler will have a specific method to do this...
With MSVC++ I would do the following...
That would normally allow me to import without problems....but then I cant guarantee as every dll I have ever written has been in C++
#define DllImport extern "C" __declspec (dllimport)
DllImport int MyReadFile(int *lparray,