Search found 381 matches

by dcsoft
Wed Dec 15, 2004 7:24 pm
Forum: madCodeHook
Topic: Size of hook dll is 150 KB - shrink it?
Replies: 39
Views: 40621

Tested it myself in BCB5. With packages its 180 KB. Without packages (had to manually edit the project file to get rid of the WINDOWS.OBJ problem) the file even got to 195 KB. So in other words: BCB really isn't a good solution for madCodeHook. I didn't expect BCB to be that bad! Thanks for the eff...
by dcsoft
Tue Dec 14, 2004 8:35 pm
Forum: madCodeHook
Topic: Size of hook dll is 150 KB - shrink it?
Replies: 39
Views: 40621

Do you use madCHook.h? Or madCodeHook.h(pp)? The first one is meant for all C++ compilers except BCB. When using BCB please use madCodeHook.h instead. I had used madCodehook.h; I switched to madCodehook.hpp. The only difference I could see is that when i used the Hpp file, I had to manually specify...
by dcsoft
Tue Dec 14, 2004 1:18 am
Forum: madCodeHook
Topic: Size of hook dll is 150 KB - shrink it?
Replies: 39
Views: 40621

CBuilderX is completely different from C++ Builder and Delphi. It's a platform-independent C++ IDE with no built-in native support. It's the newer version of the old Borland C++ you used to work on, but works in Solaris, Linux, windows, etc. Thanks for that! I wondered why the IDE was written in Ja...
by dcsoft
Mon Dec 13, 2004 10:16 pm
Forum: madCodeHook
Topic: Size of hook dll is 150 KB - shrink it?
Replies: 39
Views: 40621

Borland C++ wouldn't work, but Borland C++ Builder would work. Versions 5 and 6 are directly supported. And yes, you get smart linking there. OK, I thought to try Borland. I used to work at Borland (worked on the IDE in Borland C++ 3.0 and Turbo Pascal for Windows 1.5, so it was a long time ago!), ...
by dcsoft
Mon Dec 13, 2004 7:06 pm
Forum: madCodeHook
Topic: Size of hook dll is 150 KB - shrink it?
Replies: 39
Views: 40621

If compressing the DLL does work (like u said, worth a try) then it would also help with the virus detectors, since the signature would most likely be scrambled. Thanks for the suggestion to use Aspack. I tried it, and it does make the .exe and .dll smaller. But when we bundle them into our install...
by dcsoft
Sat Dec 11, 2004 2:30 am
Forum: madCodeHook
Topic: Size of hook dll is 150 KB - shrink it?
Replies: 39
Views: 40621

Size of hook dll is 150 KB - shrink it?

Hello, I just purchased madCodeHook, and must say the ease of use and support on this forum and usenet are wonderful! :D I have already gotten my first project to work --- the most popular example of hooking WS2_32.DLL, the send() function. I have created both a hook dll (which uses HookAPI) and an ...