I just started learning API, and I am really stuck.
thats not the whole code,Code:FILE_FLAG_WRITE_THROUGH = &H80000000
but what is the &H8000etc... for?
what does that mean?
Printable View
I just started learning API, and I am really stuck.
thats not the whole code,Code:FILE_FLAG_WRITE_THROUGH = &H80000000
but what is the &H8000etc... for?
what does that mean?
FILE_FLAG_WRITE_THROUGH is the name of a constant. &H80000000 is it's assigned value. Any number in VB starting with &H is a hexadecimal number.
how do I convert it from hex, and can I just give the value?
this isnt real I am sure, but say &H80000000 = 3
instead of
could I do this]Code:FILE_FLAG_WRITE_THROUGH = &H80000000
Code:FILE_FLAG_WRITE_THROUGH = 3
???
Pull up your Windows' Calulator (view: Scientific).
Click the Hex radiobox and enter 80000000.
Then click the Dec. In this case, &H80000000 = 2147483648.
[Edited by Mongo on 05-13-2000 at 12:17 PM]
Put this in your immediate window and press enter:
Code:?&H80000000