DLL not exporting functions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ElArZ
    New Member
    • Feb 2008
    • 3

    DLL not exporting functions

    Hi,

    I have a C code and i want to make a DLL.

    I created a default Win32 DLL project with VS2003 and put the code in the cpp file and added the header file to the solution.

    I also exported the functions that i need to use in C# as so:
    extern "C" __declspec(dlle xport) void __stdcall test();
    and then compiled the project.

    I tried calling it from my C# code but it didn't work.

    The problem is that when i use dumpbin/PE Explorer/Dependency Checker on the DLL, i doesn't show any exported functions.

    Any help would be greatly appreciated, thanks.
Working...