About DLL coding error

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
1>d:senthildlldlldll.cpp(27) : error C2664: LoadLibraryW : cannot convert parameter 1 from const char [9] to LPCWSTR<br/>
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br/>
1>d:senthildlldlldll.cpp(51) : error C2664: void (LPTSTR) : cannot convert parameter 1 from const char [38] to LPTSTR<br/>
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br/>
1>Build log was saved at "file://d:SenthilDLLDLLDebugBuildLog.htm"<br/>
1>DLL - 2 error(s), 1 warning(s)

View the full article
 
Back
Top