• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
cjx_xmu
.net世界
博客园 首页 新随笔 联系 订阅 订阅 管理

2005年6月5日

如何在VC.NET中制作并使用动态链接库DLL
摘要: 如何在VC.NET中制作并使用动态链接库DLL 1、将C++类做成DLL 建立一个MFC DLL工程,PacketTransfer;将类的头文件搞到PacketTransfer.h中,并在要在外部调用的类声明前加_declspec(dllexport),如:要在外内调用CPacketTransfer类,可对该类做声明: class _declspec(dllexport) CPacketTra... 阅读全文
posted @ 2005-06-05 16:32 大漠孤狼 阅读(2725) 评论(0) 推荐(0)
 
 

2005年5月30日

在VB.NET中调用动态链接库dll
摘要: 一.dll内容1.dll中的函数声明extern "C" _declspec(dllexport) bool MakeMD5File(char *file,char *key);extern "C" _declspec(dllexport) int ValidateMD5File(char *file,char *key,char *object);extern "C" _declspec(dll... 阅读全文
posted @ 2005-05-30 20:54 大漠孤狼 阅读(9479) 评论(1) 推荐(0)
 
 

2005年5月17日

在asp.net中用adomd控件建立数据仓库应用
摘要: 1.连接 Public catalog As New ADOMD.CatalogDim strServer As String '服务器地址Dim strCatalog As StringDim strConn As String '连接串Dim conn As New ADODB.ConnectionstrServer = Session("Server") '得到服务器地址strCat... 阅读全文
posted @ 2005-05-17 02:41 大漠孤狼 阅读(742) 评论(0) 推荐(0)
 
asp.net 连接 access 数据库
摘要: 1. Dim conn As New ADODB.Connection Dim strConn As String Dim sql As String '连接串strConn = "Provider=microsoft.jet.oledb.4.0;Data Source=" & _ Server.MapPath("Data\users.mdb") 'SQL查询语句sql = "sele... 阅读全文
posted @ 2005-05-17 02:26 大漠孤狼 阅读(626) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3