Unable to find an entry point when calling C++ dll in C#

前端 未结 3 2206
感情败类
感情败类 2020-12-15 18:48

I am trying to learn P/Invoke, so I created a simple dll in C++

KingFucs.h:

namespace KingFuncs
{
    class KingFuncs
    {
    public:
        stati         


        
3条回答
  •  爱一瞬间的悲伤
    2020-12-15 19:06

    The entry point name of a dll file is given in .exp file which is found in debug folder where other source files are present. If dumpbin doesn't work you can try this.

提交回复
热议问题