1
Graphics / Re: Load from file leads to buffer-overflow
« on: October 14, 2017, 04:19:33 pm »Hi, have you the correct path for the texture? Also ".jpeg" may be is ".jpg"Hi, I've tried those three extensions : png, jpg, jpeg and the result is the same, so I don't think it comes from here...
What does it mean RAM is displayed in the console? Can you show a screenshot?It means that my console prints some values (in attachment) that must be in my RAM. After a little time, an exception is raised which says that there is a read access violation at the location 0x00BD2000.
So, I think that the function prints my RAM's content in the consol and when it exceed its memory space, there is a buffer overflow and the system raise an exception.
You're mixing release and debug modes, see also: https://www.sfml-dev.org/faq.php#tr-vs-crashFollowing you're advice I've unlinked the release libs from my project and it works !
I was thinking that had to link the release and the debug libs in the same time ...
Thank you ! I hope that my mistake will be helpful !