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