Hi,
>In the Project Property Page in Visual Studio 2005 I
>want add a reference to a COM Component to my
>VC++ MFC project. But in the Add Reference Dialog
>I can only see the Project Tab. The other Tabs like
>.Net and COM aren't there.
>What must I do to see this tabs?
Since the MFC project is an unmanaged project type, there hasn't add "Add
Reference" option/dialog for it in Visual Studio 2005. Only the .NET
project types have that "Add Reference" option/dialog. You need to use the
traditional ways to add the COM Component to your MFC project just as under
VC6 IDE.
For a COM component, you can use the VS2005's Add class wizard to create a
MFC wrapped class for it: Add Class | MFC | Add Class From ActiveX Control
or Add Class From TypeLib.
By the way, we usually discuss such an issue in the more appropriate
newsgroup vsnet.ide, you would get better and quicker help.
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.