On Wed, 23 Mar 2005 09:01:09 +1100, Mark Hammond
<[EMAIL PROTECTED]> wrote:
> Yeah, it should. This *may* be a safe change to make wrt existing
> programs - a program that expects to see the exception should still work if
> the code is changed to return an empty list. However, it is possible thin
Is there special usage for instantiating a struct type
object defined in a com object?
I am working with a com object, and in it is a struct
datatype, which is later used as a required parameter
for a method.
I cannot seem to be able to instantiate an object of
this
type, and this is preventing
Hi all,
I am trying to send a WM_CLOSE mesage to the main window of a Win32
GUI application I started with win32process.CreateProcess(). I want to
terminate the application gracefully, allowing the application to
perform all of its regular cleanup and prompting it normally does when
the us
Pierre Rouleau <[EMAIL PROTECTED]> writes:
> Hi all,
>
> I am trying to send a WM_CLOSE mesage to the main window of a
> Win32 GUI application I started with
> win32process.CreateProcess(). I want to terminate the
> application gracefully, allowing the application to perform a
Pierre Rouleau wrote:
> Hi all,
>
> I am trying to send a WM_CLOSE mesage to the main window of a Win32
> GUI application I started with win32process.CreateProcess(). I want to
> terminate the application gracefully, allowing the application to
> perform all of its regular cleanup and prompt
Hi all,
I am trying to send a WM_CLOSE mesage to the main window of an
application I started with win32process.CreateProcess(). I want to
terminate the application gracefully, allowing the application to
perform all of its regular cleanup and prompting it normally does when
the user requests
For what it's worth, -1073741819 is hex C005, which is
STATUS_ACCESS_VIOLATION: a general protection fault. That's usually a
wild address or a null pointer dereference. Is it possible that one of
those last two parameters is actually (in,out) and not just (out)?
The generated function de
Hello,
I've seen this mentioned a few times but does anyone have a
wincerapi binary they could let me have a copy of? I'd be most
grateful! All and any help is greatly appreciated.
Cheers,
Neil
___
Python-win32 mailing list
Python-win32@pytho
> > For what it's worth, -1073741819 is hex C005, which is
> > STATUS_ACCESS_VIOLATION: a general protection fault.
> That's usually a
> > wild address or a null pointer dereference. Is it possible
> that one of
> > those last two parameters is actually (in,out) and not just (out)?
> >
>
> The
> Is there special usage for instantiating a struct type
> object defined in a com object?
>
> I am working with a com object, and in it is a struct
> datatype, which is later used as a required parameter
> for a method.
>
>
> I cannot seem to be able to instantiate an object of
> this
> type, and
Try passing explicit args for every arg, or substituting pythoncom.Missing
instead of pythoncom.Empty.
Already tried the first (same result-immediate crash). Don't understand
the second...
I've tried explicit "correct value and type" and "incorrect value but
correct type" args for every arg, im
My apologies if this is something that should be obvious to me, but I cannot figure out how to use a typelib if that typelib does not establish ProgID values for the CoClasses.
The class that was created by EnsureModule() is as follows:
class CaWHarvest(CoClassBaseClass): # A CoClass
# CaWHarve
Okay - sorry for the interruption - banging at this for several more minutes gave me the direction I needed. For anyone else out there struggling, I found that if I call
win32com.client.dynamic.Dispatch('{70107C62-8ABB-11D5-961B-0010A4F73DE4}')
and if I actually DO register the COM control, rat
13 matches
Mail list logo