On 22/03/2012 2:53 AM, Jan Wedel wrote:
Hi,
I'm currently having trouble to write a COM-Server that has some special
requirements:
- It needs to derive from IUnknown
- It needs to implement multiple interface from two different
proprietary typelibs (dlls)
- It needs to implement a custom categor
Hi Mark,
thanks for your reply.
> That's E_FAIL which is pretty generic. Doesn't sound like a simple
> failure to QI for the correct interface.
Yeah. The client says something like "Unknown Error" which makes it hard to
tell what the problem actually is.
> win32com should be able to do this
I've actually managed to patch the policy.py to allow multiple typelibraries.
Instead of having a definition for interfaces, type library id, version etc
i've build this into one tuple. I've created a new attribute that can have
multiple of these tuples. The head of my server class now looks lik
reckoner wrote:
> when using win32process, I get the following error when I try this on a
> Windows XP 64-bit machine:
>
> error: (299, 'GetModuleFileNameEx', 'Only part of a ReadProcessMemory or
> WriteProcessMemory request was completed.')
>
> I don't get this error on a Windows XP 32-bit machi
On 22/03/2012 11:51 PM, Jan Wedel wrote:
Hi Mark,
thanks for your reply.
That's E_FAIL which is pretty generic. Doesn't sound like a
simple failure to QI for the correct interface.
Yeah. The client says something like "Unknown Error" which makes it
hard to tell what the problem actually is.
On 23/03/2012 3:54 AM, Jan Wedel wrote:
I've actually managed to patch the policy.py to allow multiple
typelibraries.
Instead of having a definition for interfaces, type library id,
version etc i've build this into one tuple. I've created a new
attribute that can have multiple of these tuples. T