U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » [SOLVED] Invalid memory access on ImageDraw::Init (X11)
[SOLVED] Invalid memory access on ImageDraw::Init (X11) [message #52013] Thu, 04 July 2019 18:05 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello,

On my raspberryPi, this code :
PNGEncoder png;
png.SaveFile("temp.png", myGraph.DrawGraph()); //myGraph.DrawGraph() return me an ImageDraw

Raise an "invalid memory access" error :
https://i.imgur.com/BkFnRjM.png
Just to try, I did a "sudo chmod 777" to the folder and program and error still happening.

Do someone have any idea ?

Thanks in advance.
Have a nice day

[Updated on: Mon, 08 July 2019 08:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How do I add scrollbars to a dialog
Next Topic: Image Ctrl How To Add It???
Goto Forum:
  


Current Time: Wed May 06 03:12:41 GMT+2 2026

Total time taken to generate the page: 0.00501 seconds