473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

What is a number for (in RC file)

G'day everyone

Could anyone please tell me what a little number is for?

I've used ResHack to export an RC file from a program named renfile.exe
(RenFile on sourceforge). I then compiled it into an RES file using
Jeremy Gordon's compiler.

The compiler refuses to compile the RES file if the RC file contains
these lines:

FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE, 0
FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE, 1

but accepts it if I remove the numbers, as in:

FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE
FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE

and when I update the resources in ResHack and run the program again,
nothing seems to be wrong or missing. Can anyone tell me what is the
purpose of those two numbers at the end of those lines? Are they
critical? What will happen if I remove them?

If they are necessary, I can always add them manually using ResHack's
internal GUI, but what if the RC file contains hundreds of these?
It'll take me forever to "fix" the file :-)

Thanks in advance
Samuel (aka throw, leuce, voetleuce)

Jun 13 '06 #1
1 2177
Throw wrote:
G'day everyone

Could anyone please tell me what a little number is for?

I've used ResHack to export an RC file from a program named renfile.exe
(RenFile on sourceforge). I then compiled it into an RES file using
Jeremy Gordon's compiler.

The compiler refuses to compile the RES file if the RC file contains
these lines:

FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE, 0
FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE, 1

but accepts it if I remove the numbers, as in:

FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE
FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE

and when I update the resources in ResHack and run the program again,
nothing seems to be wrong or missing. Can anyone tell me what is the
purpose of those two numbers at the end of those lines? Are they
critical? What will happen if I remove them?

If they are necessary, I can always add them manually using ResHack's
internal GUI, but what if the RC file contains hundreds of these?
It'll take me forever to "fix" the file :-)

Thanks in advance
Samuel (aka throw, leuce, voetleuce)


Your question is not on-topic here since this group deals with the
standard C++ *language*, not various platforms on which it is
implemented. See this FAQ for what is on-topic and for some suggestions
of where you could get a response to this question:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

Jun 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richie | last post by:
What I want is to have a link to a file (it could be a .zip, .exe, .jpg, ..txt or even .html) and when the user clicks on it they are prompted with the Save As box, as opposed to it opening in the...
9
by: Vipul Jain | last post by:
Can any one please tell me what is the difference between global scope of an variable and file scope of an variable. Vipul
4
by: Andrés Guerrero | last post by:
Hi, I'm working with Ms Access 97 and I have two tables like these: Table: Person Table: Phone Field: ID (Autonumeric) (primary key) Field: Person_ID (foering key)...
5
by: Kevin | last post by:
I use debug->"Start without debugging", I get the following message on the browser window. What log file is it talking about? Server Application Unavailable The web application you are...
3
by: Dirk Reske | last post by:
Hello, I've tried to convert a MP3 file to WAVE using the Audio Copression Manager. my Destination format is: WAVE_FORMAT_PCM All works fine what a file Type do I get then? When I try to open...
5
by: LKavitha4 | last post by:
hi, Please tell me what header file is used for sleep ( ) function in linux c++. Thank you.
4
by: Killer42 | last post by:
Hi all. Ok, I admit 616MB is quite large for a text file. But I thought I had opened larger ones than this in the past. When I try to open this one I'm getting "The xxx file is too large for...
1
by: Tony | last post by:
Hello! I use VS2005 and within folder properties there is a file called Settings.setting. I can remove this file and rebuild the application without any kind of error or problems. So my...
2
by: skittles4779 | last post by:
14,111,661,872,307,390,000
9
by: jeddiki | last post by:
Hi, I am running ZipArchive on a downloaded zipped file and I am getting An Error No. 19. My log gives this output: This is the script I am running:
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.