02-05-2022, 08:45 AM
Hey I'm sorry to be bothering you again, but after getting a screen to finally show up, I decided to add a temporary tilemap to the screen, just to have something render, which ran into a fascinating problem which I do not comprehend, which is as follows:
"Exception thrown at 0x00007FFE6113DB87 (Tilengine.dll) in TEAeon.exe: 0xC0000005: Access violation reading location 0x0000000000000000."
this error occurs, according to VS at this code block in my main() function
TLN_Init(400, 240, 4, 256, 0);
TLN_CreateWindow(NULL, 0);
TLN_Tilemap background = TLN_LoadTilemap("untitled.tmx", NULL); // crashes here
TLN_SetLayerTilemap(0, background);
which I find odd, as I've triple checked that it's the right filename, and even moved it from a subdirectory into the main one, owing to the fact that I was worried it wouldn't be able to access the subdirectory, but it still gave the same error nonetheless.
I included a link to a google drive containing the zipped version, 'cause the filesize is too big for the normal attachment system, apparently, so if you can't access it for whatever reason, please let me know.
https://drive.google.com/drive/folders/1...sp=sharing
"Exception thrown at 0x00007FFE6113DB87 (Tilengine.dll) in TEAeon.exe: 0xC0000005: Access violation reading location 0x0000000000000000."
this error occurs, according to VS at this code block in my main() function
TLN_Init(400, 240, 4, 256, 0);
TLN_CreateWindow(NULL, 0);
TLN_Tilemap background = TLN_LoadTilemap("untitled.tmx", NULL); // crashes here
TLN_SetLayerTilemap(0, background);
which I find odd, as I've triple checked that it's the right filename, and even moved it from a subdirectory into the main one, owing to the fact that I was worried it wouldn't be able to access the subdirectory, but it still gave the same error nonetheless.
I included a link to a google drive containing the zipped version, 'cause the filesize is too big for the normal attachment system, apparently, so if you can't access it for whatever reason, please let me know.
https://drive.google.com/drive/folders/1...sp=sharing