Visual C++6.0 调用Visual Basic 6.0写的Microsoft Communications Control(ActiveX)的使用疑难及解决办法...

 

VC调用VB的控件,最大的难点,就是数据类型不一致。VB是有Variant这个数据类型的,但是问题就出在这里,VC要使用VB返回的Variant,就像一只狐狸要吃一只刺猬,食物就在面前,可

这很难下口。昨天下午找了半天,也没啥进展,今天终于有所突破,本质就是COM给带来的。

我说得不透彻,文章讲得很好:http://www.roblocher.com/whitepapers/oletypes.aspx

 

VC、VB、COM之间的关系,只有好好看看微软出得的书,恐怕才能搞明白。

Technorati 标签: VC, VB, COM
-10/09/2014 Made a cross platform TcpClient class to remove WP8 shenanigans with prebuilt DLL. -02/09/2014 Bugfix for certain chunked-encoding transfers. Removed Ionic ZLib dependency. -14/04/2014 Added experimental KeepAlive support. Uncomment #USE_KEEPALIVE in Request.cs to enable. -08/04/2014 Added a tiny embeddable web server with REST style components. UniWeb now includes the UniExtender package in DLL form. Source code is available. See: https://www.assetstore.unity3d.com/#/content/2597 -03/04/2014 Added new TcpClient from SocketEx, and BouncyCastle crypto library. This means we should have full WP8 support! -24/03/2014 Corrected proxy support on mobile devices. -07/03/2014 Added proxy support. Added FAQ. - 28/02/2014 Added demo server scripts for nodejs. Added exception feedback to WebSocket. Added SocketIOClient and WebSocketClient examples. - 03/01/2014 Added default Accept header if not specified. Removed Authorisation header if uri.UserInfo is null or == "" - 05/12/2013 Added new ZLib DLL that allows compilation with .NET 2.0 Subset. Added comments showing where to implement SSL certificate check. - 26/11/2013 Fixed Disposed object exception when using GZip. Fixed Redirect Handling (change Method to "GET" on 301, 302, leave unchanged on 307) - 22/11/2013 Refactoring Marathon: Modified Socket.IO to be closer to the offical API. Merged all examples into one file. Removed obsolete methods. Removed some extra methods, so there should only be one way to do something. (or 2 ;-) Bugs Fixed: Dead requests when coming back from sleep on iOS Added close messages to discarded websockets.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值