This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
如题:
目前可以成功的在 DOS窗口,使用hex2000.exe,将out文件转换为hex文件。命令如下:
hex2000 -romwidth 16 -memwidth 16 -i -o LiuShuiLed.hex LiuShuiLed.out
现在的问题是:
如何在VisualStudio 或 VC++ 中,使用 ShellExecuteA 函数 或者其他方式,
通过使用hex2000.exe,将out文件转换为hex文件。
使用下面的方法,可以执行 hex2000 .exe 文件,但是,没有得到需要的hex文件。
ShellExecuteA( NULL, "open", "..\\HEXTOOUT\\hex2000 .exe",
"-romwidth 16 -memwidth 16 -i -o LiuShuiLed.hex LiuShuiLed.out",
NULL, SW_SHOWNORMAL
);
请TI的专家支持!