Results 1 to 4 of 4

Thread: Is Int64 the Same with Long

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2007
    Posts
    544

    Is Int64 the Same with Long

    Always?

    Be it in 32 or 64 bit system?

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Is Int64 the Same with Long

    Yes, a VB.Net Long is the same as System.Int64 regardless of the platform you compile your code too.

  3. #3
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Is Int64 the Same with Long

    The documentation tells you it is a contant value. If there was any diffference, it would also tell you. It would be crazy to be a different value depending on your architecture!

  4. #4
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Is Int64 the Same with Long

    If you want a data type that changes from 32 bit to 64 bit depending on the platform then you use IntPtr.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

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