static library

c++ / delphi package - dll injection and api hooking
Post Reply
wineggdrop
Posts: 19
Joined: Mon Nov 18, 2019 6:18 am

static library

Post by wineggdrop »

Madcodehook 4.0.2,I have re-compiled the static library,the 32 bit library is 1MB big,but the 64 bit library is 600 KB only.it doesn't seem right to me since the 32 bit library in madcollection package under header and libs folder only 200 KB in size.anything wrong?
iconic
Site Admin
Posts: 1065
Joined: Wed Jun 08, 2005 5:08 am

Re: static library

Post by iconic »

Hello,

It sounds like you're compiling in Debug mode, have too many other additional dependencies etc. The libs that come shipped with MCH are the correct size, give or take a few Kb due to compiler specific bloat or whatever when recompiled with a different compiler and environment. I've placed the original libs and my newly compiled libs (VS 2015 Community Ed.) in the same directory so you can check the sizes out for yourself. This is Release Mode, of course. 64-bit libs should, 99% of the time, be larger than 32-bit. Something clearly isn't right there on your end :?
MCH_lib_recompile.png
MCH_lib_recompile.png (55.72 KiB) Viewed 7680 times
--Iconic
wineggdrop
Posts: 19
Joined: Mon Nov 18, 2019 6:18 am

Re: static library

Post by wineggdrop »

I compiled at release mt mode,pretty sure about it.
Post Reply