I saw the previous posting relating to LNK2019, but the solutions did not work for me.
I am migrating a eVC project to VS 2005. I have two LNK2019 errors.
Here is the description of the first error:
description: error LNK2019: unresolved external symbol wWinMain referenced in function
wWinMainCRTStartup
filename: corelibc.lib
I have the linker entry point set to: wWinMainCRTStartup
subsystem set to: Windows(/SUBSYSTEM:WINDOWS)
The second error is different.
description: error LNK2019: unresolved external symbol SHRecognizeGesture referenced in
function "protected: void __cdecl CGestureEdit::OnLButtonDown(unsigned
int,class CPoint)"
( OnLButtonDown@CGestureEdit@@IAAXIVCPoint@@@Z)
filename: GestureEdit.obj
I can't give too much detail for the second error, since I am still learning exactly what this application does. I am new at this company and am taking over their existing projects.
Any help would be greatly appreciated.
Thanks.

Error LNK2019 Unresolved External Symbol wWinMainCRTStartup
Steve Olson
For this kinda issue, refer to this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2097225&SiteID=1&mode=1
TomWardill
Mark J.
The first error means you don't have a wWinMain function. As you may know, this is the Unicode entry point for a windows program, so that means that there must be a function in the program with the prototype of,
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow);
p_floyd
i have the same problem when migrating the code from vC++4.0 to vs2005,
1>Linking...
1>SelectPartDlg.obj : error LNK2001: unresolved external symbol SHSipPreference
1>FileOpenDlg.obj : error LNK2019: unresolved external symbol SHSipPreference referenced in function "protected: void __cdecl CFileOpenDlg::SoftwareKeyboard(enum tagSIPSTATE)" ( SoftwareKeyboard@CFileOpenDlg@@IAAXW4tagSIPSTATE@@@Z)
1>InputSerNumber.obj : error LNK2001: unresolved external symbol SHSipPreference
1>RecordInfo.obj : error LNK2001: unresolved external symbol SHSipPreference
1>RTAView.obj : error LNK2001: unresolved external symbol SHSipPreference
1>RTA.obj : error LNK2019: unresolved external symbol SHInitExtraControls referenced in function "public: virtual int __cdecl CRTAApp::InitInstance(void)" ( InitInstance@CRTAApp@@UAAHXZ)
1>RTAView.obj : error LNK2019: unresolved external symbol SHChangeNotifyDeregister referenced in function "public: virtual __cdecl CRTAView::~CRTAView(void)" ( 1CRTAView@@UAA@XZ)
1>RTAView.obj : error LNK2019: unresolved external symbol SHChangeNotifyRegister referenced in function "public: virtual void __cdecl CRTAView::OnInitialUpdate(void)" ( OnInitialUpdate@CRTAView@@UAAXXZ)
1>corelibc.lib(wwinmain.obj) : error LNK2019: unresolved external symbol wWinMain referenced in function wWinMainCRTStartup
1>ARMV4Dbg/RealWave_d.exe : fatal error LNK1120: 5 unresolved externals
1>Build log was saved at "file://e:\rta_2005\RTA_20070104_v2.7.12q\Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug\BuildLog.htm"
SHSipPreference is defined in its heaher file,but the lib cannot found by the vs2005, i don't know why, i am searching the reason.
the wWinMainCRTStartup i changed it to WinMainCRTStartup and passed the link step, but i am now have some running problems. any one will give a hand
Wayne.C
mwmcdonald
Could you please explained you idea in a more detailed way I haven't gotten your hint.
Joel Hensley