By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,771 Members | 1,685 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,771 IT Pros & Developers. It's quick & easy.

unresolved external symbol

P: n/a
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

Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
try addin

#pragma comment (lib, "Imm32.lib"

somewhere after the #includes...
Nov 17 '05 #2

P: n/a
Thank you, NeoGeo!
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.