Error 6 transferring internal Bitmap using BitBlt
Posted: Tue Jul 14, 2020 12:03 pm
Hello there,
I've run into a problem (Error 6 transferring internal Bitmap using BitBlt) when using TChart within a windows service. I've found sereral threads about this error all related to desktop applications.
The offending line is the same as in those other cases. VCLTee.TeCanvas line 9473 (assert-check).
If I run the same code from a desktop app everything runs just fine. When disabling assertion check before compiling the service, also everything runs fine to the end. Also the output generated looks perfectly fine. So I ask myself, if this BitBlt error is really so harmful.
A solutions on my side would be to disable assertion check altogether. But since I use assert-checks myself for debugging purposes, this is not an option.
Can you think of any possibilities to make it function from within a service without firing the assertion or th remove the assertion altogether in a future release?
For the time being I will just comment the line out to get it work.
If you need a test project, I will put something together. Just let me know.
Environment:
Delphi 10.2 Tokyo
TeeChart 2020.30
Best regards,
Florian
I've run into a problem (Error 6 transferring internal Bitmap using BitBlt) when using TChart within a windows service. I've found sereral threads about this error all related to desktop applications.
The offending line is the same as in those other cases. VCLTee.TeCanvas line 9473 (assert-check).
If I run the same code from a desktop app everything runs just fine. When disabling assertion check before compiling the service, also everything runs fine to the end. Also the output generated looks perfectly fine. So I ask myself, if this BitBlt error is really so harmful.
A solutions on my side would be to disable assertion check altogether. But since I use assert-checks myself for debugging purposes, this is not an option.
Can you think of any possibilities to make it function from within a service without firing the assertion or th remove the assertion altogether in a future release?
For the time being I will just comment the line out to get it work.
If you need a test project, I will put something together. Just let me know.
Environment:
Delphi 10.2 Tokyo
TeeChart 2020.30
Best regards,
Florian