[AccessD] ReadDirectoryChangesW, not returning anything to t he buffer.

Drew Wutka DWUTKA at marlow.com
Wed Sep 10 18:05:01 CDT 2003


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.









 
-- 
Lexacorp Ltd
http://www.lexacorp.com.pg
Information Technology Consultancy, Software Development,System 
Support.



_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

----------------------------------------------------------------------------
----------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Tappe Construction Co.

Scanning of this message and addition of this footer is performed
by SurfControl E-mail Filter software in conjunction with 
virus detection software.

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list