문제

In what .dll file are the stdio functions implemented? I want to test my stack-language's FFI with basic c functions, but I cannot seem to find the correct .dll to GetModuleHandle, to then get function addresses with GetProcAddress...

도움이 되었습니까?

해결책

If you are creating Windows apps, and want a complete set of libraries for accessing these functions, download the Windows SDK HERE

I always keep a copy on my dev machine. There are all kinds of things that come up with Windows programming that just require having access to Microsoft's highly monopolized interfaces to its overly burdensome OS :)

The Microsoft redistributable libraries: msvcr80.dll. msvcr100.dll et al. contain the functionality you are asking about, and as the name implies, are redistributable.

다른 팁

You might want to use the system dll msvcrt.dll which is installed in the system32 directory and is part of the Windows system so you won't need to worry about redistribution - it's just there. msvcrt.dll is the DLL that MinGW uses as it's base runtime.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top