Code Monkey home page Code Monkey logo

Comments (6)

lainz avatar lainz commented on May 29, 2024

Same error I had in one project with TBCButton
bgrabitmap/bgracontrols#46

from bgrabitmap.

phoenixfenix avatar phoenixfenix commented on May 29, 2024

Ok thanks, I hadn't seen this. So I don't have to launch the computer .. (^ _ ^).
The "test" that I have attached is very minimal so maybe it can help?
It seems so much a memory violation on pointers. Usually they are difficult bugs that show "effects" on other parts like the GUI (I hope it is not the case, I have bad memories).
I didn't check but I saw some commits on the assembler code ..

NOTE1: even if I delete the "not working if block" code it stops elsewhere.
"pDest ^: = PBGRASolidBrushFixedData (AFixedData) ^. BGRA;" row 147 unit BGRABlend
NOTE2: if I remove the TPanel and with this change

DTAnalogClock1:= TDTAnalogClock.Create (Self); DTAnalogClock1.Left:= 24; DTAnalogClock1.Top:= 80; DTAnalogClock1.Width:= 180; DTAnalogClock1.Height:= 150; DTAnalogClock1.Parent:= Self;

has the same behavior (if I don't provide a position or use "alClient" the error occurs when the form appears)

from bgrabitmap.

lainz avatar lainz commented on May 29, 2024

Thanks for the demo, effectively it shows the bug, is something that I was not able to provide to circular, so he can test as well in his machine.

from bgrabitmap.

circular17 avatar circular17 commented on May 29, 2024

I will have a look

from bgrabitmap.

circular17 avatar circular17 commented on May 29, 2024

Ok I think I found the problem. It was related to freeing the bitmap handle. I fixed that on the dev branch.

Does it work for you as well now?

from bgrabitmap.

phoenixfenix avatar phoenixfenix commented on May 29, 2024

I confirm that now it works. Thank you!

from bgrabitmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.