DLL A RC DE 32 BITS

Post Reply
User avatar
lafug
Posts: 185
Joined: Thu Nov 17, 2005 12:48 am
Location: Santiago, Chile

DLL A RC DE 32 BITS

Post by lafug »

Estimados Fivewinners

Estoy migrando una dll de 16 bits a 32 bits y al compilarla con el recurso de fwh aparece:
"could not spawn rcc32.exe"
hace un tiempo atras logré hacer esto sin problemas con otras dll pero tuve que reinstalar windows

GRACIAS DE ANTEMANO Y UN XHABRAZO
Luis Alfonso Fuentes Guerrero
FWH 11.06 xHarbour 1.2.1 BCC55 WorkShop
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Luis,

Los recursos iran dentro del EXE ó dentro de una DLL ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
lafug
Posts: 185
Joined: Thu Nov 17, 2005 12:48 am
Location: Santiago, Chile

Post by lafug »

irán dentro del exe
Ya guardé la dll desde WS como "RC" y luego ejecuté
el rc2dll32.bat, entonces aparece asi:


C:\FWH\DLL>rem RC file to 32 bits resources DLL

C:\FWH\DLL>rem syntax: rc2dll32.bat Your_rc_file !!! without the .RC extension

C:\FWH\DLL>bcc32 -c ..\dll\screen32.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
..\dll\screen32.c:

C:\FWH\DLL>brc32 -r hsofcon.rc

Fatal error. Could not spawn program: BRCC32.EXE

C:\FWH\DLL>\BCC55\BIN\ilink32 /Tpd c:\bcc55\lib\c0d32.obj screen32.obj, hsofcon.dll,,c:\bc55\lib\cw32.lib c:\bcc55\lib\import32.lib,, hsofcon.res
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unable to open file 'HSOFCON.RES'

C:\FWH\DLL>del *.i*

C:\FWH\DLL>del *.map

C:\FWH\DLL>del *.obj

C:\FWH\DLL>del *.res

C:\FWH\DLL>del *.tds

C:\FWH\DLL>echo done!
done!
saludos y gracias
Luis Alfonso Fuentes Guerrero
FWH 11.06 xHarbour 1.2.1 BCC55 WorkShop
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Luis,

Si los recursos van a ir dentro del EXE entonces no tienes que llamar a rc2dll32.bat
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply