[so] [Laborator 2]
    Paul-Stelian Olaru 
    olarupaulstelian97 at gmail.com
       
    Thu Apr  4 00:14:28 EEST 2019
    
    
  
În Windows, BOOL nu e chiar un boolean. În Windows FALSE este 0, TRUE este 1 și BOOL este de fapt int și poate avea valori diferite (dar orice valoare nenulă trebuie tratată ca true). Yeah, IKR, not exactly intuitive. Winapi is weird.
Sent from Mail for Windows 10
From: Lepadatu Tiberiu Andrei via so
Sent: Thursday, April 4, 2019 12:12 AM
To: so at cursuri.cs.pub.ro
Subject: [so] [Laborator 2]
Salut!
De ce in laboratorul2 [1] la exemplul de la Trunchierea fișierelor pe windows
este comparat dwRet cu FALSE. Nu trebuia sa fie un BOOL intrucat 
ReadFile intoarce un BOOL?
Stima,
Tiberiu Lepadatu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20190404/024f4f24/attachment.html>
    
    
More information about the so
mailing list