I have created one static "C" library using VS.
I am using the same library file for another VS console C application its working fine but when I am working with windows forms app it's not working.
Referred so many queries in this forum but didn't get the Help.
Is there any naming conventions to call the static library functions from the Windows forms Managed c++ ?
Getting Errors Like this
error LNK2028: unresolved token (0A000032) "enum STATUS __clrcall xyz(unsigned char)" (?xyz@@$$FYM?AW4STATUS@@E@Z) referenced in function __catch$?button3_Click@Form1@Myapp@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z$0
But I should use the same static library for both console and windows application.