Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
March 22, 2015 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 Richard Cattermole <alphaglosined@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Shared library stdio not |Shared library stdio not |loadded |loaded -- |
March 30, 2015 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow@gmail.com --- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> --- Possibly related to issue 14327? -- |
March 31, 2015 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 Sobirari Muhomori <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=14327 -- |
March 17, 2016 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 wyrex@openmailbox.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wyrex@openmailbox.org --- Comment #2 from wyrex@openmailbox.org --- I get error: privileged instruction at windowsHandleOpen line because there is no console. if (!AttachConsole(ATTACH_PARENT_PROCESS)) { AllocConsole(); } After this there is still no output from writeln, writefln and printf in my app calling DLL and in DLL itself but writefln no longer fails with std.exception.ErrnoException (Bad file descriptor). flush() doesn't do anything but writeln/fln works after you call stdout.setvbuf(1, _IONBF); with any value above 0. printf doesn't work at all. -- |
March 22, 2016 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 --- Comment #3 from toop@mt2015.com --- (In reply to toop from comment #2) > I get error: privileged instruction at windowsHandleOpen line because there is no console. > > if (!AttachConsole(ATTACH_PARENT_PROCESS)) > { > AllocConsole(); > } > > After this there is still no output from writeln, writefln and printf in my app calling DLL and in DLL itself but writefln no longer fails with std.exception.ErrnoException (Bad file descriptor). flush() doesn't do anything but writeln/fln works after you call stdout.setvbuf(1, _IONBF); with any value above 0. printf doesn't work at all. Sorry, it turned out to be my fault. dll_process_attach( hInstance, true ); call was missing in the dll and it caused all sorts of problems. -- |
December 17, 2022 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 17, 2022 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 -- |
June 06, 2023 [Issue 14318] Shared library stdio not loaded | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14318 Richard Cattermole <alphaglosined@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME -- |
Copyright © 1999-2021 by the D Language Foundation