QA

   

Q&A

Q1:

If I can only embed one .resources file into an assembly, does that mean I have to put every language resource into one file?

A1:

No, it doesn't. The ResourceManager class has a CreateFileBasedResourceManager function that supports the reading of .resources files. You can use multiple .resources files in different languages.

Q2:

I know I can create resources manually using an XML editor or the ResEditor utility. Are there any other ways?

A2:

Yes, there is another way. You can also programmatically create resources using the ResourceWriter class. In fact, this is exactly the way the ResEditor.exe tool reads and writes resources.


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net