win64 DLL stdout printing after main process completes
Adam D. Ruppe
destructionator at gmail.com
Mon Apr 19 18:32:15 UTC 2021
On Monday, 19 April 2021 at 18:05:46 UTC, cc wrote:
> This seems to work if I flush after every printf or write in
> both main and the dll. I was under the impression they were
> supposed to share the same IO buffers though, is this not the
> case?
Very little in D dlls right now are shared, so there's duplicate
buffers and functions in the dll do not necessarily affect the
exe's copies. It basically works in most cases but this can cause
some quirks and bugs in some situations.
More information about the Digitalmars-d-learn
mailing list