I separated a code fragment into a DLL because it will be frequently updated and in this way it should be easier to deploy.
But I have questions about what I can do and what I cannot do with a DLL.
- Can I pass a
std:stringor aCStringto aDLL? - Can I pass a pointer to a
structwithstd::string membersand fill it in aDLL? - Can a
DLLreturn a pointer to a struct allocated there? Will it be valid? Can I delete it after? - What should better to pass, a
std::Stringor aCstring?
Thanks !