Recent

Author Topic: Error: Can't create resource file: D:\Ajustes\test\Form1_ImageList.res  (Read 6240 times)

BlueIcaro

  • Hero Member
  • *****
  • Posts: 792
    • Blog personal
Hello, I making test with kol-ce, and put a imagelist and a imageshow into a kol form.

I resize the imagelist to 320x240, and I add two jpeg image with the same size.

I tried to compile and I got this error: unit1.pas(44,1) Error: Can't create resource file: D:\Ajustes\test\Form1_ImageList1.res

Any Idea?

Thanks

/BlueIcaro
P.D. If I do the same, but I don't add any image, I don't get the error, may be a problem with the colour of image?
« Last Edit: April 30, 2009, 01:16:04 pm by BlueIcaro »

BlueIcaro

  • Hero Member
  • *****
  • Posts: 792
    • Blog personal
Hello, I didn't find the problem, but I found a way to work around.
If I don't load any image in designed time, I don't get any message. So I load the image at runtime, and it's works fine.

In other way, I think this is the best way, because the size of exe is smaller, and only have into memory one image at time. Because I think in unload the image an load a new one.

/BlueIcaro

 

TinyPortal © 2005-2018