[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Compiling LPeg on Windows as C++
- From: Wim Couwenberg <wim.couwenberg@...>
- Date: Wed, 30 Dec 2009 19:23:36 +0100
> If I use dynamic linking, the right version of the runtime lib
> MSVCRxx.DLL has to be present on the target machine, if I understand
> the docs correctly. At the moment, this is not an option for me.
then your only option is to link everything statically (including
lpeg) into a single exe. your problem is that the .exe and the .dll
each use their own (statically linked) version of the runtime. that
doesn't go down well, e.g. with memory management...