Re: [python-win32] Passing data to/from Python script

2009-11-18 Thread Hung Nguyen
Thank you Mark. I will look at the .h file for more details as you suggested. However if you can elaborate a little bit more at a high level as how to pass a COM objects between host application and scripts, that would be of great help. Also, I am wondering if there's sample code doing stuff

[python-win32] Unable to build against debug Python

2009-11-18 Thread Arve Knudsen
Hi I'm trying to install Python-Win32 from source in a debug-build of Python 2.6.4, by issuing this command: python_d .\setup.py install. It fails however, with this error: LINK : fatal error LNK1104: cannot open file 'python26.lib'. Is this due to a bug in the Python-Win32 distribution? Thanks,

Re: [python-win32] Passing data to/from Python script

2009-11-18 Thread Mark Hammond
On 19/11/2009 5:13 AM, Hung Nguyen wrote: Thank you Mark. I will look at the .h file for more details as you suggested. However if you can elaborate a little bit more at a high level as how to pass a COM objects between host application and scripts, that would be of great help. Also, I am

Re: [python-win32] Unable to build against debug Python

2009-11-18 Thread Thomas Heller
Arve Knudsen schrieb: Hi I'm trying to install Python-Win32 from source in a debug-build of Python 2.6.4, by issuing this command: python_d .\setup.py install. It fails however, with this error: LINK : fatal error LNK1104: cannot open file 'python26.lib'. Is this due to a bug in the

[python-win32] Passing c structure into Python script

2009-11-18 Thread a h
Hi all I want to know that how do I pass an C structure into python script. Actually my problem is 1. how do I call python script from C application ,in which I can pass C structure 2. how do I take that C structure into an python script actually i have to write an python script which take an C