|

COM
There's so much to learn about COM. You can use it for years and only scratch the surface.
Here are some bits of code that we find useful.
Articles:
IEnumXXXX
- COM objects generally provide access to sequences using
an IEnumXXXX style interface, this class wraps that with an STL style iterator
Component Categories
- COM objects can be categorised using the Component Category Manager. The code here makes it easier to use these categories in your code.
Custom Enumeration Interfaces
- Writing a COM Enumeration Interface for a custom data-type should be easy. In fact, it is, once you understand the need for local and remote methods.
Designing asynchonous COM components for VB
- This example COM component provides three COM objects for using the Win32 Mailslot IPC mechanism. The component may be useful if you need to communicate from VB using Mailslots. However, the reason I wrote it was to demonstrate creating a COM component in C++ that integrates well with VB and can
fire asynchronous events.
Sinking connection points in C++ objects.
- Sometimes it would be nice to be able to use a simple C++ object as a sink for Connection Point notifications. This article shows you how.
A high performance TCP/IP socket server object for Visual Basic
- Although socket based TCP/IP servers using IO Completion Ports are often written in C++ it's sometimes useful to write such a server in Visual Basic.
|