Archive: size of the plugin dll


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.


Make sure that your solution is set to release rather than debug under Build > Configuration Manager

Stu


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:
http://msdn.microsoft.com/msdnmag/issues/01/01/hood/
http://www.nopcode.com/ (Aggressive Optimizations for Visual C++)