Problem using CreateProcess

BlitzMax Forums/BlitzMax Beginners Area/Problem using CreateProcess

This should do the trick,
Function CreateProcess (  lpApplicationName$z, lpCommandLine$z, ..
                           lpProcessAttributes, lpThreadAttributes, ..
						   bInheritHandles, dwCreationFlags, lpEnvironment, ..
						   lpCurrentDirectory$z, lpStartupInfo:Byte Ptr, ..
						   lpProcessInformation:Byte Ptr ) "WIN32" = "CreateProcessA@40"

"CreateProcessA@40"