Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/22/18 in Posts

  1. It’s time for a gift to all Delphi developers, a new Release of GExperts. Happy Holidays! (But do spend some time with your family rather than testing GExperts. 😉 ) I blogged about the new features already. There were also several bug fixes. ... https://blog.dummzeuch.de/2018/12/22/gexperts-1-3-12-experimental-twm-2018-12-22-released/
  2. FillChar is a byte oriented method it will fill the underlying memory with the given number of bytes of the given value. Check Sizeof(a) and you will see that it is 24 and not 6. The UINT32 cast has no effect as FillChar will only use the lowest byte of that parameter.
  3. https://stackoverflow.com/questions/2113182/fillchar-but-for-integer-cardinal
  4. In general, no! Unless, in very specific scenarios, when the number you want to fill the array with consists of four similar bytes (like $04040404).
  5. Ondrej Kelle

    Strange Behaviour of FillChar for Non Byte Array Arrays.

    FillChar expects a byte value as the last paramater. You're filling a memory block with byte value 4 and your results show it (67372036 decimal is $04040404).
  6. Ondrej Kelle

    Feature request: "Show in Explorer"

    FWIW, as a workaround I use external tool setting (to launch explorer to show the current editor file).
  7. Uwe Raabe

    Blast from the past: BDE and Win10 W/S

    It is indeed quite a while since I had to cope with BDE problems, so my suggestion might be pretty outdated now. Nevertheless you can give it a try as it is only a small change in the registry. What helped us in the past was disabling opportunistic locking at the server side (where the database files reside). For this you have to change the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\EnableOplocks from 1 to 0 (as 1 is the default value, it might even be absent). Note that you have to restart Windows to make this change effective. A drawback of this setting is a possible overall network performance drop for that server system.
×