I'm trying to get this to work in lite-c. So far, GameStudio crashes when I add the font code. I might be doing something totally foolish. I haven't gotten any .dlls to work in lite-c, so it's no doubt my fault. I downloaded a free Pristina.TFF font and placed it in my game directory. Here's my code:

Code:

var dll_handle;
STRING* Pristina = "Pristina.TTF";
dllfunction InstallFont(Pristina);

void main()
{
dll_handle = dll_open("FontInstall.dll");
InstallFont(Pristina);




It's crashing on the call to InstallFont(). Any ideas?
Thanks,
- Bret