Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 03/31/21 in all areas

  1. Stefan Glienke

    Delphi WAT of the day

    Exactly - at runtime. Warning would be nice, don't you think? Edit: to be clear not because I put the -1 there which will for sure blow up but because Integer->Cardinal will blow up for 50% of the value range. We have W1023 and W1024 when comparing or combining, but assignment/parameter passing blows up at runtime... eventually, some day.
  2. balabuev

    Delphi WAT of the day

    Task completed:
  3. angusj

    Resource Hacker

    Resource Hacker A resource editor for 32bit and 64bit Windows applications. It's both a resource compiler and a decompiler - enabling viewing and editing of resources in executables (*.exe; *.dll; *.scr; etc) and compiled resource libraries (*.res, *.mui). Resource Hacker also provides many options for compiling and decompiling resources from the command-line. http://www.angusj.com/resourcehacker/ Download: http://www.angusj.com/resourcehacker/reshacker_setup.exe
  4. FredS

    How to "dim" a TabSheet?

    I'm confused, what's the reason for wanting your controls to look Un-Dimmed? ..and if that is the case why not custom draw just your Tabsheet/Panel background dimmed?
  5. Stefan Glienke

    Delphi WAT of the day

    Inspired by that other thread: procedure TypeSafeMyAss(i: Cardinal); begin end; var i: Integer; begin i := -1; {$RANGECHECKS ON} TypeSafeMyAss(i); end.
  6. 0x8000FFFF

    List of usable RegEx for source code

    Yes, I did, keeping in mind that RegEx provides only false sense of safety. RegEx can be used as an additional tool to well-established tools - static analysis and unit tests.
  7. dummzeuch

    List of usable RegEx for source code

    Greping for “raise e[a-z]*(” and ” e[a-z]*\.Create\(” will find bugs with (not) raising exceptions.
  8. luebbe

    Range Check Error ERangeError

    I didn't look at the code in the IDE, just what grepwin spat out, but I'd say: smtpQuit : PostMessage(Form1.Handle, WM_REMOVEOBJ, Integer(Sender), 0); probably casts a pointer to integer. And there are more of these.
  9. luebbe

    Range Check Error ERangeError

    This Discussion made me run a grep for this construct across code that we use and I found that some of the ICS demos are using an integer cast in PostMessage() instead of WPARAM. Maybe @Remy Lebeau wants to take a look? :)
  10. Remy Lebeau

    How to "dim" a TabSheet?

    Do note that solution is applying the WS_EX_LAYERED window style to a child window, which is supported only in Windows 8 onwards, and only if the app manifest specifies Windows 8 as a <supportedOS>.
  11. Dalija Prasnikar

    Delphi WAT of the day

    That is useful if you get paid by the LOC compiler generates-
  12. mael

    HxD hex, disk and memory editor

    HxD 2.5 was released with many feature enhancements and bug fixes. Here are the change log and the download. GregC/DigicoolThings published a disassembler plugin on GitHub for MC6800, MC6809, 6502 and related CPUs. The updated plugin framework can be found, here, as usual: https://github.com/maelh/hxd-plugin-framework If you like it, please star / fork it, so it becomes more well known. Donations are welcome if you want to say thanks.
  13. I am temporarily disabled due to a fractured (bone fully severed at 75° acute angle) upper left arm after slipping on black ice. A nice clean fracture according to the doctors. No surgery or fancy stabilization planned, and the doctors want me to let the body handle it on its own, varying between letting it hang free and using a sling. Typing one handed on Android is somewhat frustrating, so I'll be less active until the worst pain phase is over.
×