BTW, Here is the dump that I get while running:
Code:
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$004FBC75 REMOVE_FROM_LIST_VAR, line 562 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004FB1B1 SYSGETMEM_VAR, line 966 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004F9838 SYSGETMEM, line 1002 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004F4389 GETMEM, line 229 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004F32F2 fpc_dynarray_setlength, line 185 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/dynarr.inc
$004EED75 TPHXTEXTURELOADER_FREEIMAGE__LOADBITMAP, line 498 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxTexture.pas
$004EF259 TPHXTEXTURELOADER_FREEIMAGE__LOADIMAGEDATA, line 591 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxTexture.pas
$004EE9A2 TPHXTEXTURELOADER__LOADTEXTURE, line 432 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxTexture.pas
$004EF8EB TPHXIMAGE__LOADIMAGE, line 205 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxImages.pas
$004F0BF3 TPHXIMAGELIST__LOADIMAGE, line 675 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxImages.pas
$004DF91A LUATPHXIMAGELISTLOADIMAGEPATTERN, line 784 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/lua/lua_phxImages.pas
$002648B6
$0026BA4E
$002649F8
$00261E76
$002642E3
$00264C8A
TApplication.HandleException Access violation
Stack trace:
$004FBC75 REMOVE_FROM_LIST_VAR, line 562 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004FB1B1 SYSGETMEM_VAR, line 966 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004F9838 SYSGETMEM, line 1002 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004F4389 GETMEM, line 229 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/heap.inc
$004F32F2 fpc_dynarray_setlength, line 185 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/dynarr.inc
$004EED75 TPHXTEXTURELOADER_FREEIMAGE__LOADBITMAP, line 498 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxTexture.pas
$004EF259 TPHXTEXTURELOADER_FREEIMAGE__LOADIMAGEDATA, line 591 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxTexture.pas
$004EE9A2 TPHXTEXTURELOADER__LOADTEXTURE, line 432 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxTexture.pas
$004EF8EB TPHXIMAGE__LOADIMAGE, line 205 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxImages.pas
$004F0BF3 TPHXIMAGELIST__LOADIMAGE, line 675 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/phxImages.pas
$004DF91A LUATPHXIMAGELISTLOADIMAGEPATTERN, line 784 of C:/Documents and Settings/jdarling/Desktop/Phoenix2006-08-15/src/lua/lua_phxImages.pas
$002648B6
$0026BA4E
$002649F8
$00261E76
$002642E3
$00264C8A
[FORMS.PP] ExceptionOccurred
The same thing will happen if you try to use the font:
Code:
Font = TPHXFont:new()
Font:LoadFont('Arial16.phfnt')
Bookmarks