|
|
|
[求助]哪位大哥解释下MASM宏里的这句什么意思??
Syntax: OPATTR expression .TYPE expression Description: The OPATTR operator returns a one-word constant defining the mode and scope of expression. If <expression> is not valid or is forward- referenced, OPATTR returns a 0. If <expression> is valid, a nonrelocatable word is returned. The .TYPE operator returns only the low byte (bits 0-7) of the OPATTR operator and is included for compatibility with previous versions of the assembler. Bit Set If Position <expression> 0 References a code label 1 Is a memory expression or has a relocatable data label 2 Is an immediate expression 3 Uses direct memory addressing 4 Is a register expression 5 References no undefined symbols and is without error 6 Is an SS-relative memory expression 7 References an external label 8-10 Language type: Bits Language 000 No language type 001 C 010 SYSCALL 011 STDCALL 100 Pascal 101 FORTRAN 110 Basic All other bits (11-15) are undefined and reserved for future expansion. |
|
|
|
[讨论]关于编程版块的现状与发展前景的讨论
支持两种想法 |
|
[求助]关于C语言处理成字符串的问题
哈,解析的办法由好多种,其中一种是利用windows提供的MSHTML Reference接口。 利用一堆com接口来遍历出来。这个你查msdn,里面有详细的介绍。 |
|
[求助]谁知道DriverStudio在哪可以下载到?
联系我吧,qq:391136515. 我给你传一份。 |
|
[原创]多桌面切换程序-通杀所有网管程序
好,帮顶。。。 |
|
[通告]看雪论坛『技术小组』开始报名组建(新增编程小组)
报名 3.外壳开发小组。 |
|
[求助]请问怎样向指定窗口发送系统键如CTRL
SendKey或者Keybd_event都行。 |
|
[求助]请教:关于强制关闭进程问题
,没仔细看。 |
|
[求助]请教:关于强制关闭进程问题
给你贴一个我写的参考下: #include <windows.h> #include <iostream.h> void main() { DWORD pid; HWND hWnd = FindWindow("SciCalc","计算器"); if(!hWnd) { cout<<"Can't Find the Program.!"<<endl; return; } GetWindowThreadProcessId(hWnd, &pid ); HANDLE hProcess = OpenProcess (PROCESS_ALL_ACCESS,FALSE,pid); TerminateProcess(hProcess,1); // 等待进程退出. if (WaitForSingleObject(hProcess,INFINITE)==STATUS_WAIT_0) cout<<"Program completed!"<<endl; else cout<<"Unexpected error"<<endl; } |
|
[求助]请教:关于强制关闭进程问题
bSuc=TerminateProcess(&hProc,0);//终结进程,以上操作均可返回正确数据值,惟此不能正确返回。 不解,遂请教 这句修改为: bSuc=TerminateProcess(&hProc,1); 这句也不用这么罗嗦 hProc = OpenProcess(PROCESS_CREATE_THREAD|PROCESS_VM_OPERATION|PROCESS_VM_WRITE|PROCESS_ALL_ACCESS,TRUE,proc_code); 修改为; hProc = OpenProcess (PROCESS_ALL_ACCESS,FALSE,proc_code); |
|
[讨论]如何编写计算机自动玩牌游戏?
嗯,同意楼上的说法 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值