Link to home
Start Free TrialLog in
Avatar of superstarr
superstarr

asked on

Generated Wrapper Classes Duplicates!!!

When you generate a class for, say, a new dialog and you've included some Active X controls, VC6 generates wrapper classes for all of these things that are not standard MFC (ie. COleFont, CPicture, etc...).  The annoying thing is, when you create another dialog that uses the same Active X control, VC6 generates ANOTHER wrapper class (say, I had COleFont, it now generates files for COleFont2 which, other than the 2 in the name, are identical)!  Is there any way to make VC6 smart so that it knows to use the wrapper already generated.  I swear, I can't stand having 30+ files that all do the exact same thing for the exact same control.
ASKER CERTIFIED SOLUTION
Avatar of mikeblas
mikeblas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of superstarr
superstarr

ASKER

Yeah, but what if I want access to the controls as member variables? Don't I need the wrapper classes for that?