PDA

Click to See Complete Forum and Search --> : VC++ ALT COM Wiz Smokes Crack


CiberTHuG
Apr 26th, 2001, 12:55 PM
Well, I'm trying to learn COM (in a very quickly sort of way). I don't usually use wizards in Visual Studio, being from the old school of Emacs and vi. When I learned that I could create an example VC++ COM DLL using a wizard, I figured I would try.

Mmmm... I create the ATL COM DLL, I add a class, I add a variable to the class, and I add a method to the COM Class. I do all of that with the wizards. I find the only place were there is a //TODO and I do it.

Attached is the project. It won't compile. I've found the error (http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/c2259.htm) at MSDN, but I don't quite understand it.

Besides which, the wizard broke it.

parksie
Apr 26th, 2001, 03:28 PM
I never had any problems...plus where's the project?

CiberTHuG
Apr 26th, 2001, 03:37 PM
D'oh!!!

The attachment was over 2.3MB. I didn't even notice. I deleted the binaries and recompressed it. Now it is 1% of its previous size.

Sorry about that.

parksie
Apr 26th, 2001, 04:27 PM
BWAHAHAHA :D It's those damn PCHs isn't it!

parksie
Apr 26th, 2001, 04:44 PM
Okay...just tried it, and the same result as you. So, I tried reconstructing it myself...same again :confused:

Hmmmmm.....

CiberTHuG
Apr 30th, 2001, 09:12 AM
Well, anyone have any good books about COM? Anyone else want to play with the VS Wiz?