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. Detecting the apartment

Detecting the apartment

Scheduled Pinned Locked Moved COM
3 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.
  • D Offline
    D Offline
    Dave Bryant
    wrote on last edited by
    #1

    Does anyone know if there is a function I can call to determine if I an inside a STA or a MTA (apart from calling CoInitializeEx and checking for RPC_E_CHANGED_MODE). Dave http://www.cloudsofheaven.org

    V 1 Reply Last reply
    0
    • D Dave Bryant

      Does anyone know if there is a function I can call to determine if I an inside a STA or a MTA (apart from calling CoInitializeEx and checking for RPC_E_CHANGED_MODE). Dave http://www.cloudsofheaven.org

      V Offline
      V Offline
      Vi2
      wrote on last edited by
      #2

      Looking for "DebugCoQueryApartmentID" word in MSDN's Bugslayer 1998[^]. With best wishes, Vita

      D 1 Reply Last reply
      0
      • V Vi2

        Looking for "DebugCoQueryApartmentID" word in MSDN's Bugslayer 1998[^]. With best wishes, Vita

        D Offline
        D Offline
        Dave Bryant
        wrote on last edited by
        #3

        Thanks Dave http://www.cloudsofheaven.org

        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