How To Copy a String to a Byte Array Without Unicode Conversion (187675)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q187675 SUMMARY
This article demonstrates how to copy a string to a byte array without
using a Unicode conversion. This technique is useful if you need to pass a
string to a function that requires Unicode. The article includes
instructions to create a sample project that demonstrates this information.
REFERENCES
For more information about ANSI and Unicode, see Chapter 16 "International
Issues" in Part 2 of the Visual Basic Programmer's Guide.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB187675 |
---|
|