
VC++
hslinux
~~~~~
展开
-
需要License的控件使用示例:创建带License的MSChart对象
跟随Visual stutio提供的控件里面很大一部分是需要License的控件,如果安装了Visual stutio,则相应的License会安装到注册表中去,OK,这台PC可以使用该控件了。但是。。。。。。,如果你发布使用了该控件的软件,你得为该软件做相应的处理,不然该控件就会罢工了。VC中为软件写入控件的License,下面的MSChart的LicenseKey:WCHAR pwchLice原创 2007-03-31 01:01:00 · 2290 阅读 · 0 评论 -
ASP中调用带参数输出的COM接口
COM接口VC实现,接口:[id(1), helpstring("method Test")] HRESULT Test([in] BSTR strInputA, [in] BSTR strInputB, [out,retval] VARIANT* result);ASP调用:Set objCompInfo =server.CreateObject("组件在系原创 2009-10-15 16:29:00 · 707 阅读 · 0 评论 -
VS2008 Release模式下的调试设置
VS2008 C++项目 Release模式下的调试设置 Solution Explorer选中项目,右键-->properties:Configuration Properties--->C++------>General--------->Debug Information Format->Program DataBase for Eidt & Co原创 2009-12-15 13:04:00 · 5251 阅读 · 0 评论 -
gSoap入门之一__下载及编译gsoap两大法宝
webservice, gsoap。soapcpp2编译问题;原创 2010-09-16 14:33:00 · 6204 阅读 · 2 评论 -
ffmepg 指定网络连接模式UDP还是TCP
AVFormatContext *formatCtx = NULL; formatCtx = avformat_alloc_context(); AVDictionary* options = NULL; av_dict_set(&options, "rtsp_transport", "tcp", 0); avformat_open_input(原创 2013-07-03 12:14:53 · 3429 阅读 · 2 评论 -
VC 键盘键值定义与含义
这些东东,在WinUser.h中定义。void CDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);BOOL CDlg::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);BOOL CDlg::PreTranslateMessage(MS原创 2014-01-20 11:18:06 · 3396 阅读 · 0 评论 -
std::string 类操作函数说明
// string类的构造函数:string(const char *s); // 用c字符串s初始化string(int n,char c); //用n个字符c初始化// string类的字符操作:const char &operator[](int n)const;const char &at(int n)const;char &operator[](int n原创 2014-07-29 17:11:14 · 994 阅读 · 0 评论