我用下面一段代码在Delphi里面启动一个用PowerBuilder编写的程序:
ShellExecute(handle,
nil,
pchar('F:\\生产调度\\前台程序\\生产计划与调度.exe'),//应用程序名
nil,
nil,
SW_SHOW
);
结果出现了这样的一个对话框“DBMS is not supported in your current installation”;
而启动其它应用程序时一切正常!
请各位高人们指导???
我在线等待,我可以把剩下的400分奉献出来!
ShellExecute(handle,
nil,
pchar('F:\\生产调度\\前台程序\\生产计划与调度.exe'),//应用程序名
nil,
nil,
SW_SHOW
);
结果出现了这样的一个对话框“DBMS is not supported in your current installation”;
而启动其它应用程序时一切正常!
请各位高人们指导???
我在线等待,我可以把剩下的400分奉献出来!
nil,
pchar('F:\生产调度\前台程序\生产计划与调度.exe'),//应用程序名
nil,
nil,
SW_SHOW
);
关键是你那个程序能运行吗?
ShellExecute(handle,
nil,
pchar('F:\生产调度\前台程序\生产计划与调度.exe'),{应用程序名称}
{'c:\\program files\\tencent\\qq\\qq.exe'}
nil,
nil,
SW_SHOW
);
我想用Powerbuilder编写的程序的EXE文件和其它EXE文件有什么不同吗???
ShellExecute(handle,
'Open',
pchar('F:\生产调度\前台程序\生产计划与调度.exe'),{应用程序名称}
{'c:\\program files\\tencent\\qq\\qq.exe'}
nil,
nil,
SW_SHOWNORMAL
);
nil,
pchar('F:\\生产调度\\前台程序\\生产计划与调度.exe'),//应用程序名
nil,
pchar('F:\\生产调度\\前台程序'),//指明运行程序是的默认路径
SW_SHOW
);