B
Bruce
I need to write a DLL for a Domino server. It is currently not working
and I believe the problem might be related to how the DLL was compiled.
I did a Dumpbin of a sample DLL that came from Notes.
The dump looks like this:
ordinal hint RVA name
1 0 00001014 FilterInit
2 1 00001005 HttpFilterProc
3 2 0000100F TerminateFilter
When I do a DumpBin of my DLL, it looks like this:
ordinal hint RVA name
1 0 00001000 FilterInit = _FilterInit
2 1 00001070 HttpFilterProc = _HttpFilterProc
3 2 00001050 TerminateFilter = _TerminateFilter
Notice the equals and the underscore character.
I am using VC8.
I am declaring the function with extern "C" __declspec(dllexport)
MyFunction()
I tried a DEF file as suggested in a post I found on a search but that
did not work.
How do I compile the DLL without the = _FunctionName ?
and I believe the problem might be related to how the DLL was compiled.
I did a Dumpbin of a sample DLL that came from Notes.
The dump looks like this:
ordinal hint RVA name
1 0 00001014 FilterInit
2 1 00001005 HttpFilterProc
3 2 0000100F TerminateFilter
When I do a DumpBin of my DLL, it looks like this:
ordinal hint RVA name
1 0 00001000 FilterInit = _FilterInit
2 1 00001070 HttpFilterProc = _HttpFilterProc
3 2 00001050 TerminateFilter = _TerminateFilter
Notice the equals and the underscore character.
I am using VC8.
I am declaring the function with extern "C" __declspec(dllexport)
MyFunction()
I tried a DEF file as suggested in a post I found on a search but that
did not work.
How do I compile the DLL without the = _FunctionName ?