Discussion:
What is a "Managed Application"?
(too old to reply)
Susan Rice
2007-01-16 16:49:40 UTC
Permalink
I'm looking at the doc for 'MultiByteToWideChar', the input CodePage
parameter, I then click on "See Code Page Identifiers" to see all
the options, and there for some code page identifiers, such as
"1201 unicodeFFFE", it says, "Unicode UTF-16, big endian byte
order; available only to managed applications."

So what is a "managed application"?

Say I want to translate a UTF-16 Big Endian file to a
UTF-16 Little Endian file, can I use 'MultiByteToWideChar'?
Tom Serface
2007-01-16 16:59:28 UTC
Permalink
A "managed" application is just one done in .NET. They call it managed
because theoretically the memory is managed by the CLR so the programs are
more trustworthy (assuming you trust the CLR more than the programmer :o)

http://www.ondotnet.com/pub/a/dotnet/2003/01/13/intromcpp.html

Tom
Post by Susan Rice
I'm looking at the doc for 'MultiByteToWideChar', the input CodePage
parameter, I then click on "See Code Page Identifiers" to see all
the options, and there for some code page identifiers, such as
"1201 unicodeFFFE", it says, "Unicode UTF-16, big endian byte
order; available only to managed applications."
So what is a "managed application"?
Say I want to translate a UTF-16 Big Endian file to a
UTF-16 Little Endian file, can I use 'MultiByteToWideChar'?
Ajay Kalra
2007-01-16 17:11:17 UTC
Permalink
That will be your C++ app compilied with /CLR option. Essentially anything
before and including VC6 can only generate unmanaged app. With the advent of
.Net, you can optionally have a managed app, where you let CLR handle
object lifetime. In short, if you are not using .Net, you have a unmanaged
app.
--
Ajay Kalra [MVP - VC++]
Post by Susan Rice
I'm looking at the doc for 'MultiByteToWideChar', the input CodePage
parameter, I then click on "See Code Page Identifiers" to see all
the options, and there for some code page identifiers, such as
"1201 unicodeFFFE", it says, "Unicode UTF-16, big endian byte
order; available only to managed applications."
So what is a "managed application"?
Say I want to translate a UTF-16 Big Endian file to a
UTF-16 Little Endian file, can I use 'MultiByteToWideChar'?
Loading...