[Windows] Message for .ico / .icns

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jamirokwai
Enthusiast
Enthusiast
Posts: 771
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

[Windows] Message for .ico / .icns

Post by jamirokwai »

Hi there,

I do all coding on MacOS. Once in a while, I copy everything to a virtual machine with Windows 11 and run it, to check and compile for distribution. Last time, I forgot to change the icon-file to .ico from .icns on MacOS. The error message was rather cryptic:

Code: Select all

PORC:
C:\UsersWOERGB~1\AppData\Local\Temp\PureBasic3626937\PureBasic rc[1) error Invalic or corrunt tile°
?????????????????????????n??????????????????o
As I thought about a coding error by myself, I made a 'short' code review of my app (15k+ lines), but didn't find the error. By coincidence, I found out about the icon file. So, if possible, the error message should point to the error rather than only telling, there was one with a dishelpful text :-)
Regards,
JamiroKwai