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

Why API functions are Required?

0 Answers   L&T, Wipro,


What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?

0 Answers   Wipro,


How can you Add API functions to your Application?

1 Answers  


What is rdo in vb?

0 Answers  


___ VB constant make the menu item in centre.

0 Answers  






How to use hyperlink?

0 Answers  


How can you determine performance standards?

0 Answers  


What are the objects in ADODB?

1 Answers  


What is the difference between modal and modaless form in VB?

1 Answers  


what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control

1 Answers  


What is a datacontrol?

1 Answers  


What are the different types of Dialog Box?

2 Answers   Apollo, ATTC,


Categories