【发布时间】:2010-04-25 14:22:45
【问题描述】:
我写的
function CreateProcess(
lpApplicationName:String;
lpCommandLine:String;
lpProcessAttributes:IntPtr;
lpThreadAttributes:IntPtr;
bInheritHandles:Boolean;
dwCreationFlags:Int32;
lpEnvironment:IntPtr;
lpCurrentDirectory:IntPtr;
lpStartupInfo:STARTUPINFO;
lpProcessInformation:ProcessInfo):Boolean;
external 'kernel32.dll';
但 VStudio 说“分号”预期 - 在外部和“预期结束”在 'kernel32.dll' 之后; 你能帮我加载和调用一个函数吗?
【问题讨论】:
标签: delphi dll createprocess delphi-prism oxygene