J
Jeffrey Walton
Hi All,
Sorry about dropping thish on M.P.D.L.CSharp. There is no M.P.D.L.VC.
So I hope someone has come across the issue...
How does one export a function (not a class) in a managed Dll?
I'm catching a System.EntryPointNotFoundException. dumpbin confirms
that the Dll is not exporting the function.
Does not work:
* declaring method as public: error C2059: syntax error : 'public'
* __declspec( dllexport ): incompatible with /clr and /clrur
* .def file: fatal link error LNK1310: Exports not supported for pure
MSIL image
Thanks,
Jeff
////////////////////////
// Test Header
bool Test( array<byte>^ );
////////////////////////
// Test Implementation
bool Test( array<byte>^ a ) {...}
Sorry about dropping thish on M.P.D.L.CSharp. There is no M.P.D.L.VC.
So I hope someone has come across the issue...
How does one export a function (not a class) in a managed Dll?
I'm catching a System.EntryPointNotFoundException. dumpbin confirms
that the Dll is not exporting the function.
Does not work:
* declaring method as public: error C2059: syntax error : 'public'
* __declspec( dllexport ): incompatible with /clr and /clrur
* .def file: fatal link error LNK1310: Exports not supported for pure
MSIL image
Thanks,
Jeff
////////////////////////
// Test Header
bool Test( array<byte>^ );
////////////////////////
// Test Implementation
bool Test( array<byte>^ a ) {...}