Page 1 of 1

Pelles C Resource editor .. How to use

Posted: Mon Jul 19, 2021 7:49 pm
by Rick Lipkin
To All

I am asking for help ... I have downloaded and installed the Pelles C IDE .. can someone walk me thru the steps to create and or open a .rc file please ??

Thanks
Rick Lipkin

Re: Pelles C Resource editor .. How to use

Posted: Mon Jul 19, 2021 9:48 pm
by Antonio Linares
Visual Studio Community (free) resources editor seems to work great :-)

Time to start using it...

Re: Pelles C Resource editor .. How to use

Posted: Mon Jul 19, 2021 10:00 pm
by Rick Lipkin
Antonio

Quick questions

1) Can I create a .rc with visual studio ?
2) Can I double click on a .rc and open the visual studio resource editor ?

Thanks ..

Rick

Re: Pelles C Resource editor .. How to use

Posted: Tue Jul 20, 2021 7:07 am
by Antonio Linares
Rick,

Based on what I have discovered so far:

1. You can create a new Windows desktop app which automatically includes a RC file you can edit

2. You can open any RC and edit it

Re: Pelles C Resource editor .. How to use

Posted: Tue Jul 20, 2021 7:17 am
by Antonio Linares
Simplest way to go:

1. You create an empty RC file using notepad

2. You edit it from Visual Studio Community (file - open - select the RC file)

Re: Pelles C Resource editor .. How to use

Posted: Tue Jul 20, 2021 11:14 am
by elvira
Antonio,

I try to open with Visual Studio adorick.rc and I get this error:

Code: Select all | Expand

error RC104: undefinied keyword o kwy name: WS_CHILD


Thanks

Re: Pelles C Resource editor .. How to use

Posted: Tue Jul 20, 2021 2:03 pm
by Antonio Linares
Elvira,

You can add:

#define WS_CHILD 0x40000000L

or simply:

#include <windows.h>

Re: Pelles C Resource editor .. How to use

Posted: Tue Jul 20, 2021 2:21 pm
by Marc Venken
Antonio Linares wrote:Elvira,

You can add:

#define WS_CHILD 0x40000000L

or simply:

#include <windows.h>


Is windows.H in the download section of FWH ?

or.. marc (at) maveco.be :D

Re: Pelles C Resource editor .. How to use

Posted: Tue Jul 20, 2021 3:36 pm
by elvira
Where is this file?

Re: Pelles C Resource editor .. How to use

Posted: Tue Jul 20, 2021 3:48 pm
by FranciscoA
elvira wrote:Where is this file?


c:\bccxxx\include\\windows\sdk

Re: Pelles C Resource editor .. How to use

Posted: Wed Jul 21, 2021 7:33 am
by elvira
Now the other files are missing!

Re: Pelles C Resource editor .. How to use

Posted: Wed Jul 21, 2021 10:08 am
by Antonio Linares
which ones ?

Re: Pelles C Resource editor .. How to use

Posted: Wed Jul 21, 2021 6:18 pm
by Marc Venken
elvira wrote:Now the other files are missing!


I linked the above and the include from the samples dir.

That way it worked here.