<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

统计

  • 随笔 - 44
  • 文章 - 0
  • 评论 - 86
  • 引用 - 0

常用链接

留言簿(6)

随笔分类(31)

随笔档案(44)

Mining

最新随笔

搜索

  •  

最新评论

阅读排行榜

评论排行榜

re: 山寨机陷阱 泡泡牛 2010-01-31 16:50
山寨机可以根据GRPS流量赚钱
我用的是8100

备份文件和那个型号是没有关系的:)
在 struct 中
在头加上 from struct import * 就行了
re: 在 C++ 中使用 Python script 泡泡牛 2008-09-24 22:17
1. 修改 pyconfig.h

修改

#ifdef _DEBUG
# define Py_DEBUG
#endif



#ifdef _DEBUG
//# define Py_DEBUG
#endif

修改

# ifdef _DEBUG
# pragma comment(lib,"python24_d.lib")
# else
# pragma comment(lib,"python24.lib")
# endif /* _DEBUG */



# ifdef _DEBUG
# pragma comment(lib,"python24.lib")
# else
# pragma comment(lib,"python24.lib")
# endif /* _DEBUG */


2. object.h
修改
#if defined(Py_DEBUG) && !defined(Py_TRACE_REFS)
#define Py_TRACE_REFS
#endif



#if defined(Py_DEBUG) && !defined(Py_TRACE_REFS)
// #define Py_TRACE_REFS
#endif
re: 在 C++ 中使用 Python script 泡泡牛 2008-08-15 20:34
谁知道有什么其他的可以在c++ 里面调用的script 引擎吗?
@小笨象

http://codecentrix.blogspot.com/2007/10/when-ihtmlwindow2getdocument-returns.html

这里已经解决了这个问题, 嘿嘿, 顺便抄到了这里:)
@xuliangchao
我只做了 vml 的实现, 参考的是下面的地址, 你可以直接访问这些, 然后从ie 缓存得到源码的.
个人感觉 http://www.mxgraph.com/demo/mxgraph/editors/diagrameditor.html 的是最强大的, 是整一个的ui库实现, 但是速度也比较慢.

VML画板
http://www.tool.la/VMLPalette/

VML编辑器
http://www.dynamicdrive.com/dynamicindex11/editor.htm

流程图
http://cosoft.org.cn/projects/webflow

How to Implement Vector Markup Language (VML) on Web Pages?
http://www.tudjarov.hit.bg/vml/vmlbt.html

VML Chart 控件
http://dev.csdn.net/article/23/23770.shtm

Chart Demo
http://webfx.eae.net/dhtml/chart/demo.html
heihei
自己写的不好, 一些是从其他地方copy 过来的, 所以加上:) 呵呵
re: 来自soso.com的攻击 泡泡牛 2007-12-27 19:37
蜘蛛抓的太猛了

不能说是攻击吧
re: COM 类工厂有必要存在吗 泡泡牛 2007-11-20 16:21
:/ 嘿嘿, 没说清楚

是没有必要单独实现IClassFactory 的具体类
re: 函数用const修饰算不算重载 泡泡牛 2007-08-13 09:52
如果有front() const和front()函数 运行时进入front()
^^^^^

b 是 const 的时候调用 () const
b 非 const 的时候调用 ()


b 非const 而只有() const, 则隐式转换为const 调用
Dialog 资源编辑中直接可以指定最大,最小按钮的
re: YC 浏览器 泡泡牛 2007-04-26 11:52
"""不应该让我下载到东西的"""
什么意思啊...


界面都是他自己绘制而成的. 另外主要的看点是对html 和css 以及js的实现
re: YC 浏览器 泡泡牛 2007-04-26 10:35
刚刚上传到文件, 在文章后有下载的地方, 3个压缩包解压就行了...

re: YC 浏览器 泡泡牛 2007-04-26 09:50


因为只是部分实现C++ 功能, 所以在编译速度没有什么可比性

但是从他所实现的整个东西来看, 而且如果真的没有参考任何源代码的话, 还是很牛的, 只是是非常有毅力..
CWMPControls* control = (CWMPControls*)player->get_controls();

这个有问题吧, 你确定player->get_controls() 返回的是CWMPControls* ?