The DLL is not unmanaged. It is managed. I have source code for both projects the .exe and the .dll. I wrote both of them today. It is the .exe-file which is unmanaged (Win32 Console application (C++). It has to be unmanaged because that's the situation in the real project.). The DLL is a C# class library. What C# lines of code do you put in the DLL C# class library in order to create an entry point?
I checked with $ dumpbin.exe -exports CSTaxCalc.dll It returned: ---------------------------------------------------------- $ dumpbin -exports CSTaxCalc.dll Microsoft (R) COFF/PE Dumper Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file CSTaxCalc.dll
File Type: DLL
Summary
2000 .reloc 2000 .rsrc 2000 .text ---------------------------------------------------------- So there are no entry points in the DLL-file. Don't you have to put in lines of code to get entry points into the DLL? Like e.g.
---------------------------------------------------------- extern "C" __declspec(dllexport) __cdecl int summis(int a,int b); ----------------------------------------------------------
Thanks, Lars |