- 博客(42)
- 资源 (17)
- 收藏
- 关注
原创 无法启动Windows安全中心服务怎么办?邪恶的 拷啦快速拷贝 KaolaFastCopy
这两天忽然发现 系统提示 无法启动Windows安全中心服务 最近什么也每做怎么就出现这个问题了呢? 在 bing 上查基本就是一个解决方案 启动 "Security Center" 服务.好吧 "Security Center" 启动不起来,是因为 Remote PRocedure Call(RPC)Windows Management Instrumentation
2015-07-03 15:51:36 1796
转载 portable c
http://daniel.haxx.se/projects/portability/C Source Code Portability Functions (limited to libc and "system" ones), general often-used concepts andvariable types. Include known flaws, work-a
2012-05-14 16:12:25 668
转载 google open source
有一篇文章总结了一些Google比较著名的开源项目(该文全文已附在本文最后),本文在那篇文章基础上又添加了几个开源项目。googletest一个很著名的C++单元测试框架,简称gtest,有丰富的文档可以参考。另外一些比较著名的C++测试框架有CppUnit,CxxTest, boost::test。googlemock另外一个C++单元测试框架,在写单元测试用例,经常需要
2012-05-08 11:39:09 1516
转载 c 声明 && right-left rule
int f; //一个整型变量 int *f; //一个指向整型的指针 不过,请看第 2 个声明是如何工作的:它把表达式 *f 声明为一个整数。根据这个事实,你肯定能推断出 f 是个指向整型的指针。C 声明的这种解释方法可以通过下面的声明得到验证。 int* f,g; 它并没有声明两个指针。尽管它们之间存在空白,但星号是作用于
2012-05-08 11:37:12 444
转载 gcc buildin atomic operation
5.47 Built-in functions for atomic memory accessThe following builtins are intended to be compatible with those described in the Intel Itanium Processor-specific Application Binary Interface, sect
2012-01-19 10:51:19 804
转载 32位数中有多少个 1
int bit_count_1(int n){int count = 0;while(n){if ( 1 == n % 2 )++count;n = n >> 1;}return count;}int bit_count_2 (int n){int count = 0;while(n){if ( 1 == (n & 1) )+
2011-12-15 16:15:04 1828
转载 Howto - Cross Compiling in Linux using MingW32
http://forums.codeblocks.org/index.php?topic=3343.0Hey everyone! Today I managed to finish figuring out how to set up the build options for
2011-07-21 22:12:50 1102
原创 c 语法
typedef struct rbtree_base_ { char color_field; struct rbtree *left; struct rbtree *right;}rbtree_base;typedef struct rbtree_ { rbtree_base; wchar_t const *key; w
2011-06-30 10:06:00 385
原创 bind1st, bind2nd, mem_fun, mem_fun_ref,这三个函数的使用
bind1st, bind2nd, mem_fun, mem_fun_ref,这三个函数的使用bind1st 为一个有两个参数的函数绑定第一个参数, 名字已经很明确了 bind first parameterbind2nd 为一个有两个参数的函数绑定第二个参数.什么时候使用呢?当我们的回调函数有两个参数,可是程序代码在调用这个回调的时候,只有一个参数,怎么办呢,这时候就可以
2011-06-21 18:03:00 1851
转载 有效编写软件的75条建议
http://www.cnblogs.com/dayrain/archive/2008/10/31/1324031.html 1. 你们的项目组使用源代码管理工具了么? 应该用。VSS、CVS、PVCS、ClearCase、CCC/Harvest、FireFly都可以。我的选择是VSS。2. 你们的项目组使用缺陷管理系统了么? 应该用。ClearQuest太复杂
2011-06-13 18:21:00 618
转载 qt
http://blog.sina.com.cn/s/blog_4c8287230100kpcc.htmlhttp://qtdocs.sourceforge.net/index.php/%E4%B8%BA%E4%BB%80%E4%B9%88_Qt_%E4%B8%8D%E4%BD%BF%E7%94%A8%E6%A8%A1%E6%9D%BF%E5%AE%9E%E7%8E%B0%E4%BF%A1%E5
2011-06-13 18:09:00 438
转载 makefile 转贴
makefile概述——什么是makefile?或许很多Winodws的程序员都不知道这个东西,因为那些Windows的IDE都为你做了这个工作,但我觉得要作一个好的和 professional的程序员,makefile还是要懂。这就好像现在有这么多的HTML的编辑器,但如果你想成为一个专业人士,你还是要了解 HTML的标识的含义。特别在Unix下的软件编译,你就不能不自己写m
2011-06-13 17:37:00 346
原创 apue 笔记 10.15
signal 的block,pending,unblock状态BLOCK : sigemptyset(&newmask); sigaddset(&newmask, SIGQUIT); if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) err_sys("SIG_BLOCK error
2011-06-13 13:49:00 326
转载 msvc and mingw call eachother
Q. How can an MSVC program call an MinGW DLL, and vice versa? A. Assume we have a testdll.h, testdll.c, and testmain.c. In the first case, we will compile testdll.c with MinGW, and let
2011-06-10 15:26:00 432
原创 ipod live stream
<br />http://developer.apple.com/iphone/library/documentation/networkinginternet/conceptual/streamingmediaguide/introduction/introduction.html<br /> <br />If you are interested in any of the following:<br />Streaming audio or video to iPhone, iPad, or iPod
2010-08-11 11:42:00 698
原创 http://alumni.cs.ucr.edu/~piyush/CandCPP.htm
http://alumni.cs.ucr.edu/~piyush/CandCPP.htm
2010-08-06 13:05:00 475
转载 http://blogs.msdn.com/b/michkap/archive/2005/10/07/478235.aspx
<br />http://blogs.msdn.com/b/michkap/archive/2005/10/07/478235.aspx<br /> How to build the 8.0 MFC and CRT DLLs with MSLUMichael S. Kaplan 7 Oct 2005 10:57 AM Comments2Updated for RTM of Visual Studio 2005Updated for SP1 of Visual
2010-07-20 10:21:00 1655
原创 recover your longin password
Reset Lost Windows XP Administrator Password Using ERD Commanderhttp://www.winhelponline.com/blog/reset-lost-xp-administrator-password-erd-commander/Hack to Log On to Windows XP and 2000 without Changing Existing Password with DreamPackPLhttp://w
2010-07-06 19:03:00 839
转载 Say Goodbye to Macro Envy with Active Scripting
Say Goodbye to Macro Envy with Active ScriptingDon Box With Active Scripting, your application can easily implement a full macro language like VBScript in the comfort of your own code. In the past, if you wanted to provide an integrated scrip
2010-06-23 17:10:00 684
原创 持续更新 : 抓包工具
Packet Analyzer 6.1 Professional WildPackets_OmniPeek_Personal wireshark Ethereal iris commview
2010-06-21 17:59:00 339
原创 libdump
http://www.microsoft.com/msj/0498/hood0498.aspxCode for this article: apr98hoodcode.exe (10KB)Matt Pietrek is the author of Windows 95 System Programming Secrets (IDG Books, 1995). He works at NuMega Technologies Inc., and can be reached at mpiet
2010-06-10 17:34:00 1500
原创 Quantumas 3d engine
<br />The Demo for my engine -- Quantumas (vs ue3,ce2&ce3)
2010-06-08 18:45:00 706
原创 转一篇文章
不错的 地方 http://blogs.technet.com/voy/ Services isolation in Session 0 of Windows Vista and Longhorn Server Services isolation in Session 0 of Windows Vista and Longhorn Server Yo
2010-05-19 10:36:00 573
转载 shadow ssdt学习笔记(一)
转shadow ssdt学习笔记(一)文章作者:zhuwg信息来源:邪恶八进制信息安全团队(www.eviloctal.com)1。取得shadow ssdt真实地址系统只提供了KeServiceDescriptorTable导出KeServiceDescriptorTableShadow是个未导出结构定义复制内容到剪贴板代码:typ
2010-05-06 17:52:00 1718
转载 How to get IHTMLDocument2 from a HWND
http://support.microsoft.com/kb/249232 This article shows how to get the IHTMLDocument2 interface from a HWND. If Microsoft Active Accessibility (MSAA) is installed, you can send the WM_HTML
2010-05-05 14:12:00 889
原创 mfc doc view 记录备忘
getdoc(){CMDIChildWnd * pChild = ((CMDIFrameWnd*)(AfxGetApp()->m_pMainWnd))->MDIGetActive(); if ( !pChild ) return ; CDocument * pDoc = pChild->GetActiveDocument();
2010-05-04 15:21:00 549
原创 hook api不过如此
hook 不过如此,以前觉得hook很难,现在发现也还可以,不过还是有几个问题没有很好的解决,会有后遗症.以后有时间在改
2007-12-11 16:00:00 364
原创 暴风影音3 Build version : 3.7.11.13 漏洞
/*++暴风影音3 Build version : 3.7.11.13 Test version : 3.7.11.13,自从带了一个自动升级服务stormlive.exe之后,会在本地开启一个UDP端口5354,向端口发送恶意封包可造成stormlive崩溃 0041DEE0 /$ 8B4424 08 mov eax, dword ptr [esp+8]0041DEE4 |
2007-11-29 17:03:00 717
原创 CAxWindow 与 CAxHostWindow
CAxWindow 与 CAxHostWindow 之间的联系, 通过跟踪调试,之间的关系是 CAxWindow 和 CAxHostWindow 是同一个实例的不同表象.可由窗口的创建过程理清二者关系.首先 CAxWindow 继承自 CWindow 而不是 CWindowImpl AtlAxWindowProc, AtlAxWindowProc2.窗口消息均由 AtlAxWin
2007-11-08 15:51:00 3904 1
原创 firefox 的 wmp 控件
具体操作参阅http://forums.mozillazine.org/viewtopic.php?t=206213很详细,很实用.问题解决还有几个链接http://kb.mozillazine.org/Windows_Media_Playerhttp://forums.mozillazine.org/viewtopic.php?t=206216http://forums.mozillazine.
2007-11-08 10:30:00 716
原创 透明的windows media player控件
直接放置到对话框上的wmp 控件很容易实现透明效果,但是如果是动态生成的wmp 目前我还没有找到好的实现透明的方法,现在能找到的办法只有两个一个就是自己实现一个container,就没有问题,或者自己没有信心实现一个container但是可以修改atl库基本上也可以解决这个问题.但是问题是什么呢,还没有找到,真正的问题我认为是wmp自己的问题,是wmp自己的内部实现导致了这个问题,或者不一定是wm
2007-11-07 18:34:00 853
原创 CxImage二值化
CxImage提供了减少BPP的算法,可以处理二值化,但是对灰度图可以直接用直方图简化算法,参考了网上的一些算法,实现了一个对于灰度图的二值化实现,没有原始的通用行好,但是速度稍微的比他快了一点,
2007-09-10 15:18:00 2388
原创 bmp文件格式分析
bmp文件格式分析biWidth 说明图象的宽度,以象素为单位 biHeight 说明图象的高度,以象素为单位。注:这个值除了用于描述图像的高度之外,它还有另一个用处,就是指明该图像是倒向的位图,还是正向的位图。如果该值是一个正数,说明图像是倒向的,如果该值是一个负数,则说明图像是正向的。大多数的BMP文件都是倒向的位图,也就是时,高度值是一个正数。(注:当高度值是一个负数时(正向图像),图像
2007-09-10 15:06:00 637
转载 追求简单,解决效率低落问题
追求简单,解决效率低落问题 目前担任沟通管理顾问公司詹森集团(Jensen Group)总裁兼执行长的比尔-詹森,自1992年开始至今,持续进行一项名为“追求简单”(The Search for Simpler Way)的研究调查,长期观察企业员工的工作模式,探讨造成工作过量、效率低落的原因。最初的调查对象包括了来自460家企业的2500名人士,持续至今已经扩大到1000家企业,人数达到35
2007-09-07 13:50:00 1085
原创 IT创业模式分析
IT创业模式分析模式一:要有超乎常人的技术发展和市场需求的洞察力。 支持案例:几乎所有大的成功IT企业必备的成功要素。 模式二:在产品推广初期,不要太在意盈利问题,新开拓的市场的培育和市场分额的大面积占领才是最重要的。这样才能主导未来产品方向。“我们是一群生逢其时的大学毕业生,我从浏览器上学到最大的收获就是占领份额是最主要的, 你必须尽最大努力达到这点,看起来今后2
2007-09-07 13:48:00 755
原创 21世纪如何正确思考及开创个人事业(转发)
我将要谈到的对你们未来的生活非常、非常的关键。不知大家是否意识到,我们刚刚从一个工业化的时代进入到一个信息化的时代。这种转变,会对我们的生活产生很大的影响。自1989年到现在,在美国,已经有3600万个工作岗位消失了,很多行业,已经永远的消失了。随着科学技术的不断发展,这种现象,也已经影响到世界上许多国家。在中国,我们已经看到很多大型企业也在纷纷减员,去年一年就有2000万人
2007-09-07 13:45:00 840
advance programming in unix enviroment
2011-10-26
algorithms in c
2011-10-26
libdump tools
2010-06-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人