我现在有一个程序,需要外界给我一个参数,然后程序根据这个参数来选择不同的运行方式。我用的是VC编写的这个程序!!这个调用的方式,采用的是快捷方式的形式,请问怎么样来通过快捷方式把这个参数传进来??很感激不尽,对各位朋友的回答!!!
解决方案 »
- 咨询个问题,如何用VC把写字板的rtf转换为记事本的TXT,着急啊,捣鼓两天了!
- VS2005开发CLR项目(Windows窗体应用程序)
- 图形控件上的波形图显示区域 不能随着窗口的最大化而变大
- 大家给点建议,来者有分(分不够可加,自己只能给到100),只希望得到大家的帮助.....T_T
- 有偿求助
- 本人买了8139网卡,是假的。驱动丢失,现在找不到驱动,有什么办法可以识别这是什么网卡。
- 按下按钮顺序显示一个文本框
- 我用atl写了一个方法,如何在vbscrip下调用?
- 学MFC要注意什么,新手求指导~!
- 请问Dll和exe之间互相访问内存的问题
- Linking error: cannot open file "nafxcwd.lib"
- 关于调用DLL中的函数!!!!!!!
"D:\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE" readme.txt
就是vc读取与快捷方式同目录的文件readme.txt
/*--------------------------------------------------------------*\ * * InstallShield Example Script * * Demonstrates the LaunchApp function. * * LaunchApp is called to execute an application. * * Note: Before running this script, set the preprocessor * constants so that they reference the fully-qualified * names of the Windows Notepad executable and a valid * text file on the target system. *\*--------------------------------------------------------------*/#define APPLICATION WINDIR^"Notepad.exe"#define CMD_LINE WINDIR^"Readme.txt"#include "ifx.h"program // Launch the Windows Notepad application to edit // the Windows Readme.txt file. if (LaunchApp (APPLICATION, CMD_LINE) < 0) then MessageBox ("Unable to launch "+APPLICATION+".", SEVERE); endif;endprogram
在你启动之前用HOOK,