Skip to content
⌘ NSIS Forum Archive

size of the plugin dll

3 posts

123mobile#

size of the plugin dll

Hi,

I am starting to write my own plugins, I am using visual studio 2005. I just compiled exdll and created exdll.dll.
The size of the dll is 356kb.
Also I try to compile other plugin source files and the size of dll is huge. Also at runtime the compiled dll gave me errors(eg in usrmgr.dll)
The size of dll of other people's dll is only around 10kb

Can anybody tell me why it is like this?
Thanks,
Prabhat.
Afrow UK#
Make sure that your solution is set to release rather than debug under Build > Configuration Manager

Stu
Anders#
VC 6 will create smaller files out of the box, but to get it really small you might want to link without the ms c runtime.

Other resources:
Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

http://www.nopcode.com/ (Aggressive Optimizations for Visual C++)