[python-win32] hoto cast pyobject to ccompnt

2015-11-26 Thread Matteo Boscolo
Hi I'm extending python with a cpp code in my cpp code I have my function that recive a com objetc from python into args from here I'm not able to cast such an object into a ccompnt static PyObject * connect(PyObject * self, PyObject * args) { PyObject * pyApplication; CComPtr

Re: [python-win32] Python Windows Service works in debug mode, does not work in normal mode.

2015-11-26 Thread Christian Papathanasiou
Hi Joseph, thank you for the suggestion. I tried that too unfortunately with similar results. Kind regards, Christian On Fri, Nov 27, 2015 at 12:37 AM, Joseph L. Casale < jcas...@activenetwerx.com> wrote: > > When I try to install/start the Windows service normally, neither of > these two functi

Re: [python-win32] Python Windows Service works in debug mode, does not work in normal mode.

2015-11-26 Thread Joseph L. Casale
> When I try to install/start the Windows service normally, neither of these > two functions work. Specifically, I get a 'Permission denied' error when > creating / writing the file to disk and no data is seen on the web socket > receiving server. Don't start it with an interactive account, try

[python-win32] Python Windows Service works in debug mode, does not work in normal mode.

2015-11-26 Thread Christian Papathanasiou
Hi, I have written a Python Windows service that does two things: a) Writes some data to disk b) Initiates a websocket When I try to install/start the Windows service normally, neither of these two functions work. Specifically, I get a 'Permission denied' error when creating / writing the file t