Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM Interop -> GetObjectContext

Status
Not open for further replies.

MattWoberts

Programmer
Oct 12, 2001
156
GB
Hi,

I have a web app that uses both asp and asp.net web pages. I call a COM (VB6) dll in my asp.net c# code, which works fine. But...the COM dll tries to get the ObjectContext, inorde rot get hold of the ASP Application object to read something it needs...

When my ASP.NET page calls the COM dll, the dll never finds an ObjectContext, so I cannot get the information I need :( Is there something I can do?

I have read articles about adding the DLL to the Com+ aplications, but we don't use COM+/MTS, and when I tried that failed. I have also tried adding this to the page diretive: aspcompat="True". That doesn't help either.

Can anyone help me?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top