I am using Ctypes in Python to run C code within my Python program. I am calling one of my functions and am getting this error:
OSError: exception: access violation reading 0x000001FB69B12000
I would also like to elaborate that the memory address changes with each run.
I have looked at other posts about similar issues but it seems that it is usually a writing access violation where the programer failed to give allocate enough memory to a variable and most of the people with reading errors are not even using Ctypes.
I was expecting that I was pottentially running into data that had not yet been written but the reason I am confused is that when I run the same code in a seperate all C program the code runs perfectly fine.
I would prefferably not share the code I am currently working on. If anyone can help thank you.