|
[转帖]山东聊城18岁少年编写9000多款软件
膜拜大牛。。。。。。。。。。。。。。。。。。。。。 |
|
[讨论]关于D3D HOOK保存图片的问题..
解决了,后台Dx截图.. HRESULT hr; // get display dimensions D3DDISPLAYMODE mode; if (FAILED(hr=pDev-> GetDisplayMode(0,&mode))) return hr; // create the image surface to store the front buffer image LPDIRECT3DSURFACE9 surf; if (FAILED(hr=pDev->CreateOffscreenPlainSurface(mode.Width,mode.Height,D3DFMT_A8R8G8B8,D3DPOOL_SYSTEMMEM,&surf,NULL))) return hr; // 第一个参数为0表示获取后台数据,也正是我想要的. -1 表示获取的是前台的数据.. if (FAILED(hr=pDev->GetBackBuffer(0,0,D3DBACKBUFFER_TYPE_FORCE_DWORD,&surf))) { surf-> Release(); return hr; } // write the entire surface to the requested file hr=D3DXSaveSurfaceToFile(fileName,D3DXIFF_JPG,surf,NULL,NULL); // release the image surface surf-> Release(); // return status of save operation to caller return hr; 给需要的朋友吧... 保存图片的.. |
|
|
|
[讨论][讨论]互斥量能限制游戏3-4开?
有好几个 命名的互斥对象的吧? 同2楼.. 三个对象都创建了的话,那么打开的时候是成功的,不然打开时候就是失败的, 应该是根据打开状态去辨别的吧? 应该是这样的..我感觉。不过信号量应该确实是跟合适.. 同4楼所说. |
|
DX 游戏如何实现后台截图??
也不一定非说将游戏窗口最小化了。 不知道 ShowWindow 这个函数将游戏窗口隐藏起来的话,游戏窗口是否还是会刷新,若还是会刷新,那么我就用他将游戏窗口隐藏起来啊。 不过的话,按说既然是辅助,我将游戏获取窗口状态的地址给修改了,让他一直处于窗口前置的状态,按说应该也是可以的吧。。 现在最头大的就是不知道 D3D游戏如何截图. |
|
[求助]征途2那个HP保护是不是新手不适合用它学习呀?
表示用 企鹅自带截图的路过。 |
|
[推荐]新浪的应该靠谱点吧
做好,关闭的准备 会是你有生以来最明智的选择 |
|
|
|
[公告]看雪论坛(bbs.pediy.com)被DDOS攻击公告
烧香吧。别一会攻击的人,又闲蛋疼了。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值