Open GoogleCodeExporter opened 8 years ago
When compiling RCF into a DLL, both the DLL and the modules that link to it,
need to
be dynamically linked to the compiler runtimes. E.g. with Visual C++, that
means you
need the /MD switch instead of /MT.
The reason is that RCF passes C++ objects across the DLL boundary (such as
std::string), and to make memory management work in such a situation, both the
DLL
and its client need to link to the same compiler runtime.
If you require your modules to be statically linked, you'll need to compile
RCF.cpp
into each module.
Original comment by jarl.lin...@gmail.com
on 25 Jun 2009 at 7:35
Original comment by jarl.lin...@gmail.com
on 11 Jul 2009 at 10:36
Original issue reported on code.google.com by
hndam...@hotmail.com
on 22 Jun 2009 at 2:08Attachments: