I have an application (EXE) written under IBM's Visual Age C++ for Windows (under NT). I need to add OLE Automation Server Objects to this application. My thought i to create a DLL using Microsoft C++ that contains the OLE automation objects and let the Visual Age EXe init and run the OLE server in this DLL (which will allow other client EXE's to interface with the OLE objects).
Is this possible? I'm trying to understand OLE under MFC, but there is so much done behind the scenes that I can't really get a handle on this. Any help or example would be appreciated!
Yes, this is possible. In fact, most of the time OLE servers are put in DLL's -- its common. You have to implement the IClassFactory interface from the DLL, plus the three standard
DLL functions: DllMain
MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel.
Part 1 of this series discussed basic error handling code using VBA.