dll中创建adoconnetion,报错'尚未调用CoInitialize',为什么啊 dll中创建adoconnetion,报错'尚未调用CoInitialize',为什么啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在DLL中创建com组件需要首先调用一下CoInitializeEx,MSDN中的说明:Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required. ActiveX类组件的动态建立,都需要CoInit的http://lysoft.7u7.net 在dll初始化时加入: CoInitialize(Nil);记得uses Activex 跨年第一贴:求转换成 小时:分钟:秒数的函数,小时数大于24, 我该选择哪里呢 初学者调用WIN32 API的问题 delphi中的随机函数是什么啊? 心情郁闷!散分! DELPHI 6如何和SQL SEVER2000连接呀! delphi中adoconnection组件网络断了怎样自动连接 两个线程公用一个数组的问题 delphi MSConnection,mstable,msquery是什么控件,给发一份 公司要用delphi,从哪里入手比较好?买哪些书比较合适? 求一段復雜的插入代碼 Help!
Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required.
CoInitialize(Nil);记得uses Activex