Solved

Implementing IEnumXXX in an MFC Automation DLL

Posted on 1998-01-26
1
323 Views
Last Modified: 2013-11-20
I need an example of a MFC Automation Server that Implements a Simple Collection of Some predefined object. Please send the answer to MTO@SOFTTOOLS.DK
0
Comment
Question by:mtoft
1 Comment
 
LVL 2

Accepted Solution

by:
igroove earned 50 total points
ID: 1314864
Look into the "Corporate Benefits System" sample that comes with Visual Studio '97.  There's source code in there that will greatly help you.  Specifically, look into the section "Implementing Collections"...

...they do it up using a CList - you could derive your own CList and use it in a CCmdTarget for automation.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now