|
-
May 21st, 1999, 02:24 AM
#1
VC5.0/VC6.0 and shellextention Problem
Hi,
I have a shell-extention dll which was written with VC5. Under Vc5 everything goes well. Now I had to upgrade to Vc6 with service pack 2. There seems to be a bug in Vc6 because I can't compile the old source code.
BEGIN_COM_MAP(CFileDragDrop)
COM_INTERFACE_ENTRY(IFileDragDrop)
COM_INTERFACE_ENTRY_IMPL(IShellExtInit)
COM_INTERFACE_ENTRY_IMPL(IContextMenu)
COM_INTERFACE_ENTRY_IMPL(IShellPropSheetExt)
COM_INTERFACE_ENTRY_IMPL(IPersistFile)
COM_INTERFACE_ENTRY_IMPL(IDropTarget)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
During compilation the following errors occure for nearly all explorer interfaces.
error C2787: 'IShellExtInit' : no GUID has been associated with this object
error C2440: 'initializing' : cannot convert from 'unsigned long' to 'const struct _GUID *'
.
.
.
Does anyone knows a workaround??
Thanx
Jürgen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|