Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » ttf load font issue - 0xC0000005 error (first time user)

This thread is locked; no one can reply to it. rss feed Print
ttf load font issue - 0xC0000005 error (first time user)
giyokun
Member #23,336
June 2022

EDIT! NEVERMIND! It seems that I put all the dll.a in the linkage (not knowing better) and apparently i was supposed to set only monolith... I attempted that completely out of the blue... and now it works!

---
Hello !

After many years of not doing any C/C++ but still remembering the pain, I am trying to get back into the game to do some multimedia stuff.

I used Allegro 20 years ago (!!!) so i thought i would have no issue.

However... I made a simple program that initialize everything and then tries to load a font... however... at the font loading the software seemingly crashes with error 0xC0000005 (Access Violation).

I tried changing the font to another font name...

But nothing works.

My configuration is Code:Blocks 20.03 with integrated MINGW
x86_64-w64-mingw32-gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0

I have copied all the DLLs i could find including freetype DLL from the freetype project in the folder to no avail...

Any idea on how to get unstuck? ???

cheers

Go to: