Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #2009

Re: LongPtr

From GS <gs@somewhere.net>
Newsgroups microsoft.public.vb.general.discussion, comp.lang.basic.visual.misc
Subject Re: LongPtr
Date 2014-02-24 17:21 -0500
Organization A noiseless patient Spider
Message-ID <leggkh$en4$1@dont-email.me> (permalink)
References <lbok72$81e$1@speranza.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


Hi Deanna,
I finally got around to installing MSO2010 and here's what I found in 
VBA7 online help...


LongPtr Data Type

LongPtr (Long integer on 32-bit systems, LongLong integer on 64-bit 
systems) variables are stored as signed 32-bit (4-byte) numbers ranging 
in value from -2,147,483,648 to 2,147,483,647 on 32-bit systems; and 
signed 64-bit (8-byte) numbers ranging in value from 
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 on 64-bit 
systems.


  Note
LongPtr is not a true data type because it transforms to a Long in 
32-bit environments, or a LongLong in 64-bit environments. Using 
LongPtr enables writing portable code that can run in both 32-bit and 
64-bit environments. Use LongPtr for pointers and handles.

-- 
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
  comp.lang.basic.visual.misc
  microsoft.public.vb.general.discussion

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

LongPtr Deanna Earley <dee.earley@icode.co.uk> - 2014-01-22 14:22 +0000
  Re: LongPtr Deanna Earley <dee.earley@icode.co.uk> - 2014-01-22 14:25 +0000
    Re: LongPtr GS <gs@somewhere.net> - 2014-01-22 12:09 -0500
      Re: LongPtr ralph <nt_consulting@yahoo.com> - 2014-01-22 15:36 -0600
        Re: LongPtr GS <gs@somewhere.net> - 2014-01-22 16:49 -0500
          Re: LongPtr ralph <nt_consulting@yahoo.com> - 2014-01-22 16:11 -0600
            Re: LongPtr GS <gs@somewhere.net> - 2014-01-22 17:16 -0500
              Re: LongPtr Deanna Earley <dee.earley@icode.co.uk> - 2014-01-23 09:56 +0000
          Re: LongPtr Deanna Earley <dee.earley@icode.co.uk> - 2014-01-23 09:55 +0000
            Re: LongPtr GS <gs@somewhere.net> - 2014-01-23 10:41 -0500
      Re: LongPtr Tony Toews <ttoews@telusplanet.net> - 2014-01-22 15:03 -0700
        Re: LongPtr GS <gs@somewhere.net> - 2014-01-22 17:14 -0500
        Re: LongPtr ralph <nt_consulting@yahoo.com> - 2014-01-22 16:53 -0600
  Re: LongPtr GS <gs@somewhere.net> - 2014-02-24 17:21 -0500

csiph-web