Win32 port

Thiago Macieira thiago.macieira at trolltech.com
Mon Jun 26 02:00:06 PDT 2006


Peter Kümmel wrote:
>> Not all Windows code links to kdewin32. I'd rather we did NOT
>> reimplement the getuid function in every single implementation.
>
>Currently dbus links against kdewin32, so all windows code which uses
> dbus also links against kdewin32. And kdewin32 has already a
> (incomplete) getuid function.

Is this intended to be a permanent solution? I.e., will dbus always link 
to kdewin32 (or a similar support library) on Windows?

If not, I'd rather not perpetuate this in the interface as well.

>> Besides, this completely defeats the purpose of identifying the user
>> that holds the connection open.
>
>Doesn't we have the identifier of that user so we could get the sid from
>the map?

This means we have to convert UID → SID somewhere along the line if we 
want to talk to other applications or system calls on Windows. That's why 
I'm asking for the native representation.

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech ASA - Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060626/e90f5af9/attachment.pgp


More information about the dbus mailing list