I'm sometimes getting a access violation exception when downloading my program. The image shows the log entries. I'm having problems with finding what in my code goes wrong. What tools do I have at my disposal. The call stack shows me the function that is the problem and what instance of the function. If I go online all the values seems ok. Is it the function it self that is getting an access violation. I'm passing the instance of it through as an in out variable to the function that uses it. Any help is appreciated!
Do you use ARRAY's? If so check the code that you do not exceed the upper and lower array boundary.
Do you use Pointers? If So check the validity (may not be 0)
Do you use Interfaces? If So check the validity (may not be 0)
Last edit: hermsen 2022-03-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The reference to the instance is not 0 either. This only happens when I download the project. If it doesn't appear then the project runs fine.
I should mention that the project contains a tree of applications. this is a "Child application" that is having the issue. No idea if that is related or not, just mentioning it.
Hi
I'm sometimes getting a access violation exception when downloading my program. The image shows the log entries. I'm having problems with finding what in my code goes wrong. What tools do I have at my disposal. The call stack shows me the function that is the problem and what instance of the function. If I go online all the values seems ok. Is it the function it self that is getting an access violation. I'm passing the instance of it through as an in out variable to the function that uses it. Any help is appreciated!
Do you use ARRAY's? If so check the code that you do not exceed the upper and lower array boundary.
Do you use Pointers? If So check the validity (may not be 0)
Do you use Interfaces? If So check the validity (may not be 0)
Last edit: hermsen 2022-03-03
The reference to the instance is not 0 either. This only happens when I download the project. If it doesn't appear then the project runs fine.
I should mention that the project contains a tree of applications. this is a "Child application" that is having the issue. No idea if that is related or not, just mentioning it.