FWD: [python-win32] coinitialize problem

2005-07-01 Thread Gijs Korremans
Hi, I'm extending a Python application that uses several com objects and threads. The origional programmer set the main thread to multithreaded by doing this: * sys.coinit_flags = 0 * import pythoncom This is nessacary because otherwise a com (MapObjects2 from ESRI) can't run in a thread, but n

return pramater in com object function

2005-06-02 Thread Gijs Korremans
Hi, One of the functions in the com object I need to use has a pointer in one of it's functions (object.function(string input, struct * output)) (I've created the struct with win32com.client.Record("structure", object)) I've tried to use the id() function but then Python gives me a message that

pointers in com object functions

2005-06-02 Thread Gijs Korremans
Hi, One of the functions in the com object I need to use has a pointer in one of it's functions (object.function(string input, struct * output)) I've tried to use the id() function but then Python gives me a message that it's an int, not a tructure and when I just give the object without a poin

re[2]: Com object questions

2005-05-23 Thread Gijs Korremans
object Maybe I can find out somewhere what the GUID's is and put it in the RecodMap manually? Roger "Gijs Korremans" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I'm still figuring out how I can use the win32com for the use of a com object which

Com object questions

2005-05-23 Thread Gijs Korremans
Hi, I'm still figuring out how I can use the win32com for the use of a com object which I think is made in VB First I've created a file with MakePy Then I used the following code to init the com object: import win32com.client Client = win32com.client.Dispatch("ClientModule.Client

What are com_record objects

2005-05-18 Thread Gijs Korremans
Hi, I want to connect to a com object with win32.client. Through this com object a have to connect to an other device with object.Connect(struct IPADDRESS_STRUCT * ip) the struct IPADDRESS_STRUCT looks like this: Byte Offset NameTypeLength (Bytes) Description 0 b1 BYTE

How to debug a multithreaded windowsNT servvice with Boa Constructor

2005-05-18 Thread Gijs Korremans
Hi, I'm trying to debug a multithreaded windowsNT service with Boa Constructor but it's not working. I don't know how to debug a service (there's nothing on the internet about that) so I've made an extra module espacially for the debugger which starts all my threads. (if anyone knows how to deb

boa can't connect to zope

2005-03-18 Thread Gijs Korremans
Hi, I want to debug python applications on a remote pc with Boa Constructor. To do this, I have to install Zope and install the remote module from boa to the roodfolder from the management interface (http://localhost:8080/manage). I've done this, set the username and password en clicked start.

{SPAM} Remote debugging

2005-03-16 Thread Gijs Korremans
wed the steps in Boa Debugger help and every thing I found on google: Add the debugger to Zope. I’ve installed the source code on the same place at the server and at the client pc (D:\project\) Does anybody know how to do this? Kind regards, Gijs Korremans R&D Department Global Suppl

{SPAM} start a python application as a win NT service

2005-03-14 Thread Gijs Korremans
Hi, I'm using windows 2003 small business server and I want to install my python programm as a NT (it's just an old name) service. Does anybody know how to do this? Kind regards, Gijs Korremans R&D Department Global Supply Chain Services (pty) Ltd. P.O. Box 1263 Rivonia 212

{SPAM} Remote debugging with boa constructor

2005-03-14 Thread Gijs Korremans
Hi, I'm a newby on the Python language but I have to modify an excisting pyhon application which runs as a Windows NT service (on 2003 server). I've heared that it's possible to debug an application with boa constructor over the internet, I tried some things what I found on the internet but it