Misy wrote: > Mark Hammond <skippy.hammond <at> gmail.com> writes: > >> >> 64bit processes can't use 32bit COM objects (at least not in-proc - not >> sure about external) and I guess your COM object is 32 bit. >> >> The easiest answer is probably just to install the 32bit Python and >> 32bit pywin32 extensions - you can either leave or remove the 64bit >> version - they can co-exist happily... >> >> Cheers, >> >> Mark >> > > Hi, everyone, > > I met the same problem. However, for some reasons, I cannot change to use > 32bit python and pywin32. If someone konw how to really get the 32bit COM in > the > 64bit pywin32? Or maybe another solution to get COM with 64bit python. > > Thanks.
You may be able to create an out of process proxy for your 32-bit app. >From Administrative Tools->Component Services, navigate to COM+ Applications, and then click Action->New Application. Create an empty application, and then under its Components, add the 32-bit interfaces you need to access. Roger _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32