- 博客(7)
- 收藏
- 关注
原创 python 解释器, 扩展模块
<br /> <br />// MyTest.cpp : Defines the entry point for the console application.<br />//<br /> <br />#include "stdafx.h"<br />#include "python.h"<br />#include <process.h><br />#include <windows.h><br />#include <io.h><br />#include <Fcntl.h><br />#includ
2011-03-31 07:44:00
770
原创 .net web service 限制 类的成员导出
public class Person { [XmlIgnore] public int id; public string sName; public int nHeight; } [WebMethod] public Person GetPerson() { Person
2009-11-29 09:44:00
317
原创 堆栈上分配子类对象内存
转贴请指明作者 // tsm.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "new.h"#include class IA{public: virtual int GetVal() = 0;};class IAManager{public: virtual int GetAllocIASize() = 0; virtua
2009-11-29 09:42:00
362
原创 把txt 转换成CHM的目录或Index
转贴指明作者 # content f:/temp/2.txt f:/temp/2.htm import sys if len( sys.argv) != 3 : print usage: + sys.argv[0] + inputfile outfile sys.exit() f=open( sys.argv[1], r) w=open( sys.argv[2
2008-04-20 17:05:00
936
原创 ip 正则表达式
"^([0-9]*).*//b((?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})//.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})//.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})//.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0
2007-02-01 21:27:00
448
原创 static Splitterwnd hide and show --by wyj
转贴指明作者#if !defined(AFX_MYSPLITER_H__A78B35E4_9855_43EE_9046_AF7B3A3AE2A9__INCLUDED_)#define AFX_MYSPLITER_H__A78B35E4_9855_43EE_9046_AF7B3A3AE2A9__INCLUDED_#if _MSC_VER > 1000#pragma once#endif //
2006-12-20 23:00:00
655
原创 修改 OleInsertDialog 显示内容
转贴指明作者 BOOL bFirst = TRUE;HHOOK hKook;WNDPROC hOldProc;LRESULT CALLBACKWndProcDlg(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam){ TRACE( "%x/n", nMsg); if( nMsg == WM_INITDIALOG ) { LRESUL
2006-12-07 23:54:00
982
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人