You can't simply use long here, you need to handle the difference in the
size of long between Win32 and Unix.

but that's what we currently do !
A+ 

--
Eric Pouech