现在定义如下
Public Declare Function CeCreateProcess Lib "rapi.dll"( _
ByVal lpApplicationName As String, _
ByVal lpCommandLine As String, _
lpProcessAttributes as SECURITY_ATTRIBUTES, _
lpThreadAttributes as SECURITY_ATTRIBUTES, _
bInheritHandles as Boolean, _
ByVal dwCreationFlags As Long, _
lpEnvironment As Any, _
ByVal lpCurrentDirectory as String, _
lpStartupInfo as STARTUPINFO, _
lpProcessInformation as PROCESS_INFORMATION _
) as Boolean
难道写错了?总是不能通过编译,这个是VB6的代码!
这个函数执行后,还有什么要注意的地方吗?