Dear Antonio and friends,
Exists a limit of number the dialogs and images into a .RC file?
Antonio Linares wrote:Júlio,
You have two choices:
1) Create and use another DLL. You will have to switch from one to another in runtime from your application.
2) Extract the RC from your DLL, split it in two RC files and create two RES files. But you won't be able to keep using PellesC.
#ifdef __FLAT__
1 24 "WindowsXP.Manifest"
#endif
COPY FILE1.RC+FILE2.RC+FILE3.RC+FILE4.RC+FILE5.RC+FILE6.RC+FILE7.RC+FILE8.RC+MANIFEST.RC FILEALL.RC
C:\PROGRA~1\BORLAND\BCC55\BIN\BRC32.EXE -R FILEALL.RC
rem myrc2dll.bat
rem RC file to 32 bits resources DLL
rem Here is output file
set xdll=diwin32
rem Because sometimes uuid.lib gets lost I use copy to always have file.
copy uuid.lib.sav uuid.lib
c:\bcc55\bin\bcc32 -c c:\fwh\dll\screen32.c
rem Here compile my different .rc files
c:\bcc55\bin\brc32 -r diwindlg.rc
c:\bcc55\bin\brc32 -r diwinbmp.rc
c:\bcc55\lib\import32.lib,, %xdll%.res
c:\bcc55\bin\ilink32 /Tpd c:\bcc55\lib\c0d32.obj screen32.obj, %xdll%.dll,,c:\bcc55\lib\cw32.lib c:\bcc55\lib\import32.lib,, diwindlg.res diwinbmp.res
rem Notice you can add all .res files to line above
rem Now clean up all files not needed anymore.
del uuid.lib
rem goto done
del *.il*
del *.map
del *.obj
del *.res
del *.tds
:done
echo done!
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 64 guests