|
[讨论]基类的方法为什么不能直接被派生类当接口使用?
这个解释差不多了。A 和 IUnknow 是平级的。看不到A的实现。直接派生虚接口的类,需要实现虚接口的函数。 下面这么写没问题 class A : public IUnknown { public: ULONG STDMETHODCALLTYPE AddRef(void) { return 0; } ULONG STDMETHODCALLTYPE Release(void) { return 0; } }; class B : public A { public: HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) { return S_OK; } virtual void Test() { void* p = new B(); } }; |
|
[求助] 我想学习编程,易语言是不是更好?
那找个脚本学吧,以后还有点用,比如Python。 |
|
[转帖]SweetScape 010 Editor v5.0.2
http://bbs.pediy.com/showthread.php?t=177160 如果注册不了,去这个看看,导入个注册表键值就好了。 |
|
[讨论]编译能用于各种版本VS和各种debug/release版本的静态库
不是这个问题,主要是他编译的时候加了个参数。/Zl http://msdn.microsoft.com/zh-cn/library/f1tbxcxh.aspx 不过我测试过,加这个参数,需要你的代码没有调用CRT的函数,否则也不好使。 |
|
[原创]C++进程注入(通过远程线程注入进程)
kernel32的地址是固定的,不会变的。 |
|
[原创]C++进程注入(通过远程线程注入进程)
肯定是一样的,window核心编程上有说过这个问题。 |
|
看OD的右键菜单不顺眼,求高手指教如何动手术?
写插件就好了,直接就能加~ |
|
[讨论]VirtualProtect 触发异常HOOK
试试硬件断点。 |
|
[求助]双网卡上网搞定了,但是内网邮件无法通过Foxmail接收
参考路由表,让内网邮件的IP走内网网卡。 |
|
[求助]呼出外挂界面关闭后无法再次呼叫出来
if(GameForm==NULL) { GameForm=new CWGForm; GameForm->Create(IDD_DLG_MAIN); } GameForm->ShowWindow(SW_SHOW); |
|
[求助]呼出外挂界面关闭后无法再次呼叫出来
建议看看非模态对话框的销毁,并不是你点了那个x,对话框就销毁了。CDroApp::ExitInstance() 这个函数是dll被卸载的时候跑的。点了x,dll并不会被卸载。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值