2010/6/11 Mark Hammond :
> On 10/06/2010 9:28 PM, Damian Okrasa wrote:
>>
>> I'm using Python 3.1.2 on Windows 7. I have windows service written in
>> C which starts python script and it doesn't work. However when C
>> program isn't windows service it wo
I'm using Python 3.1.2 on Windows 7. I have windows service written in
C which starts python script and it doesn't work. However when C
program isn't windows service it works flawlessly.
// part of windows service
Py_Initialize();
PyRun_SimpleString(buffer);
Py_Finalize();
# python scipt
import h