Hour 8

1: Why would you want to include a .resx file in your project rather than just including the already compiled .resources file?
A1: In case you need to make changes to the resources contained within the .resx file. You can't make changes to a compiled .resources file.
2: What is an advantage of using managed resources compared to unmanaged resources? What are some disadvantages?
A2: Managed resources are handled by the common language runtime and thus gain all the advantages that it entails. However, there is currently more work that needs to be done to Visual C++ .NET to make working with managed resources easier.
3: Can you use the GetObject function within the ResourceManager class to retrieve a string resource?
A3: Yes, you can. The GetString ...

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.