I've only written DLLs in Delphi. I'm not sure whether .NET can produce unmanaged native DLLs at all, but if it does, you must make sure:
1. That the DLL function uses the STDCALL calling convention, not CDECL, or any other convention. 2. That the DLL exports the function (I think this is your immediate problem) so that the linked process (in this case R:Base) can see it. -- Larry

