All, appreciate some help here ..Evaluating fpgui toolkit and need to load an icon file. I thought the following code snippet would do but I get an access violation error - The Icon file exists, it is a windows icon file - copied from a windows machine - and I can not find out why LoadFromFile blows up after a real good dig - any ideas appreciated.
===C ode Snippet
Test : Ticon ;
.
.
.
Test := TIcon.Create() ;
Test.LoadFromFile(test.ico');
fpgImages.AddBMP('mainicon', Test.RawImage.Data , Test.RawImage.DataSize);
Error message
===========
Project xxxx raised exception class 'External: SIGSEGV'.
In file 'include/winapi.inc' at line 485