What is the difference between ANSI and UNICODE strings
when passed as arguments to a DLL?
Answers were Sorted based on User's Feedback
Answer / kaan
ANSI support 256 different characters
so it will take 8 bit to store single character
but
UNICODE support 65536 different character,so it will take
16 bit to store single character and it is more complex
This differences should consider while u interact with
unmanaged code(win32 api),export functions etc.,
Is This Answer Correct ? | 22 Yes | 1 No |
Answer / vipul
ANSI: This standard provided 256 different symbols that a
computer can use. It was quick, efficient, and easy to
implement. All modern operating systems fully understand
ASCII.
UNICODE: Unicode which allowed for up to 65,536 different
characters. Since Unicode is more complex it is not
implemented on many operating systems. In terms of
Microsoft; Windows NT, Windows 2000, Windows XP, and
Windows 2003 support Unicode as will all future releases of
Windows.
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / guest
ANSI - one byte for a char
UNICODE - two bytes per char - works only on NT
Is This Answer Correct ? | 17 Yes | 10 No |
Is visual basic case sensitive?
How will you define a function to accept optional arguments?
How would you add elements in TreevieW Control.
Clear property is available in ____,___ control.
Is visual basic easy?
Can you create a Updatecascade, Deletecascade relation in Ms- Access?
What is file in vb?
What are different types of cursors in ADODB?
what is the Advantage of ActiveX Dll over Active Exe ?
Which tool is used to configure the port range and protocols for DCOM communications?
How do I tell when an application executed using the SHELL command is finished?
How many MDI(multiple document interface) forms can include in one project(especially in visual basic)?