unresolved external symbol

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is the error
IMEWindow error LNK2019: unresolved external symbol _ImmGetContext@4 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z

This is the code
case WM_IME_SETCONTEXT
ime_hwnd = ImmGetDefaultIMEWnd(hWnd)
hIMC = ImmGetContext(hWnd)

I know the Imm32.lib is in the VcInstallDir\platformsdk\lib. And the project is linking to that directory. Yet, it is failing to resolve!? Need hel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

unresolved external symbols 2
Link error 1
CDatabase error 1
trouble passing function pointer 4
Linker error 1
Linking problem when porting C++ to .Net 1
Problems building COM project - VC7 1
Win32 API functions? 2

Back
Top