FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Utilities / Utilidades ResEdit - Error: RLINK32: Unsupported 16bit resource in file
Posts: 990
Joined: Wed Oct 19, 2005 02:17 PM
ResEdit - Error: RLINK32: Unsupported 16bit resource in file
Posted: Wed Apr 04, 2018 08:51 AM

Hola,

si queréis evitar este error en vuestros desarrollos, evitaría usar ficheros .res para construir
las aplicaciones. Os recomiendo usar ficheros
.res sólo para generar los ficheros *.rc.
Estos últimos son los que usaremos para construir los ejecutables.

Esta es mi pequeña experiencia y os la hago llegar.

Saludos

Hello,

if you want to avoid this error in your developments, I would avoid using * .res files to build
the applications. I recommend using * .res files only to generate the * .rc files.
The latter are the ones we will use to build the executables.

This is my little experience and I'll send it to you.

Regards

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: ResEdit - Error: RLINK32: Unsupported 16bit resource in file
Posted: Wed Apr 04, 2018 12:49 PM
Baxajaun

I have seen an error similar to 'unsupported 16 bit resource in file' .. don't remember how I fixed that .. however, I work always in .rc and create all my forms in .rc. At compile time I use a simple batch file to copy all the .rc files together into a single monolithic .rc and then compile that single .rc to .res and it is the .res file that gets compiled into my application ..

Here is a sample batch file that I use to manage the above process .. note that I am using the Borland 7.3 compiler:

Rc2dll32.bat
Code (fw): Select all Collapse
@Echo Off

DEL HoaW32.RC
DEL HoaW32.RES

COPY *.RC HoaW32.RC

C:\BORLAND\BCC73\BIN\brcc32 -iC:\BORLAND\BCC73\include -v -iC:\BORLAND\BCC73\include\dinkumware -iC:\BORLAND\BCC73\include\windows\sdk HoaW32.Rc >Rick.Txt

del *.iL?
del *.map
del *.obj
del *.~rc
del *.rws
:del *.res
del *.tds
echo done!

If something goes wrong I review the redirected file Rick.Txt... then I just add HoaW32.Res to my compile and link script .. Done!

Rick Lipkin
Posts: 990
Joined: Wed Oct 19, 2005 02:17 PM
Re: ResEdit - Error: RLINK32: Unsupported 16bit resource in file
Posted: Wed Apr 04, 2018 01:32 PM

Hi Rick,

thanks a lot for the tip.

Best regards

Continue the discussion