文件名称:FullyInstacenAboutComInterface
- 所属分类:
- 压缩解压
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2.66mb
- 下载次数:
- 0次
- 提 供 者:
- 郑**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本文通过一个作例子具体讲述了将自定义的数据类型(结构体)定义为一个标准的COM的组件,通过组件接口访问这些成员的过程。
COM组件通过VC ATL向导完成。
客户端访问接口的过程通过一个C#应用程序完成。
-A COM Interface instance
COM组件通过VC ATL向导完成。
客户端访问接口的过程通过一个C#应用程序完成。
-A COM Interface instance
(系统自动生成,下载前可以参看下载内容)
下载文件列表
一个完整的接口使用\StructInstance\StructInstance\StructInstance.vcproj
..................\..............\..............\stdafx.cpp
..................\..............\..............\stdafx.h
..................\..............\..............\StructInstance.cpp
..................\..............\..............\ReadMe.txt
..................\..............\..............\StructInstance.rgs
..................\..............\..............\StructInstance.def
..................\..............\..............\StructInstance.h
..................\..............\..............\StructInstance_i.c
..................\..............\..............\StructInstancePS.vcproj
..................\..............\..............\StructInstanceps.def
..................\..............\..............\StructInstance.vcproj.03D0C1CCC4A245F.xiaxue.user
..................\..............\..............\StructInstancePS.vcproj.03D0C1CCC4A245F.xiaxue.user
..................\..............\..............\MyStruct1.rgs
..................\..............\..............\Resource.h
..................\..............\..............\StructInstance.aps
..................\..............\..............\StructInstance.rc
..................\..............\..............\StructInstance.idl
..................\..............\..............\MyStruct1.h
..................\..............\..............\MyStruct1.cpp
..................\..............\..............\StructInstance_p.c
..................\..............\..............\dlldata.c
..................\..............\StructInstance.ncb
..................\..............\StructInstance.sln
..................\..............\StructInstance.suo
..................\..............\......Client\Properties\Settings.settings
..................\..............\............\..........\AssemblyInfo.cs
..................\..............\............\..........\Resources.resx
..................\..............\............\..........\Resources.Designer.cs
..................\..............\............\..........\Settings.Designer.cs
..................\..............\............\StructClient.csproj
..................\..............\............\bin\Debug\StructClient.exe
..................\..............\............\...\.....\StructClient.pdb
..................\..............\............\...\.....\Interop.StructInstanceLib.dll
..................\..............\............\...\.....\StructClient.vshost.exe
..................\..............\............\obj\Debug\StructClient.Form1.resources
..................\..............\............\...\.....\StructClient.Properties.Resources.resources
..................\..............\............\...\.....\StructClient.pdb
..................\..............\............\...\.....\StructClient.exe
..................\..............\............\...\.....\Interop.StructInstanceLib.dll
..................\..............\............\...\.....\StructClient.csproj.ResolveComReference.cache
..................\..............\............\...\.....\StructClient.csproj.GenerateResource.Cache
..................\..............\............\...\StructClient.csproj.FileList.txt
..................\..............\............\Program.cs
..................\..............\............\Form1.cs
..................\..............\............\Form1.Designer.cs
..................\..............\............\Form1.resx
..................\传递自定义类型数据.doc
..................\StructInstance\StructClient\obj\Debug\TempPE
..................\..............\............\...\.....\Refactor
..................\..............\............\bin\Debug
..................\..............\............\obj\Debug
..................\..............\............\Properties
..................\..............\............\bin
..................\..............\............\obj
..................\..............\StructInstance
..................\..............\StructClient
..................\StructInstance
一个完整的接口使用
..................\..............\..............\stdafx.cpp
..................\..............\..............\stdafx.h
..................\..............\..............\StructInstance.cpp
..................\..............\..............\ReadMe.txt
..................\..............\..............\StructInstance.rgs
..................\..............\..............\StructInstance.def
..................\..............\..............\StructInstance.h
..................\..............\..............\StructInstance_i.c
..................\..............\..............\StructInstancePS.vcproj
..................\..............\..............\StructInstanceps.def
..................\..............\..............\StructInstance.vcproj.03D0C1CCC4A245F.xiaxue.user
..................\..............\..............\StructInstancePS.vcproj.03D0C1CCC4A245F.xiaxue.user
..................\..............\..............\MyStruct1.rgs
..................\..............\..............\Resource.h
..................\..............\..............\StructInstance.aps
..................\..............\..............\StructInstance.rc
..................\..............\..............\StructInstance.idl
..................\..............\..............\MyStruct1.h
..................\..............\..............\MyStruct1.cpp
..................\..............\..............\StructInstance_p.c
..................\..............\..............\dlldata.c
..................\..............\StructInstance.ncb
..................\..............\StructInstance.sln
..................\..............\StructInstance.suo
..................\..............\......Client\Properties\Settings.settings
..................\..............\............\..........\AssemblyInfo.cs
..................\..............\............\..........\Resources.resx
..................\..............\............\..........\Resources.Designer.cs
..................\..............\............\..........\Settings.Designer.cs
..................\..............\............\StructClient.csproj
..................\..............\............\bin\Debug\StructClient.exe
..................\..............\............\...\.....\StructClient.pdb
..................\..............\............\...\.....\Interop.StructInstanceLib.dll
..................\..............\............\...\.....\StructClient.vshost.exe
..................\..............\............\obj\Debug\StructClient.Form1.resources
..................\..............\............\...\.....\StructClient.Properties.Resources.resources
..................\..............\............\...\.....\StructClient.pdb
..................\..............\............\...\.....\StructClient.exe
..................\..............\............\...\.....\Interop.StructInstanceLib.dll
..................\..............\............\...\.....\StructClient.csproj.ResolveComReference.cache
..................\..............\............\...\.....\StructClient.csproj.GenerateResource.Cache
..................\..............\............\...\StructClient.csproj.FileList.txt
..................\..............\............\Program.cs
..................\..............\............\Form1.cs
..................\..............\............\Form1.Designer.cs
..................\..............\............\Form1.resx
..................\传递自定义类型数据.doc
..................\StructInstance\StructClient\obj\Debug\TempPE
..................\..............\............\...\.....\Refactor
..................\..............\............\bin\Debug
..................\..............\............\obj\Debug
..................\..............\............\Properties
..................\..............\............\bin
..................\..............\............\obj
..................\..............\StructInstance
..................\..............\StructClient
..................\StructInstance
一个完整的接口使用