Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working in c++ enviornment.
i want to call C# class library from c++ .exe applecation .
please provide me a small simple code for it in 2003.
Posted

1 solution

you add dll of c# library and in your c++ environment include that reference.
 
Share this answer
 
Comments
Bhasker Singh 8-Nov-12 23:09pm    
when i am incliuding c# library through c++ .net library .I got following errors

LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@$$FYAPAXI@Z)


LNK2001: unresolved external symbol "void __cdecl __CxxCallUnwindDtor(void (__thiscall*)(void *),void *)" (?__CxxCallUnwindDtor@@$$J0YAXP6EXPAX@Z0@Z)

LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@$$FYAXPAX@Z)


LNK2001: unresolved external symbol __purecall

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900