I am referencing a DLL in my C# project as follows:
[DllImport(\"FeeCalculation.dll\", CallingConvention = CallingConvention.StdCall, CharSet = CharSe
To answer your Edit, you need to create a struct, and then use the StructLayoutAttribute on the fields in order to make the byte order and padding the same as the original dll did.