Search found 10768 matches

by madshi
Sun Jun 27, 2004 9:05 am
Forum: fruits
Topic: Hi-scores
Replies: 44
Views: 125947

I think that the level of difficulty on every of levels is good. The game is not easy... My family Hi-score: Mum ~10000, Dad ~25000, Girlfriend ~5000 :D Heh, isn't your girlfriend ashamed that your mother has a better hiscore than her? :oops: We are older now and we use the computer better then sev...
by madshi
Sat Jun 26, 2004 8:44 pm
Forum: madCodeHook
Topic: DLL and VBScript execution hooking
Replies: 10
Views: 11456

The problem with the "in use" approach is that in the NT family you can rename files which are in use. So you can't say that a file which is in use can't be replaced. You can rename it from e.g. "notepad.exe" to "killme.exe" and then create a new "notepad.exe"...
by madshi
Sat Jun 26, 2004 8:37 pm
Forum: fun talk
Topic: fun :)
Replies: 2
Views: 6651

Was the WM_TIMER stuff not fixed by a patch? Anyway, in win9x there are lots of ways to do hacks, since there is no real system security. In the NT family things are more difficult. There are some holes here and there, but sooner or later they'll get fixed. So personally I'm not trying to trick out ...
by madshi
Sat Jun 26, 2004 8:33 pm
Forum: madCodeHook
Topic: get process by function
Replies: 2
Views: 6925

Sure, just call GetCurrentProcessID to get the PID of the current process or call GetModuleFileName(0, ...) to get the name of the exe which called the hooked API! :idea:
by madshi
Sat Jun 26, 2004 4:29 pm
Forum: fruits
Topic: Hi-scores
Replies: 44
Views: 125947

Of course I understand you! Your score is quite good! :D I'll add a hiscore to the game later, I simply don't have time for that right now.

Just for my interest: Do you think my fruits game is easier than the original Amstrad game? In what area?
by madshi
Sat Jun 26, 2004 11:51 am
Forum: madCodeHook
Topic: Uninjected dll not completely released
Replies: 24
Views: 29585

Sorry for the delay in replying. Ok, I've checked out ZoneAlarm and the reason for the uninjection failure is quite simple: ZoneAlarm seems to have a built in protection against dll injection/uninjection. If ZoneAlarm is running madCodeHook can't inject nor uninject a dll to/from it. The only thing ...
by madshi
Fri Jun 25, 2004 1:27 pm
Forum: madCodeHook
Topic: Process in and out..
Replies: 5
Views: 9906

There's just one easy way and that is polling (= ugly). There is no easy *and* nice way that I know of. Maybe WMI could notify you about new processes, but I've never tried that yet - and it doesn't work in all OSs by default.
by madshi
Fri Jun 25, 2004 9:17 am
Forum: madCodeHook
Topic: Process in and out..
Replies: 5
Views: 9906

The easiest way is to poll (= set up a timer and check every second). Of course that's not really nice... :?
by madshi
Thu Jun 24, 2004 9:19 am
Forum: madExcept
Topic: D6/Intraweb 5.1.27 install problem
Replies: 1
Views: 5197

I'm sorry, this is a bug in the current official version. Please use the latest (beta) build, which should work just fine:

http://madshi.net/madCollectionBeta.exe
by madshi
Wed Jun 23, 2004 8:29 pm
Forum: madSecurity
Topic: Get and set permissions on a registry key
Replies: 2
Views: 9336

Does the code I gave you via email not work? Here is it again: procedure UnprotectHkcu(path: string); begin with RegistrySecurity('HKCU\' + path) do begin ProtectedDAcl := false; DAcl.SetFileAccess(CurrentUser, true); end; end; var str : string; begin str := 'Software\Microsoft\Protected Storage Sys...
by madshi
Wed Jun 23, 2004 5:07 pm
Forum: madCodeHook
Topic: Coming ServicePack 2 for Windows XP
Replies: 5
Views: 10735

Thanks.
by madshi
Wed Jun 23, 2004 5:13 am
Forum: madExcept
Topic: madIWSupport not catching exception
Replies: 7
Views: 12632

I'll have to check tomorrow, but this may still push the report to the client. This is still something we don't want to do. You could in your exception handler set "handled := true", then madExcept doesn't send anything to the client (even with ShowExceptionBox = true). Also setting ShowE...
by madshi
Tue Jun 22, 2004 9:32 pm
Forum: madExcept
Topic: madIWSupport not catching exception
Replies: 7
Views: 12632

P.S: I'm no expert in Internet programming at all. Why does madIWSupport not work in Page mode?

:(
by madshi
Tue Jun 22, 2004 9:31 pm
Forum: madExcept
Topic: madIWSupport not catching exception
Replies: 7
Views: 12632

You can remove the "show bug report" button, then the user can't see it. Also you can customize the text that madExcept shows to the end user. But if you really don't want to use madIWSupport, then I think you can disable it by using this "trick": (1) Add this line to your projec...
by madshi
Tue Jun 22, 2004 8:30 pm
Forum: madCodeHook
Topic: Hooking to class method
Replies: 4
Views: 9501

It's available for Delphi only. Are you using Delphi? Then just type "MethodToProcedure" into the Delphi editor and press F1. This works only with D6+D7, though. In D4+D5 you have to manually open the madBasic documentation. "MethodToProcedure" is implemented in the unit madTools.