
11 Jan
2012
11 Jan
'12
9:30 a.m.
As long as you don't mix runtimes i.e. dll and main program uses different heaps and so on there is no problems I'm aware of.
It might be the problem, as C++ standard don't define anything about all this, obviously.
C++ does not say anything on shared object and dlls :-) But we relay on OS for such stuff...
Anyway I like the simplicity of your solution, it seems easy to build on.
Another minor question : what is the rational in choosing std::string in the interface instead of const char* ?
Why not? std::string is convertable from char const * also "creating string" price is quite negligible in comparison to loading library... Artyom