开发者

tiny c compiler use GetUserName

开发者 https://www.devze.com 2023-01-23 14:50 出处:网络
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 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消