PDA

Click to See Complete Forum and Search --> : Help Me!


May 12th, 2000, 11:05 AM
I just started learning API, and I am really stuck.


FILE_FLAG_WRITE_THROUGH = &H80000000

thats not the whole code,
but what is the &H8000etc... for?
what does that mean?

seaweed
May 12th, 2000, 12:23 PM
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.

May 12th, 2000, 10:49 PM
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
FILE_FLAG_WRITE_THROUGH = &H80000000

could I do this]

FILE_FLAG_WRITE_THROUGH = 3


???

Mongo
May 12th, 2000, 11:14 PM
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]

kedaman
May 13th, 2000, 02:07 AM
Put this in your immediate window and press enter:

?&H80000000