dllexport - Get functions mangled name from C++ DLL -


i have function declared __declspec(dllexport) void takeinput();

the dll has function exported in c#.i getting failure while executing function call function entry point not found in c# code.

googling shows issue correct entry point not provided.i need provide mangled name function.

so know how can mangled name of function?

in order avoid name mangling, use extern "c"

extern "c" __declspec(dllexport) void takeinput(); 

more reading: using extern specify linkage


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -