C++;C;Java;C#;Asp;Php;SQL ...
最近在一个项目中,涉及到了C#的程序和一个C++的程序进行UDP交互数据的,所以就连续写了两个模块。希望能对大家有所帮助:
源代码下载:
下载文件 (已下载 55 次)
源代码下载:
下载文件 (已下载 55 次)
在一个最近的项目中,由于设备使用了德国IDS公司的镜头设备,在C#没有相关的录制视频的功能,但在VC的开放代码中提供了,另外从uEye中国代理公司获取了一些帮助,感谢这位同仁。
PHP5.3的发布修复了5.2版本中所有的bug,同时增加了几个有意思的功能,如namespace,closures,namespace个人觉得不是很喜欢,但是Closure很好玩,以下代码摘自php.net
原文地址:http://blog.csdn.net/aoosang/archive/2005/05/26/381148.aspx
可惜所有图片丢失,我四处搜索才找到原文,另外代码我特殊处理了一下,稍微好看一点,感谢作者的精彩文章
本篇文档主要描述关于用Directshow进行视频开发的一些技术
主要包括下面内容
1关于视频捕捉(About Video Capture in Dshow)
2选择一个视频捕捉设备(Select capture device)
3预览视频(Previewing Video)
4如何捕捉视频流并保存到文件(Capture video to File)
5将设备从系统中移走时的事件通知(Device remove Notify)
6如何控制Capture Graph(Controlling Capture Graph)
7如何配置一个视频捕捉设备
8从静止图像pin中捕捉图片
可惜所有图片丢失,我四处搜索才找到原文,另外代码我特殊处理了一下,稍微好看一点,感谢作者的精彩文章
本篇文档主要描述关于用Directshow进行视频开发的一些技术
主要包括下面内容
1关于视频捕捉(About Video Capture in Dshow)
2选择一个视频捕捉设备(Select capture device)
3预览视频(Previewing Video)
4如何捕捉视频流并保存到文件(Capture video to File)
5将设备从系统中移走时的事件通知(Device remove Notify)
6如何控制Capture Graph(Controlling Capture Graph)
7如何配置一个视频捕捉设备
8从静止图像pin中捕捉图片
| 引用(0)
本次zz http://blog.csdn.net/dankes/archive/2005/07/31/443122.aspx
原文已经无考证,作者提到,转自阿须数码,STONE 原创 http://www.assuredigit.com/
图像处理方面的研究工作,最重要的两个问题:其一是要把握住国际上最前沿的内容;其二是所作工作要具备很高的实用背景。解决第一个问题的办法就是找出这个方向公认最牛的几个超级大拿(看看他们都在作什么)和最权威的出版物(阅读上面最新的文献),解决第二个问题的办法是你最好能够找到一个
原文已经无考证,作者提到,转自阿须数码,STONE 原创 http://www.assuredigit.com/
图像处理方面的研究工作,最重要的两个问题:其一是要把握住国际上最前沿的内容;其二是所作工作要具备很高的实用背景。解决第一个问题的办法就是找出这个方向公认最牛的几个超级大拿(看看他们都在作什么)和最权威的出版物(阅读上面最新的文献),解决第二个问题的办法是你最好能够找到一个
| 引用(0)
原文:http://www.mygis.com.cn/articles/23-12682-12682.htm,
1、问题的提出
在桌面应用中,经常需要用后台线程处理数据,然后将数据更新到地图上显示。
由于MapInfo.Engine内部线程管理机制,从主线程(也就是创建MapControl控件实例的线程)之外的线程不能直接调用MapInfo.Engine.Session.Current.Catalog来获取地图的编录。
2、解决方法
利用 mapControl1.InvokeRequired 检测是否需要通过Invoke机制更新mapContrl1控件。当对mapControl1更新的调用方位于创建mapControl1控件所在的线程以外的线程时mapControl1.InvokeRequired = true
1、问题的提出
在桌面应用中,经常需要用后台线程处理数据,然后将数据更新到地图上显示。
由于MapInfo.Engine内部线程管理机制,从主线程(也就是创建MapControl控件实例的线程)之外的线程不能直接调用MapInfo.Engine.Session.Current.Catalog来获取地图的编录。
2、解决方法
利用 mapControl1.InvokeRequired 检测是否需要通过Invoke机制更新mapContrl1控件。当对mapControl1更新的调用方位于创建mapControl1控件所在的线程以外的线程时mapControl1.InvokeRequired = true
| 引用(0)
http://www.codeproject.com/KB/GDI-plus/Image_Processing_Lab.aspx
http://www.codeproject.com/KB/GDI-plus/MomentsTracking.aspx
http://www.codeproject.com/KB/GDI-plus/MomentsTracking.aspx
| 引用(0)
1:GCC发布新版本,号称支持C++0x 参考 http://linuxtoy.org/archives/gcc-441-c-ox.html
2:自从Oracle收购Sun后,MYSQL不知将何去何从,MYSQL创始人有意创造一分支,感觉这是好事情,开源的受益者是用户。而摒弃之前MYSQL的代码毕竟开发出更好的数据库系统
3:Linux的前景应该很好,越来越多的投入其怀抱。
BullionVault的后台服务器最初是运行Fedora Core Linux,现在换成了CentOS发行版,网络监控使用Nagios,系统镜像使用Drbd,工作计划使用Quartz,负载平衡使用Heartbeat,内容管理使用Subversion,其中BullionVault还向Nagios捐赠了加密补丁。网站搜索是Apache Lucene,网站内容管理是Drupal。前台桌面系统仍主要运行Windows,少量机器是Linux,邮件客户端是Thunderbird,浏览器是Firefox,办公软件是Microsoft Office(OpenOffice的电子表格程序常出现崩溃,所以出于可靠性的担忧而放弃使用)。
以上来自solidot.info http://www.h-online.com/open/features/113118
2:自从Oracle收购Sun后,MYSQL不知将何去何从,MYSQL创始人有意创造一分支,感觉这是好事情,开源的受益者是用户。而摒弃之前MYSQL的代码毕竟开发出更好的数据库系统
3:Linux的前景应该很好,越来越多的投入其怀抱。
引用
BullionVault的后台服务器最初是运行Fedora Core Linux,现在换成了CentOS发行版,网络监控使用Nagios,系统镜像使用Drbd,工作计划使用Quartz,负载平衡使用Heartbeat,内容管理使用Subversion,其中BullionVault还向Nagios捐赠了加密补丁。网站搜索是Apache Lucene,网站内容管理是Drupal。前台桌面系统仍主要运行Windows,少量机器是Linux,邮件客户端是Thunderbird,浏览器是Firefox,办公软件是Microsoft Office(OpenOffice的电子表格程序常出现崩溃,所以出于可靠性的担忧而放弃使用)。
以上来自solidot.info http://www.h-online.com/open/features/113118
在Linux下开发BTTrackerServer的时候,曾经使用过该类,一直也没有怎么总结,这次是学生在开发的时候碰到,就根据网络资料进行整理了。申明,大部分资料来源于网络。
首先,使用libcurl的步骤如下:
在基于LibCurl的程序里,主要采用callback function (回调函数)的形式完成传输任务,用户在启动传输前设置好各类参数和回调函数,当满足条件时libcurl将调用用户的回调函数实现特定功能。下面是利用libcurl完成传输任务的流程:
1. 调用curl_global_init()初始化libcurl
2. 调用 curl_easy_init()函数得到 easy interface型指针
3. 调用curl_easy_setopt设置传输选项
4. 根据curl_easy_setopt设置的传输选项,实现回调函数以完成用户特定任务
5. 调用curl_easy_perform()函数完成传输任务
6. 调用curl_easy_cleanup()释放内存
在整过过程中设置curl_easy_setopt()参数是最关键的,几乎所有的libcurl程序都要使用它。
另外,在C++Builder中,方法使用的是LoadLibrary,GetProcAddress函数。
下载最新的libcurl (win32-generic)
取得 libcurl-4.dll. 复制到开发程序目录下面
将include目录下的curl复制到BCB安装目录的include文件夹.
代码如下:
另外可执行代码如下:
参考文章:
http://blog.csdn.net/collin1211/archive/2008/05/09/2422940.aspx
http://blog.myspace.cn/e/402526981.htm
http://hi.baidu.com/zkheartboy/blog/item/e40fc362f5d985dee6113ad9.html
http://blog.chinaunix.net/u/12592/showart_1140684.html
http://exodus.cs.ccu.edu.tw/~yuwen/NUBlog/
http://blog.vckbase.com/michael/archive/2008/07/08/15426.html
首先,使用libcurl的步骤如下:
引用
在基于LibCurl的程序里,主要采用callback function (回调函数)的形式完成传输任务,用户在启动传输前设置好各类参数和回调函数,当满足条件时libcurl将调用用户的回调函数实现特定功能。下面是利用libcurl完成传输任务的流程:
1. 调用curl_global_init()初始化libcurl
2. 调用 curl_easy_init()函数得到 easy interface型指针
3. 调用curl_easy_setopt设置传输选项
4. 根据curl_easy_setopt设置的传输选项,实现回调函数以完成用户特定任务
5. 调用curl_easy_perform()函数完成传输任务
6. 调用curl_easy_cleanup()释放内存
在整过过程中设置curl_easy_setopt()参数是最关键的,几乎所有的libcurl程序都要使用它。
另外,在C++Builder中,方法使用的是LoadLibrary,GetProcAddress函数。
引用
下载最新的libcurl (win32-generic)
取得 libcurl-4.dll. 复制到开发程序目录下面
将include目录下的curl复制到BCB安装目录的include文件夹.
代码如下:
另外可执行代码如下:
参考文章:
http://blog.csdn.net/collin1211/archive/2008/05/09/2422940.aspx
http://blog.myspace.cn/e/402526981.htm
http://hi.baidu.com/zkheartboy/blog/item/e40fc362f5d985dee6113ad9.html
http://blog.chinaunix.net/u/12592/showart_1140684.html
http://exodus.cs.ccu.edu.tw/~yuwen/NUBlog/
http://blog.vckbase.com/michael/archive/2008/07/08/15426.html
编程现象:
线程间操作无效: 从不是创建控件“...”的线程访问它。
解决方法:
关于 2003转到2005 线程间操作无效: 从不是创建控件“listView1”的线程访问它
参考:
http://blog.csdn.net/laohan8848/archive/2006/08/16/1073355.aspx
http://topic.csdn.net/t/20050917/17/4276978.html
http://www.cnblogs.com/matrixnull/archive/2008/08/17/1269952.html
http://blog.csdn.net/huangbomeizi/archive/2008/07/05/2613654.aspx
线程间操作无效: 从不是创建控件“...”的线程访问它。
解决方法:
关于 2003转到2005 线程间操作无效: 从不是创建控件“listView1”的线程访问它
参考:
http://blog.csdn.net/laohan8848/archive/2006/08/16/1073355.aspx
http://topic.csdn.net/t/20050917/17/4276978.html
http://www.cnblogs.com/matrixnull/archive/2008/08/17/1269952.html
http://blog.csdn.net/huangbomeizi/archive/2008/07/05/2613654.aspx
| 引用(0)
http://www.navlet.org/
http://freshmeat.net/search?page=3&q=java+mobile&submit=Search&with=&without=
http://sourceforge.net/search/?type_of_search=soft&words=j2me
http://freshmeat.net/search?page=3&q=java+mobile&submit=Search&with=&without=
http://sourceforge.net/search/?type_of_search=soft&words=j2me
| 引用(0)
http://www.imagemagick.org/script/index.php
大型图片站的处理
Xdebug 和 wincachegrind 做优化的
DBA Notes 关于
http://www.dbanotes.net/arch/imobile_web_arch_gaochunhui.html
的架构
http://www.cnenn.cn/html/jiuxingrengeceshi/
手机行业发展相关参考
http://www.imobile.com.cn/
http://varnish.projects.linpro.no/
大型图片站的处理
Xdebug 和 wincachegrind 做优化的
DBA Notes 关于
http://www.dbanotes.net/arch/imobile_web_arch_gaochunhui.html
的架构
http://www.cnenn.cn/html/jiuxingrengeceshi/
手机行业发展相关参考
http://www.imobile.com.cn/
http://varnish.projects.linpro.no/
| 引用(0)
原文是 http://topic.csdn.net/t/20030527/16/1840676.html
另外 有一个需要注意的地方是编译器的问题,在VC8中的代码参考 http://www.cnblogs.com/oomusou/archive/2006/10/15/529409.html
另外英文一篇文章提到:
Using the Transform() Algorithm to Change a String's Case
也就是 :: 不需要加就可以编译通过,而在Linux下面的Netbeans中,则需要加这个符号,另外VC6也是如此。
另外 有一个需要注意的地方是编译器的问题,在VC8中的代码参考 http://www.cnblogs.com/oomusou/archive/2006/10/15/529409.html
另外英文一篇文章提到:
Using the Transform() Algorithm to Change a String's Case
也就是 :: 不需要加就可以编译通过,而在Linux下面的Netbeans中,则需要加这个符号,另外VC6也是如此。
原文地址:http://www.devx.com/SpecialReports/Article/38883
//
One major new feature in the C++0x standard is multi-threading support. Prior to C++0x, any multi-threading support in your C++ compiler has been provided as an extension to the C++ standard, which has meant that the details of that support varies between compilers and platforms. However, with the new standard, all compilers will have to conform to the same memory model and provide the same facilities for multi-threading (though implementors are still free to provide additional extensions). What does this mean for you? It means you'll be able to port multi-threaded code between compilers and platforms with much reduced cost. This will also reduce the number of different APIs and syntaxes you’ll have to know when writing for multiple platforms.
The core of the new thread library is the std::thread class, which manages a thread of execution, so let's start by looking at that.
//
One major new feature in the C++0x standard is multi-threading support. Prior to C++0x, any multi-threading support in your C++ compiler has been provided as an extension to the C++ standard, which has meant that the details of that support varies between compilers and platforms. However, with the new standard, all compilers will have to conform to the same memory model and provide the same facilities for multi-threading (though implementors are still free to provide additional extensions). What does this mean for you? It means you'll be able to port multi-threaded code between compilers and platforms with much reduced cost. This will also reduce the number of different APIs and syntaxes you’ll have to know when writing for multiple platforms.
The core of the new thread library is the std::thread class, which manages a thread of execution, so let's start by looking at that.
引用
It's been 10 years since the first ISO C++ standard, and 2009 will bring us the second.
已经10年了,虽然当初的时候并不认识C++.去年的时候已经沸沸扬扬了很久,比如泛型,比如线程支持,还有称将boost加入C++ Standard Library,当然还有GC也据说会得到更好的补充,比如可以开启GC或者关闭GC以达到各种支持。一些新的语言的推出已经抢走了很大的用户群体了。也希望这次的标准可以更大的改变一些。



2010/05/08
22:48
513




