@Martin_fr:
Thank you kindly for your understanding!
Of course i'd regret when not being able to employ this useful little helper from within the app's code lines, ,complementing the capabilties of the debugger itself
Nevertheless i'd not call it a bug .... because i really don't know whether it's foreseen to be part of the scope of OutputDebugView to support DLLs.
If any opinion here should come up, i'd be happy to provide a self-containing example (containing also a portable notepad++, with all config), where out-of-the-box one could reproduce by click-and-play (unzip, dblclick on the lpi, compile, Run and see the eventlog) without taking care about downloading and adapting internal paths.
Precondition would be only: we agree on a certain root path (eg. D:\_test_nppPlugin), so that no adaptions would be needed to be done.
Size approx. 14,5 MB (due to the size of the NPP host application; portable version; size already reduced by removing most of the localization files)).
But there should be a decision: should we support or not?
Origin of the demo: rdipardo's 'Notepad++ Plugin Template for Delphi & Lazarus':
https://bitbucket.org/rdipardo/delphiplugintemplate/src/default/Readme.textileSome of (imo) strange phaenomenoms of the demo i'd already addressed on the Notepad++'s plugin side, or will do so within the new Wiki from rdipardo.
I needed only a few minutes to make the demo initially work with Lazarus; with Delphi, i'd assume, if should be done fast too.
And this could be interesting too: to verify: does (newest) Delphi support this (OutputDebugView from within a DLL)?
@440bx
Oh yes, the good old DebugView, i remember .... thank you for the hint!
I'm a bit sceptical, looking onto the supported OS versions (no Win 10) as well as the sentence "will captute Win32 OutputDebugString" etc.
I tried with Delphi 7 (32bit) via an old plugin DLL (from 2013) and from within and exe. But i could not see output. I remember ages ago (Windows XP) i had one though.
Sad .. would be nice to be able to use DebugView for this purpose .. but maybe i do something wrong.