I don't think you can at the moment - you will probably need the SVN version
of python 2.6 and then need to make some patches to py2exe (or at least
trick it by manually cross-compiling its stubs as 64bit executables).
Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sidd
> import comtypes.gen.ResultsInterfaces as ResInt
> internalView = view.QueryInterface(ResInt.IViewDataView)
ResInt.IViewDataView needs to be converted to either a pywintypes IID
object, or a string in {xxx-xxx-etc} format - but I'm not sure how to
convert between comtypes IIDs and
> Thank you Rober & Alex for the answers :-)
> But I must admit that I'm still bit uncertain about that whole issue.
> As I understood apache it is creating a thread for every request
> anyway, or not?
No - given the docs posted before, they are created once and shared. When a
request completes,
> What leads you to say this? Do you have a reference? Windows Explorer
> in Vista has been substantially modified, but I have not read of any
> breaking changes in the shell interface.
A few of the interfaces have been dropped - IColumn* comes to mind. Michel
may have been referring to DDE, wh
Hi Mark,
Thanks for the answer, I tried using the IViewDataView's uiid like
this (probably in a naive way):
y = view.QueryInterface("{8D2AD79B-1ADD-4181-BAD4-FF0672A9B6E3}")
But that produces the error on that line.
com_error: (-2147221005, 'Invalid class string', None, None)
I read that I can
> Hi Mark,
>
> Thanks for the answer, I tried using the IViewDataView's uiid like
> this (probably in a naive way):
>
> y = view.QueryInterface("{8D2AD79B-1ADD-4181-BAD4-FF0672A9B6E3}")
>
> But that produces the error on that line.
>
> com_error: (-2147221005, 'Invalid class string', None, None
Unfortunately got the same error ('Invalid class string') with
'pywintypes.IID("{...
You mention not supporting IDispatch but this interface inherits
IDispatch. Here is a snippet from it's IDL:
[
odl,
uuid(8D2AD79B-1ADD-4181-BAD4-FF0672A9B6E3),
version(1.0),
dual,
nonextensibl
> Unfortunately got the same error ('Invalid class string') with
> 'pywintypes.IID("{...
That is strange - it appears the object itself is throwing that error code.
E_NOINTERFACE is generally the only "expected" error code for QI.
> You mention not supporting IDispatch but this interface inherits
The problem with apache tho is, that it starts the thread itself and I don't
know wether my script runs on a new thread or not. I did some testing with
calling CoInitialize at the start of my scripts and CoUnitialize at the end of
my script (as suggested by others before) and it seemed to work..
Bonjour,
in the context of CAD management (layersmanagement, etc...),
we are storing our Layers management in a reference.dwg file, for
obvious reasons.
But some aspects of this management have to be maintained in
alphanumeric format.
Therefore
we need to trigger each time this reference.dw
> The problem with apache tho is, that it starts the thread itself and I
> don't know wether my script runs on a new thread or not.
Yeah - it sucks if there is no way to hook thread creation.
> I did some
> testing with calling CoInitialize at the start of my scripts and
> CoUnitialize at the end
11 matches
Mail list logo