- Yuri Denshchik
- PowerBuilder
- Monday, 3 July 2017 07:28 PM UTC
I experienced a problem when calling CreateProcess from 64-bit compiled PB2017 app. On 32-bit it works just fine.
External function defined as:
function boolean CreateProcess(ulong applicationname, string commandline, ulong processattributes, ulong threadattributes, boolean inherithandles, ulong creationflags, ulong environment, string currentdirectory, ref os_startupinfo startupinf, ref os_process_information processinformation) library "kernel32.dll" alias for "CreateProcessA;ansi"
os_startupinfo structure defined as:
unsignedlong, string, string, string, unsignedlong, unsignedlong, unsignedlong, unsignedlong, unsignedlong, unsignedlong, unsignedlong, unsignedlong,unsignedinteger, unsignedinteger , long, unsignedlong, unsignedlong
os_process_information structure defined as:
unsignedlong, unsignedlong, unsignedlong, unsignedlong
Please advise,
Thank you,
Yuri
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.