在 2022-10-08 21:15, Pali Rohár 写道:

Is not _CRTIMP automatically marking variable with dllimport and
instruct compiler to convert variable name to __imp_name* pointer?

Not always, at least. When building the CRT itself, where `_CRTBLD` is defined, `_CRTIMP` is defined as empty. I am unclear about the reason though, but that's it.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to