ACC: How to Pass a Single Byte of Data to Windows API Calls (93141)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
This article was previously published under Q93141 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
Microsoft Access versions 1.x and 2.0 do not have a single-byte data type.
To pass a byte to an external function, such as a Windows application
programming interface (API) function or a dynamic-link library (DLL) in
Microsoft Access versions 1.x and 2.0, you should declare the byte as an
integer.
If you need to pass a single byte of information in a data type, such as
the RGBQUAD structure, you should pass the data structure as a string
type.
NOTE: Microsoft Access for Windows 95 version 7.0 now has a Byte data
type.
REFERENCES
For more information about this topic, search for "Type Statement" using
the Microsoft Access Help menu.
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbhowto kbprogramming KB93141 |
---|
|