QueryInterface failure while using Interop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DidierT

    QueryInterface failure while using Interop

    Hi everybody,

    I'm developping a web service application which access to several COM
    objects contained in an EXE file. I've created Interop (using tlbimpl tool)
    for all typelib.
    In my webservice I can instanciate one of these COM object but when I call
    one method of this object I get an InvalidCastExce ption that tells me that
    the QueryInterface failed to retrieve the appropriate interface.
    The same Interop is perfectly running in a Win32 application (not a web
    service). Is there any configuration/patch of IIS / Windows 2000 to solve
    this ?

    I'm running on Windows 2000 and developing using VS .NET 2003.

    Please help me !!!

    Did
Working...