Re: ATL dual interface question, A very very strange question
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Thu, 14 Jun 2007 09:06:46 -0700
Are you running under Vista?
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Daman Chen" <DamanChen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:498D3C44-8CCC-4737-901C-3C5AD848C215@xxxxxxxxxxxxxxxx
NO,I log in the windows as a administrator.and I made another project in
the
visual studio 2003 and visual 6.0, the question same as VS 2005.So i think
maybe there are some error in the system file.
"Nghia Nguyen" wrote:
Do you happen to run as a non-administrator user?
ATL simple COM object code generated from the ATL wizzard should work
without any change. Perhaps, create another project and try again.
"Daman Chen" wrote:
Hi all,
I have a question want to ask yours,
I use ATL wizard to create a COM project. when I add a dual Interface
to my
project,I got the following error
"error PRJ0050: Failed to register output. Please ensure you have the
appropriate permissions to modify the registry".
I am sure I have the administrator permissions.
after I made many test, I found if i removed the "dual" property in the
.idl
file.it will build successed. as you known. the "dual" property used to
declare a dual interface.as following:
[
object,
uuid(EF371B9B-CDCE-4D2F-8ACF-8EFDC0A4555E),
dual, // remove this, it will
successed.??????
nonextensible,
helpstring("IDamanTestAA1 Interface"),
pointer_default(unique)
]
interface IDamanTestAA1 : IDispatch
{
};
I don't known where i am wrong. Can you help me?
I have restalled the VS2005,the qustion exist still.Now I only left to
reinstall the system.
Daman Chen
.
- Prev by Date: Re: Vista ROT Register 0x80004015 CO_E_WRONG_SERVER_IDENTITY
- Next by Date: Re: which direction
- Previous by thread: Extracting Office documents from compound files
- Next by thread: Re: which direction
- Index(es):
Relevant Pages
|