Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / problem with icon

Author
Message
AriEf
14
Years of Service
User Offline
Joined: 30th Nov 2009
Location: Indonesia
Posted: 25th Sep 2011 11:13
this is my icon script :

Main.cpp


Resource.h


Ular Tangga.rc


after i compiled it,
there is an error message :


Okay, so what it mean "Unexpected end of file found"??
thanks.

Rank : Beginner Coder
Im Indonesian, and I cant speak english, i hope you understand
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 25th Sep 2011 11:55
There is a bug, you need to add a few empty spaces or lines at the end of your resource files

AriEf
14
Years of Service
User Offline
Joined: 30th Nov 2009
Location: Indonesia
Posted: 25th Sep 2011 12:29 Edited at: 25th Sep 2011 12:32
Haha, Thanks


but now i face different problem, it says :
Quote: "1>.\Ular Tangga.rc(2) : error RC2175 : resource file ulartangga.ico is not in 3.00 format"

i've been try googled it, someone says save as, but it didn't work.

Rank : Beginner Coder
Im Indonesian, and I cant speak english, i hope you understand
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 25th Sep 2011 12:41
I have had the format issues in the past.

Try creating your icon with IcoFX, its free, you can use any image you want and it seems to work every time.

Login to post a reply

Server time is: 2024-05-04 06:59:15
Your offset time is: 2024-05-04 06:59:15