1. win32lib & ole
Derek,
I was just looking over the new win32lib, and noticed that you've
slipped a new file in there without mentioning it in the changes. I'm
curious about the...er...tentative start to OLE support.
Did you have something in particular in mind? I ask because I'd hate to
see you try to reinvent the wheel on this one, because you could
probably drop EuCOM right in (I've use it with win32lib quite a
bit--though it's happy with or without win32lib). It's actually got a
fairly win32lib'ish feel to it, IMHO, and while not complete or perfect,
really allows you to do a lot of neat things (especially when combined
with its tbrowse utility).
Matt Lewis
2. Re: win32lib & ole
----- Original Message -----
From: "Matt Lewis" <matthewwalkerlewis at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Subject: win32lib & ole
>
>
> Derek,
>
> I was just looking over the new win32lib, and noticed that you've
> slipped a new file in there without mentioning it in the changes.
That's because I didn't want to highlight it ...
> I'm curious about the...er...tentative start to OLE support.
... because I'm not planning OLE support. EuCOM is doing that, right?
However, I put in support for the getFileInfo call which (for some unknown
reason) needs to call OleInitialize() before using. So that's the only
reason I started the w32ole.ew file.
--
Derek
3. Re: win32lib & ole
>
>
>----- Original Message -----
>From: "Matt Lewis" <matthewwalkerlewis at yahoo.com>
>To: "EUforum" <EUforum at topica.com>
>Subject: win32lib & ole
>
Derek,
I think that getFileInfo doesn't needs OLE Initialization.
I commented ole:OleInitialize() in winfile.ew and fileprop.exw
works fine.
Thanks
--George
4. Re: win32lib & ole
----- Original Message -----
From: "George Papadopoulos" <georgp at otenet.gr>
To: "EUforum" <EUforum at topica.com>
Subject: Re: win32lib & ole
>
>
> >----- Original Message -----
> >From: "Matt Lewis" <matthewwalkerlewis at yahoo.com>
> >To: "EUforum" <EUforum at topica.com>
> >Sent: Tuesday, June 10, 2003 9:49 PM
> >Subject: win32lib & ole
> >
>
> Derek,
>
> I think that getFileInfo doesn't needs OLE Initialization.
> I commented ole:OleInitialize() in winfile.ew and fileprop.exw
> works fine.
>
You may be correct, but quoting the Microsoft SDK - "You must initialize COM
with CoInitialize or OLEInitialize prior to calling SHGetFileInfo."