文件名称:DataTransfer_DCOM

  • 所属分类:
  • ActiveX/DCOM
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 350kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • seas*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

Variant变量可以在COM/DCOM接口方法中传递(传入、传出)不定长结构数组,但是需要打包和解包,效率比较低。这个例子使用了size_is指定长度的方法,本是从MSDN上看到的,但是MSDN上给出的例子不够具体,所以费了些时间摸索,最后试通,给刚接触COM的朋友分享(老家伙们可以直接无视)。本例子由于是工作需要做得试验程序,因此其中存在少量冗余代码,大家注意一下就行了,还有,减少传递的参数个数时,所传递的实时(随机模拟)数据只是减了最后一个(没有减去相对应的),这个Bug不妨碍大局,因此存留,虽然Server支持DCOM,但是Client需要在本地运行,如果想Remote,稍微修改一下既可。-Variant variables can be in the COM/DCOM interface method of delivery (incoming, outgoing) variable-length array of structures, but it needs to be packaged reconciliation package, the efficiency is relatively low. This example uses the method size_is specified length, this is seen from the MSDN, but the example given on MSDN is not specific enough, it took some time to explore, the final test pass, to a friend new to COM sharing (the old guy They can ignore). This example needs to be done because it is the work of testing procedures, and therefore, there is a small amount of redundant code, we take note of the line, and also to reduce the number of parameters passed when the transmission of real-time (stochastic simulation) data only by the last one (No less opposite page), this Bug is without prejudice to the overall situation, therefore retained, although the Server supports DCOM, but the Client needs to run locally, if you want Remote, a little change it can.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

ClientCP

........\ClientCP.aps

........\ClientCP.clw

........\ClientCP.cpp

........\ClientCP.dsp

........\ClientCP.dsw

........\ClientCP.h

........\ClientCP.ncb

........\ClientCP.opt

........\ClientCP.plg

........\ClientCP.rc

........\ClientCPDlg.cpp

........\ClientCPDlg.h

........\EditItem.cpp

........\EditItem.h

........\MEMDC.H

........\MyConst.h

........\ReadMe.txt

........\res



........\...\ClientCP.rc2

........\resource.h

........\StdAfx.cpp

........\StdAfx.h

........\XComboList.cpp

........\XComboList.h

........\XHeaderCtrl.cpp

........\XHeaderCtrl.h

........\XListCtrl.cpp

........\XListCtrl.h

ClientDP

........\ClientDP.aps

........\ClientDP.clw

........\ClientDP.cpp

........\ClientDP.dsp

........\ClientDP.dsw

........\ClientDP.h

........\ClientDP.ncb

........\ClientDP.opt

........\ClientDP.plg

........\ClientDP.rc

........\ClientDPDlg.cpp

........\ClientDPDlg.h

........\EditItem.cpp

........\EditItem.h

........\MEMDC.H

........\MyConst.h

........\ReadMe.txt

........\res



........\...\ClientDP.rc2

........\resource.h

........\StdAfx.cpp

........\StdAfx.h

........\XComboList.cpp

........\XComboList.h

........\XHeaderCtrl.cpp

........\XHeaderCtrl.h

........\XListCtrl.cpp

........\XListCtrl.h

DataTransfer

............\CentralProgram.cpp

............\CentralProgram.h

............\CentralProgram.rgs

............\DataPlugins.cpp

............\DataPlugins.h

............\DataPlugins.rgs

............\DataTransfer.aps

............\DataTransfer.cpp

............\DataTransfer.dsp

............\DataTransfer.dsw

............\DataTransfer.h

............\DataTransfer.idl

............\DataTransfer.ncb

............\DataTransfer.opt

............\DataTransfer.plg

............\DataTransfer.rc

............\DataTransfer.rgs

............\DataTransfer.tlb

............\DataTransferps.def

............\DataTransferps.dll

............\DataTransferps.exp

............\DataTransferps.lib

............\DataTransferps.mk

............\DataTransfer_i.c

............\DataTransfer_i.obj

............\DataTransfer_p.c

............\DataTransfer_p.obj

............\dlldata.c

............\dlldata.obj

............\MyConst.h

............\MyStruct.h

............\resource.h

............\StdAfx.cpp

............\StdAfx.h

............\~VC212.tmp

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org