Re: Не компилиться сорс статьи про ShellExt
От: Odi$$ey Россия http://malgarr.blogspot.com/
Дата: 06.11.02 04:46
Оценка:
Здравствуйте Evengar, Вы писали:

E>Не компилиться ShellExtGuide1_demo и все сорцы из этой серии на VS.NET

E>говорит, мол, ошибка в строке
E> COM_INTERFACE_ENTRY(IContextMenu)

E>SimpleShlExt.h(32):errorC2440:'initializing':cannot convert from 'DWORD_PTR' to 'const IID *'

E>SimpleShlExt.h(32):errorC2787:'IContextMenu':no GUID has been associated with this object

E>

E>так как я только начинаю разбираться, то не знаю как исправить, а разберусь, только после того как запущу(загруужу сервер и т.п.)

E>помогите, буду очень благодарен...



------ Build started: Project: SimpleExt, Configuration: Debug Win32 ------

Creating Type Library...
Processing .\SimpleExt.idl
SimpleExt.idl
Processing E:\Program Files\Microsoft SDK\Include\oaidl.idl
oaidl.idl
Processing E:\Program Files\Microsoft SDK\Include\objidl.idl
objidl.idl
Processing E:\Program Files\Microsoft SDK\Include\unknwn.idl
unknwn.idl
Processing E:\Program Files\Microsoft SDK\Include\wtypes.idl
wtypes.idl
Processing E:\Program Files\Microsoft SDK\Include\basetsd.h
basetsd.h
Processing E:\Program Files\Microsoft SDK\Include\guiddef.h
guiddef.h
Processing E:\Program Files\Microsoft SDK\Include\ocidl.idl
ocidl.idl
Processing E:\Program Files\Microsoft SDK\Include\oleidl.idl
oleidl.idl
Processing E:\Program Files\Microsoft SDK\Include\servprov.idl
servprov.idl
Processing E:\Program Files\Microsoft SDK\Include\urlmon.idl
urlmon.idl
Processing E:\Program Files\Microsoft SDK\Include\msxml.idl
msxml.idl
Processing E:\Program Files\Microsoft SDK\Include\oaidl.acf
oaidl.acf
Processing E:\Program Files\Microsoft SDK\Include\ocidl.acf
ocidl.acf
Compiling...
StdAfx.cpp
statreg.cpp is obsolete. Please remove it from your project.
atlimpl.cpp is obsolete. Please remove it from your project.
Compiling...
SimpleShlExt.cpp
SimpleExt.cpp
e:\PROJECTS\VC7\tests\SimpleExt\SimpleExt.cpp(82) : warning C4996: 'ATL::CRegKey::SetValue' was declared deprecated
        e:\Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\include\atlbase.h(5221) : see declaration of 'ATL::CRegKey::SetValue'
Generating Code...
Compiling resources...
Linking...
.\SimpleExt.def : warning LNK4222: exported symbol 'DllCanUnloadNow' should not be assigned an ordinal
.\SimpleExt.def : warning LNK4222: exported symbol 'DllGetClassObject' should not be assigned an ordinal
.\SimpleExt.def : warning LNK4222: exported symbol 'DllRegisterServer' should not be assigned an ordinal
.\SimpleExt.def : warning LNK4222: exported symbol 'DllUnregisterServer' should not be assigned an ordinal
   Creating library .\Debug/SimpleExt.lib and object .\Debug/SimpleExt.exp
Performing registration

Build log was saved at "file://e:\PROJECTS\VC7\tests\SimpleExt\Debug\BuildLog.htm"
SimpleExt - 0 error(s), 5 warning(s)


---------------------- Done ----------------------

    Build: 1 succeeded, 0 failed, 0 skipped


Platform SDK установлен?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.