[python-win32] Connecting to Bloomberg

Tim Roberts timr at probo.com
Mon Apr 23 19:21:49 CEST 2012


michel.gba at derivativepartners.com wrote:
> Hi Tim and all,
> Thanks for your reply... I thought would be helpful looking at the error code from win32, I got.
> Basically, I'm getting error in the _init_.py line 85, 95, 108 and 245. See below.
> I got this error in all programs I try to implement  win32com.client module.
> I'm quite new Python user and I will appreciate your kind further help.

You didn't answer any of my questions.  My current theory is that you
are mixing a 32-bit application with a 64-bit DLL, or vice versa.  I
gave you instructions on how to check that in my original reply.


> Are you on a 64-bit operating system?  Are you entirely sure that the Bloomberg Desktop API v3 a 32-bit service?  Remember that you can ONLY call a 32-bit in-process server from a 32-bit application, and a 64-bit server from a 64-bit application.
>
> You could check in the registry.  If you find an entry under
>     HKEY_CLASSES_ROOT\blpcomapi.Session.1
> then you have a 64-bit version.  If you find an entry under
>     HKEY_CLASSES_ROOT\Wow6432Node\blpcomapi.Session.1
> then you have a 32-bit version.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list