CreateProcessWithLogonW output fix (VB.NET)

I have a sample using CreateProcessWithLogonW (attached).

The problems I am having are:

1. it hangs when trying to read output

2. I need to be able to capture both stderr and stdout - and it seems that stderr comes on the stdout handle?

3. it needs to be able to hide the application it starts (don't know if this works - needs to be verified)

4. I need to be able to read output from an x86 process when this starter process is running as x64 (this probably works - needs to be verified)

I am also attaching a project that writes to both stdout and stderr that could be used for testing.

I guess there are something wrong with the pinvoke definitions.

Habilidades: .NET, Microsoft, Arquitetura de software, Visual Basic, Área de trabalho do Windows

Veja mais: createprocesswithlogonw net sample, createprocesswithlogonw stdout, net createprocesswithlogonw, x86, X64, x64 hide process, process hide x64, hide x86 process, stdout, hide application, net hide, x64 process hide, output using, guess application, net project sample, net sample project, sample project net, net process hide, sample net, net sample, visual basic net hide process, visual basic hide, vb sample project, vb net process hide, vb net hide process

Acerca do Empregador:
( 147 comentários ) Sollentuna, Sweden

ID do Projeto: #3055801

Concedido a:


See private message.

$51 USD em 7 dias
(71 Comentários)

3 freelancers are bidding on average $45 for this job


See private message.

$51 USD in 7 dias
(3 Comentários)

See private message.

$34 USD in 7 dias
(1 Comentário)