上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页

2005年10月26日

VC经典的编译错误解决办法(转载)

摘要: 1、Fatal Error C1010: unexpected end of file while looking for precompiled header directive: 编译时总出这个错误为什么? : fatal error C1010: unexpected end of file while looking for precompiled : header directive : 我查了msdn好像不是他说的错误原因.这是预编译头文件没有包括进来, 有两种解决办法。一是把所有的源程序文件前面都加上#include 第二种方法是,如果你不原意改变源文件就在菜单上选择Projec 阅读全文

posted @ 2005-10-26 11:48 goodvify 阅读(182) 评论(0) 推荐(0) 编辑

VC编译选项(转载)

摘要: VC编译选项 csdnb3a [原作] 关键字 VC编译选项 出处 -优化- /O1 最小化空间 minimize space /Op[-] 改善浮点数一致性 improve floating-pt consistency /O2 最大化速度 maximize speed /Os 优选代码空间 favor code space /Oa 假设没有别名 assume no aliasing /Ot 优选代码速度 favor code speed /Ob 内联展开(默认 n=0) inline expansion (default n=0) /Ow 假设交叉函数别名 assume cross-fun 阅读全文

posted @ 2005-10-26 11:44 goodvify 阅读(115) 评论(0) 推荐(0) 编辑

2005年8月26日

创建测试程序,测试COM库的方法

摘要: 创建测试程序,测试COM库的方法:方法1:通过ClassWizard使用代码组件1、创建MFC的EXE工程;2、初始化COM; 使用AfxOleInit()进行COM的初始化if(!AfxOleInit()){AfxMessageBox("Can't initialize com.");return true;}3、创建组件包装类: 使用ClassWizard追加组件的.tlb文件4、定义包装类变量; 包含组件的头文件(.h) 声明包装类变量#include "Test.h"protected:Icomp m_Comp;5、创建组件对象,并赋值给 阅读全文

posted @ 2005-08-26 11:52 goodvify 阅读(127) 评论(0) 推荐(0) 编辑

2005年8月8日

VC++常用数据类型及其操作详解

摘要: VC++常用数据类型及其操作详解目录一. VC常用数据类型列表二. 常用数据类型转化2.1数学类型变量与字符串相互转换2.2 CString及string,char *与其他数据类型的转换和操作●CString,string,char*的综合比较●数学类型与CString相互转化●CString与char*相互转换举例●CString 与 BSTR 型转换●VARIANT 型转化成 CString 型2.3 BSTR、_bstr_t与CComBSTR2.4 VARIANT 、_variant_t 与 COleVariant附录CString及字符串转及操作详解参考书籍:CSDN,<< 阅读全文

posted @ 2005-08-08 10:12 goodvify 阅读(226) 评论(0) 推荐(0) 编辑

2005年7月26日

有关数据类型转换(VC)

摘要: 明:本文纯粹是总结一下有关类型转换的贴子,本人并未对所有方法都做测试,仅仅是为了给大家一个参考。读者层次:初学int i = 100;long l = 2001;float f=300.2;double d=12345.119;char username[]="程佩君";char temp[200];char *buf;CString str;_variant_t v1;_bstr_t v2;一、其它数据类型转换为字符串短整型(int)itoa(i,temp,10);///将i转换为字符串放入temp中,最后一个数字表示十进制itoa(i,temp,2); ///按二进制方 阅读全文

posted @ 2005-07-26 12:58 goodvify 阅读(437) 评论(0) 推荐(0) 编辑

VC Afx全局函数  数据类型 字符串转化函数

摘要: Afx全局函数及MFC常见数据类型AfxBeginThread:开始一个新的线程AfxEndThread:结束一个旧的线程AfxFormatString1:类似printf一般地将字符串格式化AfxFormatString2:类似printf一般地将字符串格式化AfxMessageBox:类似Windows API 函数 MessageBoxAfxOuputDebugString:将字符串输往除错装置AfxGetApp:获得application object (CwinApp派生对象)的指针AfxGetMainWnd:获得程序主窗口的指针AfxGetInstance:获得程序的instanc 阅读全文

posted @ 2005-07-26 12:57 goodvify 阅读(228) 评论(0) 推荐(0) 编辑

2005年7月22日

用纯ASP实现完美的WEB柱状图

摘要: 用纯ASP实现完美的WEB柱状图 <% dim total(7,2) total(1,1)=200 total(2,1)=800 total(3,1)=1000 total(4,1)=600 total(5,1)=1222 total(6,1)=3213 total(7,1)=8 total(1,2)="中国经营报" total(2,2)="招聘网" total(3,2)="51Job" total(4,2)="新民晚报" total(5,2)="新闻晚报" total(6,2)=&quo 阅读全文

posted @ 2005-07-22 13:56 goodvify 阅读(321) 评论(0) 推荐(0) 编辑

2005年6月17日

sip phone VOIP开源项目源码地址

摘要: VoIP bookmarks from Klaus DarilionBelow you will find descriptions and links to SIP and RTP stacks, applications, test utilities, SIP proxies, SIP PBXs and STUN server and clients. Most of them are open source :-), but not all of them :-(If you have any comments please feel free to contact me: --> 阅读全文

posted @ 2005-06-17 14:17 goodvify 阅读(937) 评论(0) 推荐(0) 编辑

2005年6月15日

网页编程相关

摘要: 事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键 event.keyCode event.shiftKey event.altKey event.ctrlKey 事件返回值 event.returnValue 鼠标位置 event.x event.y 窗体活动元素 document.activeElement 绑定事件 document.captureEvents(Event.KEYDOW 阅读全文

posted @ 2005-06-15 09:24 goodvify 阅读(135) 评论(0) 推荐(0) 编辑

2005年4月9日

CSDN 数据技巧

摘要: 取 Access640-605 Remote Access 2.0 考试大纲Access Violations(访问冲突)ACCESS97关于数据库安全的几个问题AccesS密码的打击Access数据库操作中出现的怪现象Access数据库导入Mysql的方法之一ACCESS数据库防止下载大盘点ACCESS数据库向MySQL快速迁移小程序(二)ACCESS数据库向MySQL快速迁移小程序(一)ACCESS转化成SQL2000需要注意的几个问题ADO在MICROSOFT DATA ACCESS 中的角色ASP+Access的安全隐患及对策C# BETA2中操作ACCESS数据库Cisco2511. 阅读全文

posted @ 2005-04-09 12:54 goodvify 阅读(344) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页

导航