Jep, and I included some other scripts which load the same font,
and there it works. So the file itself cant be the problem...
Ok, this code crashes (I used the real names of the pointer etc.):
TEXT* feld_txt = txt_create(1,2); //Erstelle den Text für den Textfeldinhalt
feld_txt.flags=VISIBLE;
feld_txt.font=font_create("write_font.bmp");
This makes a crash after Publish, without this lines it works, except I write it in the one included Scriptfile. There it works fine.
Erm...
This is the whole project, it would be great if someone can take his time to have a look on it:
www.haeschen.ch/hopfel/Panelelemente.zipIf you open the script "main.c" and test it, it works.
But if you start the exe it crashes.
The lines are:
scrollbalken.c
Line 305
This lines makes a crash (you can replace my_scr.filename1 with "write_font.bmp" and it wouldn't work after publish also)
and
textfeld.c
Line 655
This lines doesnt make one, but it's the same Bitmap-file