Search found 6 matches

by flux
Wed Jan 04, 2017 12:32 am
Forum: Coding Questions
Topic: Psloglist (Sysinternals) disclaimer is shown in the console
Replies: 2
Views: 1200

Re: Psloglist (Sysinternals) disclaimer is shown in the cons

infratec wrote:Hi,

maybe the disclaimer is written to stderr and not to stdout.
Try to read in ReadProgramError() too.

Bernd

Hey Bernd,
thx for the tip, it solved the problem!
flux
by flux
Tue Jan 03, 2017 6:22 pm
Forum: Coding Questions
Topic: Psloglist (Sysinternals) disclaimer is shown in the console
Replies: 2
Views: 1200

Psloglist (Sysinternals) disclaimer is shown in the console

Hi Forum,
I am currently working on a program wrapping around some windows tools. The only point that is not working as intended is the integration of psloglist output.
The expected behavior is that the output of the command psloglist.exe -n 10 SYSTEM should be written in a file COMPLETELY , but ...
by flux
Mon May 09, 2016 4:37 pm
Forum: Coding Questions
Topic: Monitoring a directory for new files being added
Replies: 56
Views: 38202

Re: Monitoring a directory for new files being added

Threads aren't needed without the Window and can be removed
Ah, the thread stuff was a little confusing. It works now.

What exactly would be the advantage of using a "real" service instead of starting the scanner and let it run in the background?
The plan was to use it in a bigger context and ...
by flux
Mon May 09, 2016 3:35 pm
Forum: Coding Questions
Topic: Monitoring a directory for new files being added
Replies: 56
Views: 38202

Re: Monitoring a directory for new files being added

OK, another question regarding this one:
My plan is to run this in the background and to write the names of new files into a log file. The only problem I see is the "Main Loop Event" Block which relies on the window events. I don't see a way to rewrite the main loop to my needs (background ...
by flux
Mon May 09, 2016 1:52 pm
Forum: Coding Questions
Topic: Monitoring a directory for new files being added
Replies: 56
Views: 38202

Re: Monitoring a directory for new files being added

That works. Thx JHPJHP
by flux
Mon May 09, 2016 11:29 am
Forum: Coding Questions
Topic: Monitoring a directory for new files being added
Replies: 56
Views: 38202

Re: Monitoring a directory for new files being added

I know this one is pretty old but the functionality is still cool :D
The code runs under Win7SP1 (german) but somehow the filename translation broken.
I can see that the procedure translates from Unicode to Ansi but in my case it only returns Chinese looking characters.
Can someone give me a hint ...