YaPB compile - dll size is big? Help~ -
18-04-2010
*_* sorry 4 my poor English & coding skills...
I got the sourcecode from CSO-nst, the original yapb.dll is 182 KB in size, version: 2.0.0.864
I compiled the project with VS2005 but got at least 428KB even with perference for size..
Really want to know is it due to my wrong settings for the project? or I didn't have asm files(maybe generated in debug)?
try building with the "Release" configuration instead of the "Debug" one.
btw, I think the code you have is too old and maybe you can try the latest version instead -> http://code.google.com/p/yapb
You will see almost no any difference. About VS 2005-2008 - even in release mode still basic debug info is generated. You can turn it off on the C++ general settings by setting debug information format to disabled and also on the linker settings->debugging, select "no" on generate debug info. If the size is still big you are probably linking with the static C and C++ runtime, which you can change again from the C++ general settings->Code generation->Runtime library. You can switch to the DLL versions of the libraries but doing so you will have to install the VC++ redistributable package(~2MB) on each PC that you are going to use the bot.