I'm writing a mixed C++/CLI DLL with both managed and unmanaged classes. Both need access to string and other types of resources, like Direct3D textures.
How best to embed them within the DLL? It seems like there are several ways to do this; .resx (new style, managed), .rc (old style) which can be used to generate .resources files and (optionally) embedded within the assembly.
Currently I'm using a .rc file and ::LoadString() to get my strings. I have a managed wrapper for this to return String^ values to managed code. And a similar method to return WCHAR* to native code.
Is there a better way of doing this? What are the tradeoffs? I could for instance use a .resx file and the ResourceManager class for managed code and an .rc for native but this means I can't share resources etc. Is there a recommended approach?
IIS website deployment with subdirectories throwing 404 error for pages in subdirectory
VS2008 IDE giving 5 second latency when switching tabs between aspx and aspx.cs , how come?
WiX generated MSI is not compressed
Although you already have a wrapper to do this so it would be even easier..
Work on a VS 2005 solution in VS 2008
.rc files are so 1997 man!.
Is there any good replacement for SharePoint Designer?
remove regions in visual studio