Hi all,
how can I convert more .rc files in a single .dll file ?
Thanks in advance
Marco Turco
SOFTWARE XP LLP
Hi all,
how can I convert more .rc files in a single .dll file ?
Thanks in advance
I already tried with the rc2dll32.bat provided into fwh\dll but the following error appairs:
K:\FWH\dll>k:\bcc55\bin\ilink32 /Tpd k:\bcc55\lib\c0d32.obj screen32.obj, pigc.d
ll,,k:\bc55\lib\cw32.lib k:\bcc55\lib\import32.lib,, pigc.res
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Access violation. Link terminated.
Warning: Unable to perform incremental link - performing full link...
Fatal: Access violation. Link terminated.
I think the problem could be due to the big size of my rc file.
Is there any other way to generate a dll file ?
Marco,
You could try to use Microsoft RC.EXE instead of Borland BRC32.EXE
rem RC file to 32 bits resources DLL
rem syntax: rc2dll32.bat Your_rc_file  !!! without the .RC extension
DEL PCASW32.DLL
DEL PCASW32.RES
DEL PCASW32.RC
COPY *.RC PCASW32.RC
C:\BORLAND\BCC55\BIN\bcc32 -c c:\fwh904\dll\screen32.c
C:\BORLAND\BCC55\BIN\brc32 -r %1.rc
C:\BORLAND\BCC55\BIN\ilink32 /Tpd c:\borland\bcc55\lib\c0d32.obj screen32.obj, %1.dll,,c:\borland\bcc55\lib\cw32.lib c:\borland\bcc55\lib\import32.lib,, %1.res
del *.iL?
del *.map
del *.obj
:del *.res
del *.tds
echo done!Hi Rick,
I already tried merging all .rc file in a single .rc but the error is the same.
I am trying now the Antonio's suggested solution and I will know you.
Thanks