Thread: error message from OLEView

  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
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    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,981
    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