Hello. I don't need full details, just a recommendation from experts.
I wrote a lot of Pre-ANSI K&R C programs but I'm not a C++ expert. The
volume of C++ info available is daunting... <g>
I am working on a project where a C# GUI program uses a number of non-.NET
C++ DLLs. PInvoke is working fine for two-way comm with the DLLs. Each DLL
exposes the same interface.
I would like to extend the interface to retrieve the name of the DLL and its
version, e.g. "MyCppDllOne" and "0.5.1" Questions:
1. Are Unicode strings appropriate?
2. What is the best way to build these strings in the C++ code?
3. Is there a better way, that is, a Best Practice I'm missing?
Thanks.
-- Mark