20.07.2013 5:37, [email protected] ?????:
I'm new to TCC, using version 0.9.26 under Windows XP Home 32-bit SP3.
I would like to use the text on the Windows clipboard, so I wrote a
small test program that #includes <windows.h>, and calls
OpenClipboard(NULL), GetClipboardData(CF_TEXT), and CloseClipboard(),
in that order. I ran it with the command line "tcc.exe test.c", and
got the following error messages:
tcc: error: undefined symbol '_OpenClipboard@4'
tcc: error: undefined symbol '_GetClipboardData@4'
tcc: error: undefined symbol '_CloseClipboard@0'
I believe these error messages are generated by TCC's linker. The
clipboard functions are in user32.dll.
Please tell me what these messages mean, especially the "@n" parts,
and how I can fix the problem(s).
Thank you very much for your help.
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Hi!
I think, you can compile a program with linked user32.dll. Before
compiling, make description file with utility from destributive (see
readme.txt for windows and you get more information). I never get that
trouble. Sory for my english.
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel