Error EXEPTION_ACCES_VIOLATION
BlitzMax Forums/BlitzMax Beginners Area/Error EXEPTION_ACCES_VIOLATION
| ||
What am i doing wrong? |
| ||
Hello, your 'Constructor' function does not return 'TVentana' . You could alternatively add the newly created type to global list inside 'Constructor' so there would be no need for 'ColeccionVentanas' function. -Henri |
| ||
@ Henri Thanks You :) Ok? |
| ||
Seems about right. It is also a good idea to put 'Strict' or 'SuperStrict' statement at the beginning of the program in order to catch errors like these. -Henri |
| ||
I think that I love to learn new things. I improved the code with the constructor and destructor of the object, which is not whether it is right or not. I'll remember him from SuperStrict. So this correct? Windows.Destructor() ; Destroy obj Windows. |
| ||
EXCEPTION ACCESS VIOLATION What am i doing wrong? In the menus... Program->Build Options->Debug Build should be ticked. ;-) Also just for information - You don't have to put the type after the variable name when you use the variable, for eg Return v:TVentana is the same as Return v = less typing with the same result. |