Welcome![Sign In][Sign Up]
Location:
Search - VARIANT com

Search list

[ActiveX/DCOM/ATLvariantuse

Description: 一个用VC++写的如何使用variant的例子,对在Com编程中帮助各种variant数据转换。
Platform: | Size: 15851 | Author: 小树狐舞 | Hits:

[ActiveX/DCOM/ATLComplex_Matrix13_Matrix9

Description: 用vb编写的3个带有导出函数的dll,给出了相应的调用代码。用vb编写和调用dll时有一些限制,涉及到BSTR/VARIANT类型的函数最好用vc编写成dll/com。
Platform: | Size: 144233 | Author: hanxiaohua | Hits:

[ActiveX/DCOM/ATLVC下利用COM传递不定长结构数组(非Variant)

Description: Variant变量可以在COM/DCOM接口方法中传递(传入、传出)不定长结构数组,但是需要打包和解包,效率比较低。这个例子使用了size_is指定长度的方法,本是从MSDN上看到的,但是MSDN上给出的例子不够具体,所以费了些时间摸索,最后试通,给刚接触COM的朋友分享(老家伙们可以直接无视)。本例子由于是工作需要做得试验程序,因此其中存在少量冗余代码,大家注意一下就行了,还有,减少传递的参数个数时,所传递的实时(随机模拟)数据只是减了最后一个(没有减去相对应的),这个Bug不妨碍大局,因此存留,虽然Server支持DCOM,但是Client需要在本地运行,如果想Remote,稍微修改一下既可。
Platform: | Size: 358855 | Author: seaskyfox | Hits:

[ActiveX/DCOM/ATLvariantuse

Description: 一个用VC++写的如何使用variant的例子,对在Com编程中帮助各种variant数据转换。-A used VC++ Written examples of how to use the variant of the Com programming to help a variety of variant data conversion.
Platform: | Size: 15360 | Author: 小树狐舞 | Hits:

[Otherbyte-VARIANT

Description: 这段程序可以把byte[](字节数组)转换为VARIANT类型。-This procedure can be byte [] (byte array) is converted to type VARIANT.
Platform: | Size: 2048 | Author: 淡月清风 | Hits:

[ActiveX/DCOM/ATLComplex_Matrix13_Matrix9

Description: 用vb编写的3个带有导出函数的dll,给出了相应的调用代码。用vb编写和调用dll时有一些限制,涉及到BSTR/VARIANT类型的函数最好用vc编写成dll/com。 -Prepared using vb export functions with three of the dll, call the corresponding code. Using vb to prepare and when to call dll has some limitations related to BSTR/VARIANT type of function is best to use vc preparation into dll/com.
Platform: | Size: 144384 | Author: hanxiaohua | Hits:

[GUI DevelopVariantArray

Description: Com编程中VARIANT类型的处理比较麻烦,本代码对其进行了封装-Com Programming VARIANT type is too much trouble to deal with, the code for their package
Platform: | Size: 225280 | Author: 向昊 | Hits:

[ActiveX/DCOM/ATLDataTransfer_DCOM

Description: 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.
Platform: | Size: 358400 | Author: seaskyfox | Hits:

[Windows DevelopVariantArray_demo

Description: com变量数组的一个很好的例子程序 -com Variant
Platform: | Size: 55296 | Author: Lee | Hits:

[ActiveX/DCOM/ATLatlsafearray

Description: 基于ATL的COM接口开发中,VARIANT类型参数数组使用说明的VC++源代码。-failed to translate
Platform: | Size: 11264 | Author: lxj | Hits:

[Com Portcom-

Description: Option Explicit Dim vChar() As String Dim outbte() As Byte Dim snum As Integer Dim rnum As Integer Dim p As Integer Dim s As String Dim out(100) As Byte Dim varP As Variant API函数,用于取得Windows系统自启动以来所经过的时间(单位为毫秒) Private Declare Function GetTickCount Lib "kernel32" () As Long Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Platform: | Size: 28672 | Author: hpzxx | Hits:

[OtherAlphaControl

Description: create variant array where we'll copy our data} arrData := VarArrayCreate([1, StringGrid2.RowCount, 1, StringGrid2.ColCount], varVariant); {fill array} for i := 1 to StringGrid2.RowCount do for j := 1 to StringGrid2.ColCount do arrData[i, j] := StringGrid2.Cells[j-1, i-1]; {initialize an instance of Excel} xls := CreateOLEObject('Excel.Application'); {create workbook} wb := xls.Workbooks.Add; {retrieve a range where data must be placed} Range := wb.WorkSheets[1].Range[wb.WorkSheets[1].Cells[1, 1], wb.WorkSheets[1].Cells[StringGrid2.RowCount, StringGrid2.ColCount]]; {copy data from allocated variant array} Range.Value := arrData; {show Excel with our data}
Platform: | Size: 4353024 | Author: dwik | Hits:

CodeBus www.codebus.net