4 Jun
2024
4 Jun
'24
11:39 p.m.
https://bugs.winehq.org/show_bug.cgi?id=53960 --- Comment #13 from cqwrteur <euloanty(a)live.com> --- Example of code break //a.dll dynamically linked with ucrt __declspec(dllexport) extern "C" void export_fp(FILE* fp) noexcept { fprintf(fp, "%s", "hello world"); //crash } //main.exe uses function from a.dll //main.exe compiled with msvc __declspec(dllimport) extern "C" void export_fp(FILE* fp) noexcept; int main() { FILE* fp = fopen("a.txt", "wb"); export_fp(fp); fclose(fp); } -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.