What is the difference between ANSI and UNICODE strings
when passed as arguments to a DLL?

Answers were Sorted based on User's Feedback



What is the difference between ANSI and UNICODE strings when passed as arguments to a DLL?..

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

What is the difference between ANSI and UNICODE strings when passed as arguments to a DLL?..

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

What is the difference between ANSI and UNICODE strings when passed as arguments to a DLL?..

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

Post New Answer

More Visual Basic Interview Questions

What is the use of OLE?

0 Answers   IBM,


what are the Sequence of events when a MDI form open with two child forms closing?

1 Answers  


1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report

0 Answers   Microsoft,


What are constructors and destructors?

1 Answers  


How do I dial a phone number without using the MSCOMM VBX?

0 Answers  






I have several megabytes of memory. Why do I get an "out of memory" error?

0 Answers  


Can a VB application be an OLE server?

0 Answers  


What is a Type Library and what is it's purpose ?

1 Answers  


How do I mimic a toggle button?

0 Answers  


What is datagrid in vb net?

0 Answers  


What is the difference between adodc and adodb in vb?

0 Answers  


How do I access C style strings?

0 Answers  


Categories