Resource file(*.res) link problem

Started by nyam, October 17, 2004, 03:12:24 PM

Previous topic - Next topic

nyam

Today I downloaded Pelles C and tested it.
And I found that it's great!!! It's as good as Microsoft Visual C++ :)
Thank you for this great compiler. :)
I have missed this good free compiler.

But I have only one problem. :(

If I compile resource script (*.rc) to resource binary (*.res), there're no problem with that.

But, when I link the resource binary (*.res) with some object file by POLINK, the linker hangs up. :cry:

(I want to do it with command line tools. not with IDE. :) )

I can't help that by myself. :(

Please help me.
Thank you!!! :)

Pelle

Quote from: "nyam"Today I downloaded Pelles C and tested it.
And I found that it's great!!! It's as good as Microsoft Visual C++ :)
Thank you for this great compiler. :)
I have missed this good free compiler.
Thank you very much! :)

Quote from: "nyam"
But, when I link the resource binary (*.res) with some object file by POLINK, the linker hangs up. :cry:
Hmm... news to me. Are all the .obj and .lib files from Pelles C, or is there some other translator/compiler/assembler involved? Is it possible for you to make a small example that I can test?

Pelle
/Pelle

nyam

Quote from: "Pelle"
Hmm... news to me. Are all the .obj and .lib files from Pelles C, or is there some other translator/compiler/assembler involved? Is it possible for you to make a small example that I can test?

I attached my small project.
(It's very small and simple.)
I hope this can help.

http://www.nyam.pe.kr/dev/chap/CHAP.zip

Thank you very much!!! Thanks!!! :)

Best regards,
Chun Sejin

Pelle

I can confirm the problem. It seems to be an issue with Korean characters in the resource compiler. If I use "PODUMP main.res", it starts to look funny after the string table. This is probably what upsets the linker. I will try to figure it out - might take a little while...

Pelle
/Pelle

nyam

You're right. :)
When I changed the resource compiler to Microsoft RC, the POLINK run well. :)

Sorry for Korean language. :(

Could you fix this?
Thank you!!! :)

Best regards,
Chun Sejin

Pelle

I think I have fixed it. Can you test the attached version please?

Pelle
/Pelle

nyam

The fixed version of PORC runs very well!!! :)
The problem no longer exists! :)

Thank you very much!

Best regards,
Chun Sejin

Pelle

/Pelle