- 积分
- 29
- 最后登录
- 2015-7-17
- 阅读权限
- 100
- 积分
- 29
- 帖子
- 79
- 精华
- 0
TA的每日心情 | 无聊 2015-7-17 11:29 |
|---|
签到天数: 30 天 连续签到: 1 天 [LV.5]常住居民I 钻石Vip会员
   
- UID
- 29711
- 小七币
- 266
- 贡献
- 0
- 在线时间
- 32 小时
- 注册时间
- 2014-7-16
|
又整了个 用这个方法编译出错
CharacterCodeCnt = 1
CharacterCode[1] = ShellExecuteA 第21号API
注:第X号API用于下次定位添加已知特征
ShellExecute(NULL,BvtmX12,strPath,NULL,NULL,SW_SHOW); //打开文件
ShellExecute(NULL,BvtmX12,Znamest,NULL,NULL,SW_SHOW);
SHSTDAPI_(HINSTANCE) ShellExecuteA(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd);
SHSTDAPI_(HINSTANCE) ShellExecuteW(HWND hwnd, LPCWSTR lpOperation, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd);
#ifdef UNICODE
#define ShellExecute ShellExecuteW
#else
#define ShellExecute ShellExecuteA
#endif // !UNICODE
SHSTDAPI_(HINSTANCE) FindExecutableA(LPCSTR lpFile, LPCSTR lpDirectory, LPSTR lpResult);
SHSTDAPI_(HINSTANCE) FindExecutableW(LPCWSTR lpFile, LPCWSTR lpDirectory, LPWSTR lpResult);
#ifdef UNICODE
#define FindExecutable FindExecutableW
#else
#define FindExecutable FindExecutableA
#endif // !UNICODE
能有偿交我么。我有问题问您就行 |
|