|
-
May 12th, 2000, 11:05 AM
#1
I just started learning API, and I am really stuck.
Code:
FILE_FLAG_WRITE_THROUGH = &H80000000
thats not the whole code,
but what is the &H8000etc... for?
what does that mean?
-
May 12th, 2000, 12:23 PM
#2
Frenzied Member
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
#3
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
Code:
FILE_FLAG_WRITE_THROUGH = &H80000000
could I do this]
Code:
FILE_FLAG_WRITE_THROUGH = 3
???
-
May 12th, 2000, 11:14 PM
#4
Hyperactive Member
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]
-
May 13th, 2000, 02:07 AM
#5
transcendental analytic
Put this in your immediate window and press enter:
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|