[python-win32] python com server exceptions don't make it to .NET / CLR app

2006-03-29 Thread martin
by the experts basically stop at "it'll get done if you use win32com.server.exception.COMException, don't worry about how". 2) Has anyone gotten any win32com.server.exception.COMExceptions across to C# with the string/Exception passed to raise()? Thanks, Martin pgphFFr3wioS6.pgp Description: PGP signature ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] VARIANT as byref parameter

2008-09-16 Thread martin . prochnow
uld be great if someone could help me. Regards, Martin ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] window events via SetWindowsHookExA

2009-09-17 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I am trying to use SetWindowsHookExA via ctypes to be notified when Windows are mapped/unmapped, to get the same functionality as SUBSTRUCTURE_MASK events on the root X-window (or is there a better way that I have missed?) Here is the code: WI

Re: [python-win32] window events via SetWindowsHookExA

2009-09-18 Thread Antoine Martin
Hi Tim, Tim Roberts wrote: > Antoine Martin wrote: >> I am trying to use SetWindowsHookExA via ctypes to be notified when >> Windows are mapped/unmapped, to get the same functionality as >> SUBSTRUCTURE_MASK events on the root X-window (or is there a better way

[python-win32] daemonized child

2009-09-26 Thread Antoine Martin
Hi list, What is the best way to ensure that a child started with subprocess.Popen does not get killed when its parent terminates on win32? On Linux I can daemonize the child with fork()s and dup2()s But what about windows? What about a child process that I cannot re-write, is there anything I can

Re: [python-win32] daemonized child

2009-09-27 Thread Antoine Martin
Elias Fotinis wrote: > From: "Antoine Martin" >> What is the best way to ensure that a child started with >> subprocess.Popen does not get killed when its parent terminates on win32? >> On Linux I can daemonize the child with fork()s and dup2()s >> But what abo

RE: [python-win32] Executing a program on a remote machine

2005-01-03 Thread Martin Richard
It seems just using 'rsh' should work. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Hammond Sent: Monday, January 03, 2005 5:18 PM To: 'Tony Cappellini'; python-win32@python.org Subject: RE: [python-win32] Executing a program on a remote ma

[python-win32] Windows Low Fragementation Heap yields speedup of ~15%

2005-02-14 Thread Gfeller Martin
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/base/low_fragmentation_heap.asp Best regards, Martin PS: Since I don't speak C, I used ctypes to convert all heaps in the process to LFH (I don't know how to determine which on

[python-win32] Howto create Array of Variants by ref (win32com)

2005-06-23 Thread Martin Kuner
effort. oViLogPrint.call(["strEntry","Error"],["Hello World"]) but it doesn´t work. Has someone a plan for that ? BTW: That´s one function of the LabVIEW ActiveX interface Thanks, Martin ___ Python-win32 mailing lis

[python-win32] win32com problem with LabVIEW

2005-06-24 Thread Kuner Martin
all(arIn,arOut) The resulting error message: oViLogPrint.Call(arIn,arOut) TypeError: 'NoneType' object is not callable Does anyone has a glue ? Martin ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32com problem with LabVIEW

2005-06-24 Thread Kuner Martin
utput parameters to the call). paramVals: array of variants by ref (Input values for the input parameters and return values from the output parameters in the order in which the names were specified in paramNames) --- Is a list object at that point not the right thing on python

Re: [python-win32] win32com problem with LabVIEW (newbie question)

2005-06-24 Thread Kuner Martin
ith the most important method, which calls a VI (see thread). I hope there will be a solution otherwise I'm in big trouble. Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Peery Sent: Friday, 24. June 2005 7:24 PM To: python-win32@py

Re: [python-win32] win32com problem with LabVIEW

2005-06-25 Thread Kuner Martin
belongs these problem ? Martin -Original Message- From: Mark Hammond [mailto:[EMAIL PROTECTED] Sent: Saturday, 25. June 2005 4:44 AM To: Kuner Martin; python-win32@python.org Subject: RE: [python-win32] win32com problem with LabVIEW > It doesn´t work with the following code: ... &

[python-win32] Activex call delivers only unicode string, but ASCII is needed

2005-07-04 Thread Kuner Martin
x00\x10\x00\x00', u'', 1, 16, (False, 0, u''), (0, 0, 0), 37, u'\x00\x00\x01\xbaD\xa5?\x14\x0c\xab\x01\u2030\xc3\xf8\x00\x00')) Here´s another data example: String on LabVIEW side :     00 00 01 BA 44 A5 3F 14 0C AB 01 89 C3 F8 00 00 String on python side     u'\x00\x00\x01\xbaD\xa5?\x14\x0c\xab\x01\u2030\xc3\xf8\x00\x00' Any ideas ? Thanks, Martin ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] [Pywebsvcs-talk] Using SOAPpy Within a Windows NT service

2005-09-26 Thread Taylor, Martin
servers.   Martin Taylor From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul WeimerSent: Monday, September 26, 2005 11:29 AMTo: [EMAIL PROTECTED]; python-win32@python.orgSubject: [Pywebsvcs-talk] Using SOAPpy Within a Windows NT service I have a web service written in

Re: [python-win32] Setting Event of Labview using Python

2006-02-15 Thread Kuner Martin
the VI Server, global variables, local variables, DataSocket, and so on to change VI or front panel objects programmatically. The only exception is the Value (Signaling) property. Regards,   Martin   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yeswanty deviSent

[python-win32] how to get select behavior for non-socket objects

2007-07-23 Thread Brian Martin
Hello, I understand that the select module will only work with sockets under windows. Is there a built-in python module for win32 that provides some kind of multiplexing ability for something like a serial port (via pyserial). thanks, brian ___ Python-w

Re: [python-win32] how to get select behavior for non-socket objects

2007-07-27 Thread Brian Martin
]> wrote: > > If you have a Windows handle (such as a handle to the serial port, a > handle to a file, or a socket), you can generally use > win32event.WaitForMultipleObjects() > > Mark > > -Original Message- > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL

Re: [python-win32] how to get select behavior for non-socket objects

2007-07-27 Thread Brian Martin
Nevermind, I actually decided to read the above book a little more closely and I think I understand things a little more :) On 7/27/07, Brian Martin <[EMAIL PROTECTED]> wrote: > > Question.. Is 'Python Programming on Win32' the only resource we have so > far or ar

[python-win32] High Baud Rate Serial Port Question

2007-09-09 Thread Martin Gysel
. so there's no problem to interface hardware which such rates. I also want to use python to communicate at 100 bps with my hardware, it would make live easier... Jeff did you find a practical solution? martin ___ python-win32 mailing list

[python-win32] creating a Word AddIn based on the Excel one

2008-03-31 Thread Kieran Martin
st and can make my way round the Word Object model, VBA et al. But I'm really winging it with the COM stuff. Thanks in advance to who-ever takes a look at this . Kieran Martin e-Spatial Ltd New Zealand Here's the trace collector data: # This window will display outp

[python-win32] Troubleshooting COM error after upgrade to .NET 6

2024-05-14 Thread Martin Wiboe
component does implement IDispatch. Do you have any suggestions on how to troubleshoot this further, or what the problem could be? Thanks in advance, Martin ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

[python-win32] "native" password dialog?

2004-12-08 Thread Chris R. Martin
I use a program called OmniPass, which is a password "vault" program that works in conjunction with a USB fingerprint device. The software works by "remembering" passwords typed into dialog boxes. When presented with the dialog box on subsequent occasions, it intercepts the dialog and displays

Re: [python-win32] "native" password dialog?

2004-12-08 Thread Chris R. Martin
How can I implement this Python, and will it work within a Tkinter app? Thanks, Chris Mark Hammond wrote: 1) Does win32 have a "native" type of password dialog? Any guesses on how OmniPass recognizes a dialog as a "password dialog"? As far as I am aware, there is no standard "password" dialog

[python-win32] win32 gui app example

2004-12-09 Thread Chris R. Martin
I looked all over the 'net today and could not find any examples of how to build a Python application using the win32gui module. There are some examples in the distribution but they really cover how to write a application as a top-level window. Using that code and some examples from win32 progr

Re: [python-win32] win32 gui app example

2004-12-09 Thread Chris R. Martin
What I meant to say: I looked all over the 'net today and could not find any examples of how to build a Python application using the win32gui module. There are some examples in the distribution but they really don't cover how to write a application as a top-level window. That "don't" is importan

[python-win32] python win32 demos question

2005-01-18 Thread Chris R. Martin
In the win32\demos directory, there is a script called win32gui_dialog.py. Near the end of this script, there are the following lines: def DemoModal(): w=DemoWindow() w.DoModal() ##w.CreateWindow() ##win32gui.PumpMessages() ### Not sure how to kill this loop. I realize that Cre

[python-win32] Re: [Python-Dev] Windows Low Fragementation Heap yields speedup of ~15%

2005-02-16 Thread Martin v. Löwis
Gfeller Martin wrote: Nevertheless, I tried to convert the heap used by Python to a Windows Low Fragmentation Heap (available on XP and 2003 Server). This improved the overall run time of a typical CPU-intensive report by about 15% (overall run time is in the 5 minutes range), with the same