Gustav Brock
gustav at cactus.dk
Thu Sep 11 03:57:16 CDT 2003
Hi Drew Very good Stuart and Brett! So, Drew, how would you assign a Null to these if not dim'ed as variants?? /gustav > LOL. Very funny. > I do use int for all integers, because I always dimension as Long, unless I > absolutely require an integer (which is only for API calls) > Drew > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Wednesday, September 10, 2003 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to > t he buffer. > Of course, to Drew, an integer and a long integer are the same thing! <VBG> > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Wednesday, September 10, 2003 5:45 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to > t he buffer. > Thanks, complete brain fart. I had run into that before, and completely > forgot. > Drew > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Wednesday, September 10, 2003 5:34 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to > t he buffer. > On 10 Sep 2003 at 17:21, Drew Wutka wrote: >> Never mind, I figured it out. What is the difference between 0 and 0& >> though? > 0& forces it to be passed as a 32 bit Long or DWord). > 0 will be passed as a 16 bit Integer. > For API calls always pass declared variables/equates (with suitable > prefixes <g>) or typed values to avoid this sort of problem.