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. Is it possible for a 32-bit app to call a 64-bit COM server?

Is it possible for a 32-bit app to call a 64-bit COM server?

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

    Hi: I'm new to Windows COM programming. I was able to make a 64-bit app call a 32-bit COM server (out-of-process, exe) on 64-bit Vista, but not the other way around, the CoCreateInstance call in my 32-bit app failed with a return code 0x80029C4A (error loading type library/DLL). Can this be done at all? Basically I just need the 32-bit app to send some request to the 64-bit server, and wait for the request to finish. The server should be able to send back a status code indicating whether there is any error. Appreciate any help and suggestions.

    C 1 Reply Last reply
    0
    • D darwei

      Hi: I'm new to Windows COM programming. I was able to make a 64-bit app call a 32-bit COM server (out-of-process, exe) on 64-bit Vista, but not the other way around, the CoCreateInstance call in my 32-bit app failed with a return code 0x80029C4A (error loading type library/DLL). Can this be done at all? Basically I just need the 32-bit app to send some request to the 64-bit server, and wait for the request to finish. The server should be able to send back a status code indicating whether there is any error. Appreciate any help and suggestions.

      C Offline
      C Offline
      cariolihome
      wrote on last edited by
      #2

      You have to create (without /Oicf tag) and register 2 proxy/stubs dlls First 64 bit and another one 32 bit

      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