摘要: 转自:http://blog.csdn.net/chenyujing1234/article/details/7387712不能转换void (_thiscall CMainFrame::*)(void)to LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)2010-05-13 11:35开发平台由VC6.0升级至VS2005,需要将原有的项目迁移,可能碰到类似错误: error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* ) 阅读全文
posted @ 2012-06-10 22:16 ymin 阅读(908) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/grasshopperwarbler/article/details/6337754这里说的是SDI的情况,如果在vs2010里面按着默认选项创建一个单文档工程,然后想做一件事情 ,就是把一个默认的子菜单的一项钩选,代码如下 :GetMenu()->GetSubMenu(0)->CheckMenuItem(ID_FILE_NEW,MF_BYCOMMAND|MF_CHECKED);加在CMainFrame::Oncreate()里面,整个程序就会崩溃,出现的异常类似如此:Unhandled exception at 0x58aba12c 阅读全文
posted @ 2012-06-04 21:22 ymin 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: 原文是:Django Error: No module named bookmarkshttp://q.cnblogs.com/q/34138/链接悬赏园豆:5[已解决问题]浏览: 99次最近刚上手Django,参考的《Learning Website Development With Django》这本书,参考书上的叙述写了一个程序,但是发现在终端输入python manage.py syncdb的时候报错:Error: No module named bookmarks我是一步步跟着做的,先创建了一个project named djano_bookmarks;接着修改了settings.p 阅读全文
posted @ 2012-05-24 01:11 ymin 阅读(731) 评论(0) 推荐(0) 编辑
摘要: It could be due to the architecture of your OS. Is your OS 64 Bit and have you installed 64 bit version of Python? It may help to install both 32 bit versionPython 3.1andPygame, which is available officially only in 32 bit and you won't face this problem.I see that 64 bit pygame is maintainedher 阅读全文
posted @ 2012-05-24 00:25 ymin 阅读(1124) 评论(0) 推荐(0) 编辑
摘要: 安装setuptools的时候,不能再注册表中识别出来python2.7在网上找了方法,仅作笔记,供下次使用方法:新建一个register.py 文件,把一下代码贴进去,保存(G盘)## script to register Python 2.0 or later for use with win32all# and other extensions that require Python registry settings## written by Joakim Loew for Secret Labs AB / PythonWare## source:# http://www.python 阅读全文
posted @ 2012-05-24 00:08 ymin 阅读(26803) 评论(11) 推荐(18) 编辑
摘要: 在VS2010中开发MFC ActiveX控件,开发完后,通常使用VS自带的容器ActiveX Control Test Container来运行ActiveX控件。此容器在VS安装后的文件中是找不到的,需要自己手动获取。如下所述:(1)按照你的VS所安装的路径,找到VC2010Samples.zip这个压缩文件,其在Samples下的名为2052文件夹中,如在我的电脑上,其所在路径为:C:\Program Files\Microsoft Visual Studio 10.0\Samples\2052\VC2010Samples.zip。(2)找到这个压缩文件后,将其减压到当前文件夹中。(3) 阅读全文
posted @ 2012-04-29 01:02 ymin 阅读(637) 评论(0) 推荐(0) 编辑
摘要: ActiveX Test Container Application is Still Available(转)Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team. I’ve noticed some posts on various forums lamenting the loss of the ActiveX Test Container application and I wanted to address those concerns.The ActiveX Text Container tool 阅读全文
posted @ 2012-04-29 00:59 ymin 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 选择排序法:选择排序和堆排序选择排序(数组实现)public void select_sort(){int position;for(position = entry.length-1;position >=0;position--){int max = max_in_the_list(0,position);swap(position,max);}}public void swap(int first,int second){int temp =entry[first];entry[first]=entry[second];entry[second] = temp;}public in 阅读全文
posted @ 2012-01-18 15:34 ymin 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 只是一个刚在编程世界里面出生的小女孩,努力学习着,爬着走,站着走每天一个小小的进步!姐要努力成为AC王!!就算摔倒了也要爬着前进!!! -------ymin最近在系统的看排序算法 阅读全文
posted @ 2012-01-18 15:28 ymin 阅读(100) 评论(0) 推荐(0) 编辑