Exchanging 64 bit data between windows and linux

Thiago Macieira thiago at kde.org
Wed Aug 31 02:47:38 PDT 2011


On Wednesday, 31 de August de 2011 11:10:06 CHAUVE Adrien wrote:
> Hi,
> 
> I'm trying to use QtDBus to communicate between a linux server and a
> windows client, but I can't get to exchange 64 bit data (double or
> INT64).
> 
> While it works fine when my client runs also on linux, I get the
> following behavior when the client runs on windows:
> - send (INT64):       0x1234567 89abcdef
> - receive (INT64):  0xef320001 89abcdef
> So the last 32 bits are OK but not the first ones. This is just the same
> for DOUBLE.
> 
> Is this a known problem or have I missed something?

It's not a known problem.

My guess is that it's a problem in the decoder, which is probably using a 32-
bit type to read instead of a 64-bit one.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110831/0f29b491/attachment.pgp>


More information about the dbus mailing list