NO

Author Topic: Resource file(*.res) link problem  (Read 5179 times)

nyam

  • Guest
Resource file(*.res) link problem
« on: October 17, 2004, 03:12:24 PM »
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!!! :)

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Resource file(*.res) link problem
« Reply #1 on: October 17, 2004, 04:23:37 PM »
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

  • Guest
Re: Resource file(*.res) link problem
« Reply #2 on: October 17, 2004, 04:29:55 PM »
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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Resource file(*.res) link problem
« Reply #3 on: October 17, 2004, 06:16:14 PM »
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

  • Guest
Resource file(*.res) link problem
« Reply #4 on: October 18, 2004, 07:23:55 AM »
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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Resource file(*.res) link problem
« Reply #5 on: October 18, 2004, 02:41:06 PM »
I think I have fixed it. Can you test the attached version please?

Pelle
/Pelle

nyam

  • Guest
Resource file(*.res) link problem
« Reply #6 on: October 18, 2004, 03:52:05 PM »
The fixed version of PORC runs very well!!! :)
The problem no longer exists! :)

Thank you very much!

Best regards,
Chun Sejin

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Resource file(*.res) link problem
« Reply #7 on: October 18, 2004, 06:03:34 PM »
Great! :D

Pelle
/Pelle