tiny c compiler use GetUserName
I use the Tiny C Compiler and I want to use GetUserName
from
the WinAPI. My problem is, I don't know how to link to advapi32.dll
I get an error 开发者_如何学编程from tcc:
undefined symbol '_GetUserNameA@8'
I explained how to create a .def file from a dll and how to compile and link with tcc here: Tiny C Compiler (TCC) and winsock?
精彩评论