随笔 - 25  文章 - 10 评论 - 11 阅读 - 10万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  技巧总结

在编程过程中遇到的问题,及解决方法
无法显示项目的属性窗口
摘要:今早一开始干活,发现vs2008项目的属性窗口打开后一片空白。提示 The Windows Forms Designer Package ({7494682B-37A0-11D2-A273-00C04F8EF4FF}) did not load because of previous errors. For assistance, contact the package vendor. To ... 阅读全文
posted @ 2010-10-26 09:36 cinger 阅读(640) 评论(0) 推荐(1) 编辑
Ubuntu 随笔
摘要:1. 打开关闭xwindow (安装cuda到时候要现关闭xwindwo)sudo service /etc/init.d/gdm start sudo service /etc/init.d/gdm stop 2. 有篇文章介绍安装cuda驱动,说的很复杂,对于大部分的机器是用不到的。对于ubuntu 10.04,安装gcc 4.3 和 g++4.3后,直接装驱动就好了。.run文件可以用chm... 阅读全文
posted @ 2010-10-19 21:54 cinger 阅读(297) 评论(0) 推荐(0) 编辑
实现双进程监控的方法
摘要:一 实现目的: 在A进程中获得当前运行进程快照,根据B进程的进程名,判断B进程是否生存,当B进程不存在时,创建一个新的B进程二 主要用到的函数: 1 CreateToolhelp32Snapshot(); 2 Process32First(hProcessSnap, &pe32); 3 Process32Next(hProcessSnap, &pe32);三 步骤: 1 设置定时器... 阅读全文
posted @ 2009-07-20 10:03 cinger 阅读(832) 评论(1) 推荐(0) 编辑
手工添加MFC
摘要:1.在“项目”-》“属性”-》“配置属性”-》“常规”-》“MFC的使用”中,将值改为“在共享 DLL 中使用 MFC”2.添加头文件#include <afxwin.h>//加载MFC然后就可以使用MFC了 阅读全文
posted @ 2009-07-16 09:24 cinger 阅读(171) 评论(0) 推荐(0) 编辑
可移动窗口的制作
摘要:将form从下面的FormBase类继承,拖动form上的任意一点都可移动.并且解决了原方案中如果将formBorderStyle设置成none之后,MouseMove的第一下有个跳动的问题.可用于不规则窗体的制作.publicclassFormBase:Form{Declarations#regionDeclarationsprivatebooldrag=false;privatePointst... 阅读全文
posted @ 2006-11-04 08:47 cinger 阅读(355) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示