Re: reference
On Apr 9, 8:30 am, worlman...@yahoo.com wrote:
One of the confusion for windows programming is there are so many
data type.
some of the type are in herehttp://msdn2.microsoft.com/en-us/library/aa383=
751.aspxhttp://msdn2.microsoft.com/en-us/library/323b6b3k(VS.80).aspx
Does any one agree so too - MS programming has so many
confusing data type that standard C++ only has a few ??!
The few times I've programmed against the Windows interface,
I've found just the opposite to be true: MS doesn't seem to have
enough different data types to keep things straight. It's nice
to say that everything is a HANDLE, but it's even nicer to get a
compiler error if I try to lock a mutex using a handle returned
from CreateFile. (The older parts of Posix aren't much better,
since open returns an int, which can just as easily be passed to
a function expecting a process id. In the newer parts, however,
pthread_t cannot be passed to a function expecting a
pthread_mutex_t.)
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34