Active Forums => Programs => Topic started by: SpriggsySpriggs on May 11, 2021, 04:39:09 pm
Title: Simple CreateProcess Win32 MSDN Example
Post by: SpriggsySpriggs on May 11, 2021, 04:39:09 pm
Based on the MSDN page (https://docs.microsoft.com/en-us/windows/win32/procthread/creating-processes) for Creating Processes, here is a super simple way to demonstrate starting another application from QB64 using the Win32 API function set. The below code uses all functions used in the MSDN example. It is designed to be compiled as a console application and ran from CMD or PowerShell. You will pass it the name or full path of another executable to run as the argument.