大智慧股票程序放在了internet文件夹中,我自己写的程序 run.exe 是在大智慧程序的上一层, 我使用winexec('internet\hypmain.exe',WS_ACTIVECAPTION); 但运行时出现错误提示""但我将我自己写的程序放在internet 文件夹中,然后使用winexec('hypmain.exe',WS_ACTIVECAPTION); 然后大智慧程序就执行正常,, 请问如何解决在上一层运行程序出错的问题.. 谢谢
大智慧股票程序放在了internet文件夹中,我自己写的程序 run.exe 是在大智慧程序的上一层, 我使用winexec('internet\hypmain.exe',WS_ACTIVECAPTION); 但运行时出现错误提示""但我将我自己写的程序放在internet 文件夹中,然后使用winexec('hypmain.exe',WS_ACTIVECAPTION); 然后大智慧程序就执行正常,, 请问如何解决在上一层运行程序出错的问题.. 谢谢
http://download.csdn.net/user/rslxy
SetCurrentDirectory('c:\internet');
再用
winexec('hypmain.exe',WS_ACTIVECAPTION);