unresolved external symbol _wWinMain@16
-
Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.
-
Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.
Raghavendra Pise wrote:
- Link-> Output->wWinMainCRTStartup.
You might wanted to say Link-->Output-->Entry point symbol-->wWinMainCRTStartup
Prasad Notifier using ATL | Operator new[],delete[][^]
-
Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.
I think you asked this question yesterday?did you get your answer
WhiteSky
-
Raghavendra Pise wrote:
- Link-> Output->wWinMainCRTStartup.
You might wanted to say Link-->Output-->Entry point symbol-->wWinMainCRTStartup
Prasad Notifier using ATL | Operator new[],delete[][^]
Hello Prasad, Yes, I am using this setting in my project, Link-->Output-->Entry point symbol-->wWinMainCRTStartup, but getting above errors. I am not sure whether should i use this entry point or some other.If u know plz tell me Raghavendra Pise
-
I think you asked this question yesterday?did you get your answer
WhiteSky
Ya yesterday i asked same question but didn't get solution, I used thse settings. Link-->Output-->Entry point symbol-->wWinMainCRTStartup, but getting above errors. I am not sure whether should i use this entry point(wWinMainCRTStartup) or some other.If u know plz tell me
-
Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.
Why you set 'entry point for UNICODE project' in a non-unicode project ?? We need not explicitly set any entry point sympol for Non-Unicode projects. Or If u intend make ur project UNICODE supportable then plz add 'UNICODE,_UNICODE' in c/c++ Tab->Preproccessor
-
Why you set 'entry point for UNICODE project' in a non-unicode project ?? We need not explicitly set any entry point sympol for Non-Unicode projects. Or If u intend make ur project UNICODE supportable then plz add 'UNICODE,_UNICODE' in c/c++ Tab->Preproccessor
Thanks for ur feedback. If i am remove entry point for my project, still i a getting same errors. Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I think i should use some header file to resolve this problem.I already used header file. Is there any header file, i have to include or any setting i want to do?
-
Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.
From MSDN: If you are using Unicode and MFC, you will get an unresolved external on _WinMain@16 if you don’t create an entrypoint to wWinMainCRTStartup. Use the /ENTRY option or type this value in the Project Settings dialog box. (To find this option in the development environment, click Settings on the Project menu, then click the Link tab, and click Output in the Category box.) See Unicode Programming Summary. See the following Knowledge Base articles located in the Online Information System for more information. An easy way to reach an article is to copy a "Q" number above, open the Search dialog box from the Help menu and select the Query tab, then paste the number into the first text box and press ENTER. Q125750 "PRB: Error LNK2001: '_WinMain@16': Unresolved External Symbol" Q131204 "PRB: Wrong Project Selection Causes LNK2001 on _WinMain@16" Q100639 "Unicode Support in the Microsoft Foundation Class Library"
Truth is the subjection of reality to an individuals perception
-
From MSDN: If you are using Unicode and MFC, you will get an unresolved external on _WinMain@16 if you don’t create an entrypoint to wWinMainCRTStartup. Use the /ENTRY option or type this value in the Project Settings dialog box. (To find this option in the development environment, click Settings on the Project menu, then click the Link tab, and click Output in the Category box.) See Unicode Programming Summary. See the following Knowledge Base articles located in the Online Information System for more information. An easy way to reach an article is to copy a "Q" number above, open the Search dialog box from the Help menu and select the Query tab, then paste the number into the first text box and press ENTER. Q125750 "PRB: Error LNK2001: '_WinMain@16': Unresolved External Symbol" Q131204 "PRB: Wrong Project Selection Causes LNK2001 on _WinMain@16" Q100639 "Unicode Support in the Microsoft Foundation Class Library"
Truth is the subjection of reality to an individuals perception
Hi, Thnaks for your feedback. Sorry to say this, we are using DLL(BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)) in our project not main or Winmain. May i know Which entry-point want to use in my project?
-
Ya yesterday i asked same question but didn't get solution, I used thse settings. Link-->Output-->Entry point symbol-->wWinMainCRTStartup, but getting above errors. I am not sure whether should i use this entry point(wWinMainCRTStartup) or some other.If u know plz tell me