COM
HackerJLY
C,C ,API,MFC,VB6,Win32_ASM,C#,SQL,JavaScript,VBScript,HTML
展开
-
How to invoke active dll written by VB using VC - VC如何调用VB写的Active Dll - 详解
零、VB Dll:prjCOMWriteNTLog.clsMain 代码,此程序只有一个Class Option Explicit Public Function WriteNTLog(ByVal strMsg As String) With App .StartLogging "c:/log.log", LogModeConstant原创 2009-02-08 04:20:00 · 1047 阅读 · 0 评论 -
How to access database using C++ & ADO - 如何用C++和ADO访问数据库
一、在:CWinApp::InitInstance 函数中用AfxOleInit初始化 COM if (!AfxOleInit()) { AfxMessageBox("AfxOleInit Failed!"); return FALSE; }二、用 #Import 引入 ADO 对象 Dll:msado15.dll #import "c:/program files/common fi原创 2009-02-11 09:51:00 · 838 阅读 · 0 评论