|
[原创]文本与十六进制转换VB篇
已上传到本地。 |
|
|
|
[原创]文本和16进制数据相互转换工具
是E语言的,支持一下。 |
|
[原创]文本和16进制数据相互转换工具
这里是编程区,所以发布的工具必须附带源码,如果没有源码你回一下贴,我好将该贴转到工具区。 |
|
还是WINDOWINFO的问题[求助]
已给你回邮件了。 |
|
还是WINDOWINFO的问题[求助]
mov不能传送两个内存操作数。 改成 push myinfo.cxWindowBorders pop dwidth 或 mov eax,myinfo.cxWindowBorders mov dwidth,eax |
|
[求助]SE_SHUTDOWN_NAME这个参数有问题(已解决)
;查看了一下C语言的SE_SECURITY_NAME的定义。只是将SE_SECURITY_NAME定义为一个字符串指针常量(指向字符串常量"SeSecurityPrivilege"的指针常量) ;#define SE_SECURITY_NAME TEXT("SeSecurityPrivilege") ;所以,在MASM32里直接改成这样就行了。 .data MY_SE_SHUTDOWN_NAME db "SeShutdownPrivilege",0 ;使用的时候就这样使用。 mov stTokenPrivilege.Privileges[0].Attributes,offset MY_SE_PRIVILEGE_ENABLED |
|
汇编获取字符串长度这样对吗?
呵呵,还是建议楼主多看看基础知识。 dw2a proc dwValue:DWORD, lpBuffer:DWORD ; ------------------------------------------------------------- ; convert DWORD to ascii string ; dwValue is passed as a value, direct, indirect or in register ; lpBuffer is the ADDRESS of the receiving buffer ; EXAMPLE: ; invoke dw2a,edx,ADDR buffer ; dw2a的第一个参数是要转换的数值,不是地址。第二个参数才是指向输出转换后的字符串地址。所以上面的调用你必须改成如下: .data? myl dd ? enen db 20 dup(?) .data mystr db "abcd",0 .code xor esi,esi .WHILE mystr[esi] != 0 inc esi .ENDW mov myl,esi ;这个myl就是字符串的长度对吗? invoke dw2a,myl,addr enen invoke MessageBox,NULL,addr enen,NULL,MB_OK |
|
[求助]请教一个关于HTMLHELP的问题
.data szOutModulePath db 256 dup(0) szHelpFile db "\help.chm",0 .data? hInstance HINSTANCE ? START: invoke GetModuleHandle,NULL mov hInstance,eax invoke GetModuleFileName,hInstance,offset szOutModulePath,sizeof szOutModulePath .if eax != NULL lea eax,[szOutModulePath+eax] @@: mov cl,BYTE ptr [eax] .if cl != 5Ch dec eax jmp @b .endif mov BYTE ptr [eax],NULL invoke lstrcat,offset szOutModulePath,offset szHelpFile invoke MessageBox,NULL,addr szOutModulePath,NULL,MB_OK .endif invoke ExitProcess,NULL end START |
|
|
|
在汇编程序中定义WINDOWINFO结构变量出错?[求助]
在MASM32里找了一下,没有找到有WINDOWINFO结构的定义。应该自己定义一个才行。 tagWINDOWINFO STRUCT cbSize DWORD ? rcWindow RECT <> rcClient RECT <> dwStyle DWORD ? dwExStyle DWORD ? dwOtherStuff DWORD ? cxWindowBorders UINT ? cyWindowBorders UINT ? atomWindowType ATOM ? wCreaaorVersion WORD ? tagWINDOWINFO ENDS WINDOWINFO EQU <tagWINDOWINFO> |
|
[原创]用我的方法实现屏幕截图
呵呵,不错。 |
|
SendMessage(HWND_BROADCAST, uMsg, 0, 0)... 怎么没用?
莫违规。 http://bbs.pediy.com/showthread.php?s=&threadid=27565 7. 别要求私下答复 不要随便留下Email或QQ,要求别人私下与你联系 |
|
请问一个调用WinExec函数的问题
//这个是你的错误代码解释: #define ERROR_FILE_NOT_FOUND 2L // // MessageId: ERROR_PATH_NOT_FOUND // // MessageText: // // The system cannot find the path specified. // 你用的是相对路径吧?试试用绝对路径。如果还不行,那可能只有调试一下才能知道错误了。 |
|
请问一个调用WinExec函数的问题
没试过,不清楚,试试用ShellExecute函数。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值