上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 92 下一页
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring(v=vs.80).aspxhttp://www.codeproject.com/Articles/17768/ADO-NET-Connection-Pooling-at-a-GlanceThe following table lists the valid names for connection pooling values within theConnectionString. For more infor Read More
posted @ 2012-03-07 16:58 庚武 Views(316) Comments(0) Diggs(0)
http://citizen428.net/blog/2010/08/12/30-free-programming-ebooks/ Since this post got quite popular I decided to incorporate some of the excellent sug Read More
posted @ 2012-03-04 13:43 庚武 Views(258) Comments(0) Diggs(0)
//filename:VisualKB.h#define MAX_STRING 12class CMyApp:public CWinApp{public: virtual BOOL InitInstance();};class CMainWindow:public CWnd{protected: int m_cxChar; //Average character width int m_cyChar; //Character height int m_cyLine; //Vertical line spacing in message box int m_nTextPos; ... Read More
posted @ 2012-03-02 14:38 庚武 Views(597) Comments(0) Diggs(0)
ASP.NET provides three primary forms of caching: page level output caching, user control level output caching (or fragment caching), and the Cache API. Output caching and fragment caching have the advantage of being incredibly simple to implement, and are sufficient in many cases. The cache API prov Read More
posted @ 2012-03-01 12:58 庚武 Views(256) Comments(0) Diggs(0)
学习C语言可变参数时,发现#define _INTSIZEOF(n) ( (sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1) )乍一看,完全不明白该宏的作用是啥,仔细分析后发现,该宏是求类型n是整型int的多少倍(向上取整).在32位win中,siz... Read More
posted @ 2012-02-26 03:08 庚武 Views(966) Comments(0) Diggs(0)
ANSI ANSI编码 unicode和ansi都是字符代码的一种表示形式。 为使计算机支持更多语言,通常使用 0x80~0xFF 范围的 2 个字节来表示 1 个字符。比如:汉字 '中' 在 ANSI编码中文操作系统中,使用 [0xD6,0xD0] 这两个字节存储。 不同的国家和地区制定了不同的标准,由此产生了 GB2312, BIG5, JIS 等各自的编码标准。这些使用 2 个字节来代表一个字符的各种汉字延伸编码方式,称为 ANSI 编码。在简体中文系统下,ANSI 编码代表 GB2312 编码,在日文操作系统下,ANSI 编码代表 JIS 编码。 不同 ANSI 编码之 Read More
posted @ 2012-02-22 18:11 庚武 Views(15786) Comments(0) Diggs(0)
#include <windef.h> //Basic Type Definitions#include <winnt.h> //Definitions for Unicode support#include <winbase.h> // Kernel functions#include <wingdi.h> //Graphic Device Interface functions#include <winuser.h> //User Interface functions Read More
posted @ 2012-02-22 17:08 庚武 Views(675) Comments(0) Diggs(0)
http://self-issued.info/docs/draft-jones-json-web-signature-01.html Read More
posted @ 2012-02-21 17:46 庚武 Views(517) Comments(0) Diggs(0)
在VC6中创建一个MFC Dialog工程,下面是创建Unicode版本的操作步骤:1.Build-->Configurations-->Add,添加一个Unicode Debug配置;2.Build-->Set Active Configuration,选择Win32 Unicode Debug作为当前活动配置;3.在Project-->Settings,在C/C++属性页中选择Preprocessor条目,在Preprocessor definitions中添加编译项 _UNICODE;如果此时就编译,就会立生错误:msvcrtd.lib(crtexew.obj) Read More
posted @ 2012-02-21 11:58 庚武 Views(838) Comments(0) Diggs(0)
1.在MFC中加入TRACE语句2.在TOOLS->MFC TRACER中选择 “ENABLE TRACING”点击OK3.进行调试运行,GO(F5)(特别注意:不是执行‘!’以前之所以不能看到TRACE内容,是因为不是调试执行,而是‘!’了,切记,切记)4.然后就会在OUTPUT中的DEBUG窗口中看到TRACE内容了,调试执行会自动从BUILD窗口跳到DEBUG窗口#include <iostream>#include <afxwin.h>using namespace std;int main(){ cout<<("Hello 中国&q Read More
posted @ 2012-02-20 17:56 庚武 Views(1723) Comments(0) Diggs(0)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 92 下一页