Re: [python-win32] BSTR

2006-04-14 Thread Tim Roberts
On Thu, 13 Apr 2006 23:21:26 +0200, Aleksandar Cikota [EMAIL PROTECTED] wrote: 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):

Re: [python-win32] BSTR

2006-04-14 Thread Gabriel Genellina
Some remarks (altough not directly related to your current problem): while CCDCamera.ImageReady == False: time.sleep Should be time.sleep(1) or something. Remember that in Python you always need to use () to call a function. if CCDCamera.LinkEnabled == False: It's not a good idea to

Re: [python-win32] Runnin Python app as service with separateconsole

2006-04-14 Thread Michael Li
Hi, Mark Thank you very much. Now my python server works perfectly by adding signal handler to intercept CTRL_LOGOFF_EVENT. Best regards. Michael Li Michael Li wrote: Hi, Mark Thank you very much. I will try it. Best regards. Michael Li Mark Hammond wrote: Your process is