[Solved] Text field - EXCEPTION_ACCESS_VIOLATION

BlitzMax Forums/MaxGUI Module/[Solved] Text field - EXCEPTION_ACCESS_VIOLATION

Nest(Posted 2015) [#1]
Hi folks,

A weird bug has cropped up that causes an EXCEPTION_ACCESS_VIOLATION error whenever I try to type into a particular text field.

This text field is the only one on a certain window. If I add another text field to that same window it gives the same error.

There are several text fields on another window that work without problem. I can't see anything obvious in the code that differentiates the windows causing one to crash and the other not.

Any ideas on what could cause this?

If this is too vague, I'll add snippets of the code related to the error.

Thanks in advance.


degac(Posted 2015) [#2]
Without a source code is quite hard to determine the possible error.
Did you test the program in debug mode to see if there are more informations?


Nest(Posted 2015) [#3]
Thanks degac, I ran it in debug mode and it pinpointed the error immediately. Your help is much appreciated.


degac(Posted 2015) [#4]
Nice to know you found the solution.
Debugmode and Superstrict are very useful.