|
C语言请教地址与指针!
北极星兄早了一步。 |
|
C语言请教地址与指针!
上面的*(long *)&stuffing[i]=0x80484bb;等效下面的代码: long *p; p = (long *)&stuffing[i]; //将stuffing+i的偏移指针强制转换成long型指针。 *p = 0x80484bb; //将0x80484bb的值放到p指向的内存。 |
|
请教一个c语言简单的问题
long a = (long)&p; |
|
求电子版 Microsoft.NET IL汇编语言程序设计,这个网站有
最初由 笑梅 发布 嗯,已传到www.aogosoft.com/bbs论坛了。 http://www.aogosoft.com/bbs/view.asp?id=66938 |
|
求电子版 Microsoft.NET IL汇编语言程序设计,这个网站有
已经上传到DFCG论坛上了,可以到这里下载: http://www.chinadfcg.com/woyao/read.php?tid=151655 也可以到这里阿拉FTP上下载。放到upload/目录里 http://bbs.pediy.com/showthread.php?s=&threadid=34899 |
|
[原创]Win键屏蔽
不错。 |
|
[求助]看看这个控件叫啥名字
Delphi的Static控件都被封装了,如Label控件。如果不想用Delphi封装的控件,用CreateWindowEx($200,'STATIC','',$50000000,10,20,40,12,hWin,HMENU(100),hInst,0);自己创建。 |
|
[求助]Windows SDK编程怎么用资源文件创建窗口啊?
资源文件生成的也可以说是窗口,系统内部也是使用CreateWindowEx函数生成的窗口。只是注册类和创建过程由系统代替了而已。如果你想自己生成窗口,那就只有这样写了。 #include <windows.h> LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; HINSTANCE hInstance; int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow) { static char *szAppName = "C++ Class"; MSG msg ; HWND hWnd ; WNDCLASSEX wndclass ; hInstance = hInst; wndclass.cbSize = sizeof (wndclass) ; wndclass.style = CS_HREDRAW | CS_VREDRAW ; wndclass.lpfnWndProc = WndProc ; wndclass.cbClsExtra = 0 ; wndclass.cbWndExtra = 0 ; wndclass.hInstance = hInstance ; wndclass.hIcon = LoadIcon (NULL,100) ; wndclass.hCursor = LoadCursor(NULL, IDC_ARROW) ; wndclass.hbrBackground = COLOR_BTNFACE+1 ; wndclass.lpszMenuName = 0; wndclass.lpszClassName = szAppName ; wndclass.hIconSm = wndclass.hIcon ; RegisterClassEx(&wndclass) ; hWnd = CreateWindow(szAppName, "MyWindow", WS_OVERLAPPEDWINDOW, 200, 200,400, 200, NULL, NULL, hInstance, NULL); ShowWindow (hWnd,SW_SHOWNORMAL) ; UpdateWindow (hWnd) ; while (GetMessage (&msg, NULL, 0, 0)) { TranslateMessage (&msg) ; DispatchMessage (&msg) ; } return msg.wParam ; } LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) { case WM_DESTROY : PostQuitMessage(0) ; return 0 ; } return DefWindowProc(hWnd, uMsg, wParam, lParam) ; } |
|
界面问题请教
对所有按钮超类化(子类化),在按钮的WM_LBUTTONUP消息重设焦点试试。 |
|
[求助]Windows SDK编程怎么用资源文件创建窗口啊?
//最简单的C代码(先用资源编辑器生成一个对话框资源,将对话框资源ID设为100,将下面的代码拷入,编译运行成功后就可以看到一个窗口)。 #include <windows.h> BOOL WINAPI DlgProc(HWND,UINT,WPARAM,LPARAM); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow) { DialogBoxParam(hInstance,100,0,(DLGPROC)&DlgProc,0); return 0; } BOOL WINAPI DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch(uMsg) { case WM_CLOSE: EndDialog(hWnd,FALSE); break; default: return FALSE; } return TRUE; } |
|
[求助]看看这个控件叫啥名字
主要函数如下: SendMessage(hStatic,STM_SETIMAGE,IMAGE_ICON,hIcon);//设置Static控件图标 SendMessage(hStatic,STM_SETIMAGE,IMAGE_ICON,0);//去除Static控件图标 SetCapture(hWnd); //捕捉鼠标 SetCursor(hIcon); //设置捕捉鼠标指针。 SetCursor(LoadCursor(0,IDC_ARROW)); //恢复鼠标指针。 ReleaseCapture; //释放鼠标捕捉 GetPixel(GetWindowDC(0),Point.x,Point.y); //获取屏幕点象素颜色 |
|
[求助]看看这个控件叫啥名字
是Static控件。并且程序处理了WM_LBUTTONDWON、WM_LBUTTONUP和WM_MOUSEMOVE消息。 在上面的三个消息里设置hStatic控件和鼠标指针及获取屏幕颜色。 |
|
[求助]外壳的重定位问题
最初由 gaoqing 发布 如果可以这么写,那就没有上面的重定位方法技巧了。 eip寄存器比其他寄存器特殊,不能直接读取。 |
|
[求助]外壳的重定位问题
假设: shellStart0 = 00401000 ImportTable = 00401005 ImportTable-(ImportTable-ShellStart0) = 00401005 - (00401005 - 00401000) = 00401005 - 5 = 00401000 经过上面的运算,ebp == 00401000 |
|
[求助]菜鸟问题:language2000.exe从哪下载,给个地址先
晕,用Google一搜就有很多了。 http://www.252525.net/soft/2226.htm 不过,这个软件很老了,有很壳都不能识别了,还是用PEID吧。看雪主页有下载。 |
|
[求助]外壳的重定位问题
现在假设: shellStart0 = 00401000 ImportTable = 00401005 shellStart0: call next0: ImportTable ..... ..... next0: pop ebp ; 现在ebp保存的是ImportTable的值,也就是00401005 sub ebp,(ImportTable - shellStart0) ;这里反汇编代码后如如下形式: sub ebp,5 ;此时ebp等于00401000,所以说上面的代码就是求shellStart0的地址。 |
|
请大家看看C初级程序,自己找不出来啊,!
printf("please inpurt the %s student si date: num name score:\n",sort[i]); |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值