CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    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


  2. #2
    Join Date
    Apr 1999
    Posts
    27

    Re: VC5.0/VC6.0 and shellextention Problem

    Hi,
    Will you like to give a copy about your sample
    code? i will like to check it out

    Leo lin

    [email protected]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured