
ATL
文章平均质量分 56
kamaliang
致力游戏开发,IT互联网前沿技术,敏捷开发,团队和项目管理
展开
-
Graph ActiveX Control Samples [CodeProject]
2D Graph ActiveX Control IntroductionThis is a simple OCX control, which allows you to plot two-dimensional data. Despite the large set of controls that comes with VC++, there is no out-of-the原创 2009-02-13 15:31:00 · 1168 阅读 · 0 评论 -
ActiveX打包与发布
一、ActiveX发布步骤1、单击"开始"-->"运行(R)"-->输入"cmd"-->回车-->进入到操作的控件所在的目录;2、创建PVK文件(私人密匙文件),在命令行中输入"makecert -sk demo demo.pvk -n CN=XXXXXXX公司",然后回车;3、创建CER文件(公司证书),在命令行中输入"makecert -sk demo.pvk demo原创 2009-02-15 21:28:00 · 4715 阅读 · 0 评论 -
获取ActiveX控件本身所在的路径 和 error PRJ0050
一、CString GetCurPath() { TCHAR exeFullPath[MAX_PATH]; CString strPath; GetModuleFileName(AfxGetInstanceHandle(),exeFullPath,MAX_PATH); strPath.Format("%s", ex原创 2009-03-02 16:37:00 · 5876 阅读 · 0 评论 -
获取ActiveX所在网页的网址
原创 2009-05-27 10:43:00 · 866 阅读 · 0 评论 -
CLSID和ProgID的转换
HRESULT CLSIDFromProgID(LPCOLESTR lpszProgID, // 指向ProgID的指针LPCLSID pclsid // 指向CLSID的指针);WINOLEAPI ProgIDFromCLSID(REFCLSID clsid, // CLSID 的值,已知LPOLESTR * lplpszProgID // 指向接原创 2009-06-05 00:10:00 · 2519 阅读 · 0 评论 -
用Javascript判断IE是否已经安装Activex插件和禁用ActiveX
script>function DetectActiveX(){try {var comActiveX = new ActiveXObject(V2.V2Ctrl.1); // 判断IE是否已经安装视频插件} catch (e) {return false;}return true;} if(DetectActiveX()==true){ ale原创 2009-06-05 00:35:00 · 3686 阅读 · 0 评论 -
安装IE8后,VS2008无法调试ActiveX的问题
Microsoft论坛有给出一个解决方案:http://social.microsoft.com/Forums/en-US/vsdebug/thread/e2c795cd-b7a0-4fad-b7c9-b1ca40d7302e1. 点击【开始】->【运行】 命令:regedit.2. 定位到HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet原创 2009-08-30 14:27:00 · 2679 阅读 · 1 评论 -
Reloading an ActiveX control error
U must make sure u destroy ur control correctly1) check/debug your main ATL class destructor.u may be doing something wrong there.2) if u have threads running, make sure to stop them.3) unload loaded原创 2009-08-30 15:51:00 · 697 阅读 · 0 评论