Re: GIT GetInterfaceFromGlobal returns E_UNEXPECTED

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Please don't spam. Asking your question once is sufficient.
You can reply to your original thread with any extra information.

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================

"gscott2112" <gscott2112@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FE78EB74-8495-4ACE-9ABA-FD1D5C10F59A@xxxxxxxxxxxxxxxx
I posted another thread earlier, but I have narrowed down my problem.

Calling GetInterfaceFromGlobal is returning E_UNEXPECTED when using
Side-by-Side assemblies. I have two COM dlls I'm trying to distribute
reg-free. The first dll utilizes the second. When the second DLL
attempts
to access the GIT to fire an event to the first dll, I am receiveing
E_UNEXPECTED.

I found a small blurb in another forum that E_UNEXPECTED can be returned
if
there is no proxy/stub registered for the interface. The interesting
thing
is that if I access the second dll directlly everything works normally,
the
problem seems to be in the interaction of one side-by-side assembly with
another side-by-side assembly.


.



Relevant Pages

  • Re: .NET dll config file
    ... > application has some other .NET dll references. ... assemblies to a separate folder you create problems because you have to tell ... So if your library is called by a "third party application" ... You cannot create a config file just for your DLL. ...
    (microsoft.public.dotnet.framework)
  • Re: WinSxS, functional under 2k ?
    ... The newSide-by-Side Assembly technology was introduced with Windows XP to help reduce or eliminate DLL Hell. ... If you recall earlier Windows versions, like Windows 95, when you installed an application you were warned if the installer tried to replace a DLL from the system folder with an older version and you were asked if you wanted to accept the change. ... Until Windows XP it wasn't so easy to use different versions of shared system DLLs, that is what the new Side-by-Side assemblies attempts to resolve. ...
    (microsoft.public.win2000.general)
  • Re: Trusted Assemblies are untrusted after being overwritten
    ... ongoing application where features are added now ... IIS servers that need to run this application, ... directory structure, of course, contains the .DLL ... >between the two assemblies. ...
    (microsoft.public.inetserver.iis.security)
  • Re: regsvr32 error code 0x80004002
    ... VC assembly failed to load. ... but there are no relevant events in the Event Viewer. ... If a DLL was built with Visual Studio 2005 SP1 and was compiled to use the ... Private assemblies must be used. ...
    (microsoft.public.vc.mfc)
  • Re: HOW CAN I OPEN A COM PROJECT COMPILED IN VS2005, IN VS2003?
    ... I keep getting the .exe output when I compile in the VC7. ... the General Configuration Type to be .dll in the Project Property. ... Microsoft MVP, MCSD ... instead create my own folders for file grouping... ...
    (microsoft.public.win32.programmer.ole)