With the help of Enrico, Carlos and the tireless help of Cristobal .. I have Bcc72 working with Resedit and compiling resources with Brc32.exe. Because of my stubbornness, years ago I decided to create all my resouces as individual .rc files .. rather than working with one Single monolithic .rc adding new forms as needed. Many years ago working with BRW, somehow my single .rc became corrupted and was a total 'gonner' taking over 100+ forms with it.
From that point on I decided ( since .rc files are just text files ) to compile all my rc's in a modified .bat file called Rc2Dll32.bat :
Code: Select all
@Echo Off
DEL VehW32.DLL
DEL VehW32.RC
DEL Veh3W2.RES
COPY *.RC VehW32.RC
C:\BORLAND\BCC70\BIN\brc32 -r VehW32.Rc
rem c:\ResEditx64\ResEdit.exe -convert VehW32.Rc VehW32.Res
del *.iL?
del *.map
del *.obj
del *.~rc
del *.rws
:del *.res
del *.tds
echo done!
Code: Select all
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "%RESOURCE_HEADER%"
%RESOURCES%
Code: Select all
#include <windows.h>
#include <commctrl.h>
#include "resource.h"
#define WC_STATIC L"Static"
#define MONTHCAL_CLASS "SysMonthCal32"
#define DATETIMEPICK_CLASS "SysDateTimePick32"
%RESOURCES%
Cristabol has been working dilligently with FiveEdit and I noticed that one of his options was to chose the Resorse editor of your choice .. and ResEdit was in his configuration.
I subsequently started a series of e-mails on the subject and here was the final solution to compiling all my .rc together into .Res ..
Again, insert the above preferences into Resedit for it's resolvable controls .. and modify my Batch File like this .. notice the Brc32 line :
Code: Select all
@Echo Off
DEL VehW32.RC
DEL Veh3W2.RES
COPY *.RC VehW32.RC
Rem C:\BORLAND\BCC70\BIN\brc32 -r VehW32.Rc
Rem notice the change .. this works with brc72
C:\BORLAND\BCC72\BIN\brcc32 -iC:\BORLAND\BCC72\include -v -iC:\BORLAND\BCC72\include\dinkumware -iC:\BORLAND\BCC72\include\windows\sdk
VehW32.Rc
del *.iL?
del *.map
del *.obj
del *.~rc
del *.rws
:del *.res
del *.tds
echo done!
Many thanks to Cristabol for his Great help!
Rick Lipkin