[python-win32] BSTR

2006-04-13 Thread Aleksandar Cikota
Hi all,I'm beginner in Python and need help. I'm writing software for a robotic telescope. For CCD camera control we use MaxIm DL (Diffraction Limited). I have a problem with CCDCamera.SaveImage. Here is the code (Python):import win32com.client, timeCCDCamera =

Re: [python-win32] BSTR

2006-04-13 Thread Mark Hammond
The question is, how to convert a String in a BSTR (unicodestring with header)? Python will *always* (unless an object's typelib indicated otherwise) pass a VT_BSTR when a string literal is specified. I'm afraid I can't speculate on what the problem may otherwise be. Mark