someone Know the command I can insert on xmate to compile a exe with resources ?
with Pelles I use
c:\work\PellesC\Bin\PORC.EXE %RC% /I c:\work\pellesc\include /I c:\work\pellesc\include\win
@Echo Off
: RC file to 32 bits .res
: syntax: rc2dll32.bat Your_rc_file !!! without the .RC extension
DEL VehW32.RC
DEL VehW32.RES
COPY *.RC VehW32.RC
: create a monolithic .res from all my .rc
C:\BORLAND\BCC70\BIN\brc32 -r %1.rc
: cleanup
del *.iL?
del *.map
del *.obj
del *.~rc
del *.rws
del *.tds
echo done!
Marcelo Via Giglio wrote:simple add the resource file to the project like a prg, and you can add as many as you need
Command-line mode
ResEdit supports a command-line mode ton convert a file to another format. Input and output files can be resource scripts (*.rc), compiled resource scripts (*.res) and Win32 PE files (*.exe, *.dll). The file convertion works just like if you open a file and save it in the new format.
The usage of ResEdit in command-line mode is the following :
ResEdit.exe -convert <input_file> <output_file>
For example :
ResEdit.exe -convert my_script.rc executable.exe
ResEdit.exe -convert my_script.dll executable.res
The format of the input an output files are automatically determined from the file extensions.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 104 guests