Unresolved externals - Ugh!
-
I am developing a program in eVC and for some reason I am getting these unresolved externals, any ideas? Also, it worked before but suddenly no more. unresolved external symbol "protected: virtual long (__cdecl** __cdecl CWnd::GetSuperWndProcAddr(void))(void *,unsigned int,unsigned int,long)" (?GetSuperWndProcAddr@CWnd@@MAAPAP6AJPAXIIJ@ZXZ) unresolved external symbol "public: virtual void __cdecl CFrameWnd::OnUpdateFrameMenu(void *)" (?OnUpdateFrameMenu@CFrameWnd@@UAAXPAX@Z) unresolved external symbol "public: virtual void * __cdecl CFrameWnd::GetDefaultAccelerator(void)" (?GetDefaultAccelerator@CFrameWnd@@UAAPAXXZ) unresolved external symbol "public: virtual void __cdecl CFrameWnd::DelayUpdateFrameMenu(void *)" (?DelayUpdateFrameMenu@CFrameWnd@@UAAXPAX@Z) unresolved external symbol "public: void * __cdecl CFrameWnd::InsertMenuW(unsigned short const *)" (?InsertMenuW@CFrameWnd@@QAAPAXPBG@Z) unresolved external symbol "public: void * __cdecl CWnd::GetSafeHwnd(void)const " (?GetSafeHwnd@CWnd@@QBAPAXXZ) unresolved external symbol "public: virtual void * __cdecl CDocument::GetDefaultMenu(void)" (?GetDefaultMenu@CDocument@@UAAPAXXZ) unresolved external symbol "public: virtual void * __cdecl CDocument::GetDefaultAccelerator(void)" (?GetDefaultAccelerator@CDocument@@UAAPAXXZ) MIPSDbg/OLEDBCE.exe : fatal error LNK1120: 8 unresolved externals Error executing link.exe. Any help is greatly appreciated. Bret Faller Odyssey Computing, Inc.
-
I am developing a program in eVC and for some reason I am getting these unresolved externals, any ideas? Also, it worked before but suddenly no more. unresolved external symbol "protected: virtual long (__cdecl** __cdecl CWnd::GetSuperWndProcAddr(void))(void *,unsigned int,unsigned int,long)" (?GetSuperWndProcAddr@CWnd@@MAAPAP6AJPAXIIJ@ZXZ) unresolved external symbol "public: virtual void __cdecl CFrameWnd::OnUpdateFrameMenu(void *)" (?OnUpdateFrameMenu@CFrameWnd@@UAAXPAX@Z) unresolved external symbol "public: virtual void * __cdecl CFrameWnd::GetDefaultAccelerator(void)" (?GetDefaultAccelerator@CFrameWnd@@UAAPAXXZ) unresolved external symbol "public: virtual void __cdecl CFrameWnd::DelayUpdateFrameMenu(void *)" (?DelayUpdateFrameMenu@CFrameWnd@@UAAXPAX@Z) unresolved external symbol "public: void * __cdecl CFrameWnd::InsertMenuW(unsigned short const *)" (?InsertMenuW@CFrameWnd@@QAAPAXPBG@Z) unresolved external symbol "public: void * __cdecl CWnd::GetSafeHwnd(void)const " (?GetSafeHwnd@CWnd@@QBAPAXXZ) unresolved external symbol "public: virtual void * __cdecl CDocument::GetDefaultMenu(void)" (?GetDefaultMenu@CDocument@@UAAPAXXZ) unresolved external symbol "public: virtual void * __cdecl CDocument::GetDefaultAccelerator(void)" (?GetDefaultAccelerator@CDocument@@UAAPAXXZ) MIPSDbg/OLEDBCE.exe : fatal error LNK1120: 8 unresolved externals Error executing link.exe. Any help is greatly appreciated. Bret Faller Odyssey Computing, Inc.
-
MFC42.lib is for the desktop. I am using embeddedVC++ which the lib is called mfcce211.lib which is already being linked. Thanks though. Bret Faller Odyssey Computing, Inc.
-
I am developing a program in eVC and for some reason I am getting these unresolved externals, any ideas? Also, it worked before but suddenly no more. unresolved external symbol "protected: virtual long (__cdecl** __cdecl CWnd::GetSuperWndProcAddr(void))(void *,unsigned int,unsigned int,long)" (?GetSuperWndProcAddr@CWnd@@MAAPAP6AJPAXIIJ@ZXZ) unresolved external symbol "public: virtual void __cdecl CFrameWnd::OnUpdateFrameMenu(void *)" (?OnUpdateFrameMenu@CFrameWnd@@UAAXPAX@Z) unresolved external symbol "public: virtual void * __cdecl CFrameWnd::GetDefaultAccelerator(void)" (?GetDefaultAccelerator@CFrameWnd@@UAAPAXXZ) unresolved external symbol "public: virtual void __cdecl CFrameWnd::DelayUpdateFrameMenu(void *)" (?DelayUpdateFrameMenu@CFrameWnd@@UAAXPAX@Z) unresolved external symbol "public: void * __cdecl CFrameWnd::InsertMenuW(unsigned short const *)" (?InsertMenuW@CFrameWnd@@QAAPAXPBG@Z) unresolved external symbol "public: void * __cdecl CWnd::GetSafeHwnd(void)const " (?GetSafeHwnd@CWnd@@QBAPAXXZ) unresolved external symbol "public: virtual void * __cdecl CDocument::GetDefaultMenu(void)" (?GetDefaultMenu@CDocument@@UAAPAXXZ) unresolved external symbol "public: virtual void * __cdecl CDocument::GetDefaultAccelerator(void)" (?GetDefaultAccelerator@CDocument@@UAAPAXXZ) MIPSDbg/OLEDBCE.exe : fatal error LNK1120: 8 unresolved externals Error executing link.exe. Any help is greatly appreciated. Bret Faller Odyssey Computing, Inc.
I have had the same problem. I resolved the linking errors you are experiening by adding the libraries I needed as dependencies on the current project. This allowed it to access there objects that it needed. The trouble I later ran into was the code wanted a link to a pre-defined term that should be there according to the #include and the library. The funny thing was that it was only an error in debug. Sean
-
I have had the same problem. I resolved the linking errors you are experiening by adding the libraries I needed as dependencies on the current project. This allowed it to access there objects that it needed. The trouble I later ran into was the code wanted a link to a pre-defined term that should be there according to the #include and the library. The funny thing was that it was only an error in debug. Sean
Sigh. There is always some truth to measure twice and cut once. Upon looking back, I found that I had included the libraries I need in the release copy but not in the Debug. The problem I have run into is that there is no one else in my office that does C++ so if I don't have someone to ask. Glad this forum was here, my program is working now. Sean