Home > database >  Call API CREATEPROCESS PB
Call API CREATEPROCESS PB

Time:09-22

Need to be written in PB opened a c # CONSOLE application, but can not be displayed, and best to obtain the output value, the first trouble now
CREATEPROCESS under WINXP can, but not a under the Windows 7, I should have closed the default UAC system, GETLASTERROR returns value is 2,
Under the same application in XP effectively, prompt,

CodePudding user response:

Permission problems?
Windows 7 security improved.

CodePudding user response:

Can I use c # directly invoke the CREATEPROCESS, normal creation process, the same machine don't need to increase the authorization code, etc.,

CodePudding user response:

2 - the system cannot find the specified file,

CodePudding user response:

Path is selected through a window in the WINDOWS files, and I also had tried specified path through oneself, should not be the path

CodePudding user response:

Done direction due to make a mistake, it should not be WINDOWS 7, but after PB11 version variable characters passed calls the WINDOWS API,
I use CreateProcessA, into CreateProcessW is better,
  • Related