Page 1 of 1

problem with camera

Posted: Tue Jul 08, 2014 10:37 am
by AndyLy
I made in the program, two full-screen camera and periodically switch between them with each other.
Everything works fine, but when exit the program, I get the error "memory access" on a command "End".
[11:11:58] [ERROR] Invalid memory access. (read error at address 7)

With the single camera, no such problems.
Somebody faced similar?

Re: problem with camera

Posted: Tue Jul 08, 2014 10:45 am
by Fred
Could you post a small working snippet showing the issue ?

Re: problem with camera

Posted: Tue Jul 08, 2014 11:51 am
by AndyLy
No, I can not.
I mean I wrote a little code, but it works fine.
Strangely.. But the camera is the only change in the program that I did.
Okay, I'll look further reason, in my code.

Re: problem with camera

Posted: Tue Jul 08, 2014 2:16 pm
by AndyLy
I have not figured out what the problem is, but when replaced SwitchCamera() on CreateCamera() and FreeCamera() - error disappeared.