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