compiling error

hi, i tried to compile a program, but i get this error:

Linking...
console.obj : error LNK2001: unresolved external symbol __imp__IsClipboardFormatAvailable@4
console.obj : error LNK2001: unresolved external symbol __imp__OpenClipboard@4
console.obj : error LNK2001: unresolved external symbol __imp__GetClipboardData@4
console.obj : error LNK2001: unresolved external symbol __imp__CloseClipboard@0
main.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16
../../bin_win32/ac_client.exe : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://c:\Program Files\AssaultCube\source\vcpp\Release\BuildLog.htm"
cube - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

what can i do?
i have reed some files and they say that i need a libery, wich libery???

tank you!

wouter
For the clipboard functions:
http://msdn.microsoft.com/en-us/library/ms674556(VS.85).aspx

for the MessageBox function
http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx


using msdn:
Search/find the function you want. A help page on that function will be displayed.
Scroll down the page - and you will see a section which explains
which header files to include, which libraries to link with, and which Windows Operating system versions support that function.
Last edited on
You need to link to user32.lib. The stuff you're missing is in user32.dll.
Topic archived. No new replies allowed.