Displaying 1 result from an estimated 1 matches for "crt_init".
Did you mean:
cr4_init
2013 Dec 08
1
[LLVMdev] Win32: Crash in DLL created by llvm that calls into the "putchar" function
...initialize the CRT in a DLL created from llvm.
>From what I've learned, the system works as follows:
* The entry point for DLLs in __DllMainCRTStartup at 12.
* The CRT libraries provide an implementation for this function in libcmt.lib.
* That implementation initializes the CRT (afaik using CRT_INIT) and
calls DllMain.
The question that remains is how to dllexport a function that is
defined in a separate library?
Greetings,
Daniel Albuschat