|
-
Jan 22nd, 2000, 03:14 AM
#1
Thread Starter
Hyperactive Member
Hi,
I was debugging the Kernel32.dll when I came across a command named GetWindowsDirectoryW. I know the GetWindowsDirectoryA but not W. What is this API used for or is it undocumented?
Thanks
-
Jan 22nd, 2000, 05:43 AM
#2
Guru
GetWindowsDirectoryA = ANSI version
GetWindowsDirectoryW = UNICODE version
Syntax for GetWindowsDirectoryW:
Declare Function GetWindowsDirectoryW Lib "Kernel32" _
(lpBuffer As Any, ByVal nSize As Long) As Long
Tom
-
Jan 22nd, 2000, 08:23 AM
#3
Hyperactive Member
-
Jan 23rd, 2000, 11:34 AM
#4
Lively Member
the difference is on how they store data.
-
Jan 23rd, 2000, 01:37 PM
#5
Guru
Unicode is necessary to accomodate other languages, where ANSI is limited.
from MSDN:
Unicode encompasses virtually all characters used widely in computers today. This includes most of the world's written scripts, publishing characters, mathematical and technical symbols, geometric shapes, basic dingbats (including all level-100 Zapf Dingbats), and punctuation marks. Some 35,000 code points have already been assigned characters; the rest have been set aside for future use. In addition to modern languages, Unicode covers languages such as literary Chinese, classical Greek, Hebrew, Pali, and Sanskrit. A private-use zone of 6500 locations is available to applications for user-defined characters, which typically are rare ideographs representing names of people or places.
more info here:
http://msdn.microsoft.com/library/de...efinitions.htm
[This message has been edited by Clunietp (edited 01-24-2000).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|