error message from OLEView

This is a discussion on error message from OLEView within the Windows Programming forums, part of the Platform Specific Boards category; Hello everyone, I have used unmanaged C++ developed a native COM DLL. Then I use OLE Viewer (from command line ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    error message from OLEView

    Hello everyone,


    I have used unmanaged C++ developed a native COM DLL. Then I use OLE Viewer (from command line oleview) to open (Bind To File function) the DLL. Then there is an error message.

    IMoniker:BindToObject failed on the file moniker created from (c:\temp\foo.dll) Bad extension for file

    (MK_E_INVALIDEXTENSION) ($800401E6)

    Anything wrong?


    thanks in advance,
    George

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    As in unmanaged C++ you mean just everyday normal standardized C++ as opposed to Microsoftie C++?

    Since DLLs and OLE are mentioned in the post I'm moving this to the Windows Programming forum.

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,702
    http://msdn2.microsoft.com/en-us/library/ms693715.aspx
    Based on that, I'd guess your registry entries aren't right. You can try to re-register your dll by running "regsvr32 foo.dll".

    gg

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21