Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automation DLL using appwizard & MFC.

Status
Not open for further replies.

RichardF

Programmer
Oct 9, 2000
239
0
0
GB
Using the Classwizard i have created a class (CWidget) . This works fine and i can use it in other compliers/interpreters etc.

Now i want to add a second class using the class wizard, and the new class (CWidgetList) should have a property/method to access an array of the first class. Obviously the class wizard does not provide my class in return type/argument list so I was wondering how it could be done ?

Thanks in advance.

R.
 
1.you need to create a new class by going to the class view tab, right click and choose 'add class' make sure what is the base class for it....
2. to access it make sure write #include CWidgetlist in the Widget.h
3. declare a variable(object) to CWidgetlist in the CWidget.h file
 
How to create a simple dll ,how to load the same in other program to use the export function of dll.
 
thanks mfm, i got it now .

sanjivb - what ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top