小弟在用win32汇编做窗口程序,里面的帮助菜单想调用chm后缀的文件,怎么实现?请高手们帮帮忙!
------解决方案--------------------------------------------------------
Winexec
------解决方案--------------------------------------------------------
ShellExecute
Winexec 过时了,还是不用的吧
------解决方案--------------------------------------------------------
- Assembly code
szHelp db "hh C:\help.chm",0invoke WinExec,offset szHelp,SW_SHOWNORMAL
------解决方案--------------------------------------------------------
szOperation db "open",0
szFileName db "help.chm",0
invoke ShellExecute, NULL, addr szOperation,addr szFileName, NULL, NULL, SW_SHOWNORMAL
学会查MSDN和google