I’m using libffi to load dlls at runtime on multiple platforms. The correct system paths are automatically searched, I just need to know what the name of the system dll is on the Microsoft platform housing the standard c library functions.
I’m using libffi to load dlls at runtime on multiple platforms. The correct system
Share
Windows ships with a C runtime in msvcrt.dll. If you are writing a self-contained program and want to call functions from the C standard library, then perhaps this is what you need.
If your program uses libraries that are linked against other C runtimes, this will be no good to you. But in that case, you don’t need to do anything special since your compiler/linker will make the C standard library available.
If you want to call functions in a C runtime used by one of the DLLs you load, that’s a problem. The runtime could be linked statically, or it could be one of many different dynamic runtimes.