[webclient]Create com-handle under windows 2008 64-bit versi

Posted by zgc@qad.com on 26-Aug-2012 05:29

I have an application which uses a 3rd-party COM component. It was working fine until the 3rd party component upgraded. To support some new features(if you would like to know, the new feature here means supporting 64bit microsoft outlook), I have to create the 64-bit version COM-component.

So, I registered the 64-bit dll using regsvr32 tool. But looks like the webclient runtime(prowc.exe) still calling the 32-bit version compenent. I guess it's because that "prowc.exe" is a 32 bit application.

Given the above secnerio, my question is, Is it possible to create com-handle from the component registered in 64-bit registry entry?

Best regards,

Zhongqi

All Replies

Posted by Brian K. Maher on 14-Nov-2013 12:05

If the COM component is not a .EXE file extension then no you are not going to be able to get this to work.  A COM component that is either a .DLL or .OCX file (i.e. an "In Process" component) runs in the same address space as the parent process (i.e. the .EXE) and you cannot mix 32-bit and 64-bit code in the same address space.

This thread is closed