Pelles C Resource editor .. How to use

Pelles C Resource editor .. How to use

Postby Rick Lipkin » Mon Jul 19, 2021 7:49 pm

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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Pelles C Resource editor .. How to use

Postby Antonio Linares » Mon Jul 19, 2021 9:48 pm

Visual Studio Community (free) resources editor seems to work great :-)

Time to start using it...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Pelles C Resource editor .. How to use

Postby Rick Lipkin » Mon Jul 19, 2021 10:00 pm

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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Pelles C Resource editor .. How to use

Postby Antonio Linares » Tue Jul 20, 2021 7:07 am

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Pelles C Resource editor .. How to use

Postby Antonio Linares » Tue Jul 20, 2021 7:17 am

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)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Pelles C Resource editor .. How to use

Postby elvira » Tue Jul 20, 2021 11:14 am

Antonio,

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

Code: Select all  Expand view
error RC104: undefinied keyword o kwy name: WS_CHILD


Thanks
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm

Re: Pelles C Resource editor .. How to use

Postby Antonio Linares » Tue Jul 20, 2021 2:03 pm

Elvira,

You can add:

#define WS_CHILD 0x40000000L

or simply:

#include <windows.h>
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Pelles C Resource editor .. How to use

Postby Marc Venken » Tue Jul 20, 2021 2:21 pm

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
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1434
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Pelles C Resource editor .. How to use

Postby elvira » Tue Jul 20, 2021 3:36 pm

Where is this file?
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm

Re: Pelles C Resource editor .. How to use

Postby FranciscoA » Tue Jul 20, 2021 3:48 pm

elvira wrote:Where is this file?


c:\bccxxx\include\\windows\sdk
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: Pelles C Resource editor .. How to use

Postby elvira » Wed Jul 21, 2021 7:33 am

Now the other files are missing!
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm

Re: Pelles C Resource editor .. How to use

Postby Antonio Linares » Wed Jul 21, 2021 10:08 am

which ones ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Pelles C Resource editor .. How to use

Postby Marc Venken » Wed Jul 21, 2021 6:18 pm

elvira wrote:Now the other files are missing!


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

That way it worked here.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1434
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 71 guests