大神终于出来了,那您先给我个结论呗,行啊还是不行啊,如果您都说不行了,我直接就不看换方案了[/quote]
当然行了,据我所知没有COM不能干的活。
COM Tutorial Samples
List of Lessons
Click a lesson link below to jump to the tutorial narrative for the associated code sample.
Directory/Sample Lesson Topic
APPUTIL Lesson 0 Win32 Basics: Win32 Application Utility Library
READTUT Lesson 1 Win32 Basics: Tutorial Reader and Linking to APPUTIL
EXESKEL Lesson 2 Win32 Basics: Win32 EXE Skeleton Application
DLLSKEL Lesson 3 Win32 Basics: Win32 DLL Skeleton
DLLUSER Lesson 4 Win32 Basics: EXE User of a DLL
COMOBJ Lesson 5 COM Objects: Containment and Aggregation in a DLL
COMUSER Lesson 6 COM Objects: Nested Aggregation in an EXE User
REGISTER Lesson 7 COM Components: Component Object Registration
DLLSERVE Lesson 8 COM Components: Component Object DLL Server
DLLCLIEN Lesson 9 COM Components: Client Application of DLL Server
LICSERVE Lesson 10 COM Components: DLL Licensed Server
LICCLIEN Lesson 11 COM Components: Client Application of Licensed Server
MARSHAL Lesson 12 COM Components: Custom Interface Standard Marshaling
MARSHAL2 Lesson 13 COM Components: Marshaling DLL Self-Registration
LOCSERVE Lesson 14 COM Components: Local Server
LOCCLIEN Lesson 15 COM Components: Client Application of Local Server
APTSERVE Lesson 16 COM Components: Local Server with Multiple Apartments
APTCLIEN Lesson 17 COM Components: Client of Multiple Apartment Server
REMCLIEN Lesson 18 COM Components: Distributed COM (DCOM) Remote Client
FRESERVE Lesson 19 COM Components: Free-threaded Server
FRECLIEN Lesson 20 COM Components: Client of Free-threaded Server
CONSERVE Lesson 21 COM Components: Connectable Object Server
CONCLIEN Lesson 22 COM Components: Client of Connectable Object Server
STOSERVE Lesson 23 COM Components: Structured Storage Server
STOCLIEN Lesson 24 COM Components: Client of Structured Storage Server
PERSERVE Lesson 25 COM Components: IPersistStream Persistent Object Server
PERTEXT Lesson 26 COM Components: IPersistStreamInit Persistent Object Server
PERDRAW Lesson 27 COM Components: IPersistStorage Persistent Object Server
PERCLIEN Lesson 28 COM Components: Client of Persistent Object Servers
DCDMARSH Lesson 29 COM Components: Standard Marshaling for DCOM
DCDSERVE Lesson 30 COM Components: DCOM Server Using Security
DCOMDRAW Lesson 31 COM Components: DCOM Client Using Security
INC -- Common include directory used by the code samples
LIB -- Common library directory used by the code samples
TUTSAMP -- Main branch directory with TUTORIAL.EXE, MAKEALL.BAT, etc.