FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Pelles C Resource editor .. How to use
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Pelles C Resource editor .. How to use
Posted: Mon Jul 19, 2021 07: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pelles C Resource editor .. How to use
Posted: Mon Jul 19, 2021 09:48 PM

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

Time to start using it...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Pelles C Resource editor .. How to use
Posted: 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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pelles C Resource editor .. How to use
Posted: Tue Jul 20, 2021 07: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pelles C Resource editor .. How to use
Posted: Tue Jul 20, 2021 07: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
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: Pelles C Resource editor .. How to use
Posted: Tue Jul 20, 2021 11:14 AM
Antonio,

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

Code (fw): Select all Collapse
error RC104: undefinied keyword o kwy name: WS_CHILD


Thanks
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pelles C Resource editor .. How to use
Posted: Tue Jul 20, 2021 02:03 PM

Elvira,

You can add:

define WS_CHILD 0x40000000L

or simply:

include <windows.h>

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Pelles C Resource editor .. How to use
Posted: Tue Jul 20, 2021 02: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 :-)
Marc Venken

Using: FWH 23.08 with Harbour
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: Pelles C Resource editor .. How to use
Posted: Tue Jul 20, 2021 03:36 PM

Where is this file?

Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: Pelles C Resource editor .. How to use
Posted: Tue Jul 20, 2021 03:48 PM
elvira wrote:Where is this file?


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

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: Pelles C Resource editor .. How to use
Posted: Wed Jul 21, 2021 07:33 AM

Now the other files are missing!

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Pelles C Resource editor .. How to use
Posted: Wed Jul 21, 2021 10:08 AM

which ones ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Pelles C Resource editor .. How to use
Posted: Wed Jul 21, 2021 06: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.08 with Harbour

Continue the discussion