Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. COM/ASP

COM/ASP

Scheduled Pinned Locked Moved COM
comtoolsquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kant
    wrote on last edited by
    #1

    We got old COM component and it's used to retrieve ASP built-in objects. The COM component is using IScriptingContext interface. As per MSDN, it's an obsolete[^] interface and it suggest to use the IObjectContext interface. Anybody know more about this. In meanwhile I will continue my search on MSDN. ;) I haven't worked with ASP objects so far and the guy who wrote left the company.
    "...if you don't want to hear things that piss you off don't piss off other people. SIMPLE." - Steven Hicks
    This signature was created by "Code Project Quoter".

    M 1 Reply Last reply
    0
    • K Kant

      We got old COM component and it's used to retrieve ASP built-in objects. The COM component is using IScriptingContext interface. As per MSDN, it's an obsolete[^] interface and it suggest to use the IObjectContext interface. Anybody know more about this. In meanwhile I will continue my search on MSDN. ;) I haven't worked with ASP objects so far and the guy who wrote left the company.
      "...if you don't want to hear things that piss you off don't piss off other people. SIMPLE." - Steven Hicks
      This signature was created by "Code Project Quoter".

      M Offline
      M Offline
      Mil10
      wrote on last edited by
      #2

      Hi, Yes u r right. IScriptingContext interface - as per MSDN, it's an obsolete interface. But , still u can use it. Because it is working even in IIS6.0 U can also use IObjectContext if your component need com+ transaction support. Otherwise IScriptingContext is enough. (But use at ur risk ;). Because future versions of IIS may stop supporting IScriptingContext). U can use microsoft provided wrapper class Context.cpp and Context.h to get the ASP objects from IObjectContext. best wishes...take care ..bi..mil10

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups