Results 1 to 5 of 5

Thread: Help Me!

  1. #1
    Guest

    Arrow

    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?

  2. #2
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357
    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.
    ~seaweed

  3. #3
    Guest
    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

    ???

  4. #4
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Leavenworth KS USA
    Posts
    482
    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]

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Put this in your immediate window and press enter:
    Code:
    ?&H80000000
    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
  •  



Click Here to Expand Forum to Full Width