'Invalid pointer operation error - TImage object
I'm coding with C++Builder 10.2.
Every time I load a picture to my TImage
object, I get an "Invalid pointer operation" error:
This happens whenever I load an image, or even if I haven't loaded any, it happens when I move the blank TImage
object.
I know it should be shared with Embarcadero devs/supports, but I can also share the error codes.
Solution 1:[1]
I have same problem with Timage on c++ builder 2010. It seems that is IDE bug and we have to create and free memory used by Timage manually.
This problem will not occur in the new version of Delphi(Rad studio 11 alexandria)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |