PNG image from resource…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44779
    durumdara
    Participant

      Hi!

      I've created a test application.

      When I try to set imageindex on buttons, I got error:

      sGraphUtils:


      Debugger Exception Notification


      Project Project1.exe raised exception class EIntOverflow with message 'Integer overflow'. Process stopped. Use Step or Run to continue.


      OK Help


      Delphi 6 Prof, Win7:

      if B < 0 then Dest.rgbtBlue := 0 else if B > $FF0000 then

      Dest.rgbtBlue := $FF

      else

      Dest.rgbtBlue := B shr 16;

      if DWORD(Dest) + DWORD(dstDelta) < MAXDWORD then DWORD(Dest) := DWORD(Dest) + dstDelta // HERE? end; Thanks: dd [attachment=4575:PNGImageList.zip]

      #44814
      Support
      Keymaster

        Hello and thank you for the example.

        This error will be fixed in the nearest release, I think. Please wait few days.

        #44817
        durumdara
        Participant
          'Support' wrote:

          Hello and thank you for the example.

          This error will be fixed in the nearest release, I think. Please wait few days.

          Hi!

          Thank you!

          Please write here some example: what will working in the next release.

          Thanks:

          dd

          #44819
          Support
          Keymaster

            Your code must be working there 🙂

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.