DLL A RC DE 32 BITS

DLL A RC DE 32 BITS

Postby lafug » Wed Feb 22, 2006 8:43 pm

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
lafug
 
Posts: 185
Joined: Thu Nov 17, 2005 12:48 am
Location: Santiago, Chile

Postby Antonio Linares » Wed Feb 22, 2006 11:00 pm

Luis,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41469
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby lafug » Thu Feb 23, 2006 2:05 am

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
lafug
 
Posts: 185
Joined: Thu Nov 17, 2005 12:48 am
Location: Santiago, Chile

Postby Antonio Linares » Thu Feb 23, 2006 10:16 am

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
User avatar
Antonio Linares
Site Admin
 
Posts: 41469
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 153 guests