When trying to compile a plain C++ program (not visualC++) which uses DispatchMessage, TranslateMessage, and GetMessage in a DoEvents() loop function, I get the following link errors:
Butter2.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4
Butter2.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage@4
Butter2.obj : error LNK2001: unresolved external symbol __imp__GetMessageA@16
Do you know if there is a library I can include to get these to work?
p.s In VisualC++ it works fine.
Butter2.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4
Butter2.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage@4
Butter2.obj : error LNK2001: unresolved external symbol __imp__GetMessageA@16
Do you know if there is a library I can include to get these to work?
p.s In VisualC++ it works fine.