Page 1 of 1

MENUS TIPO XP ( otra vez )

Posted: Wed Mar 07, 2007 1:47 pm
by Marco Augusto
Nuevamente aqui con el problema de la
compilacion del los menus de Arturo Tamayo

Siguiendo las instrucciones que me enviaron Arturo, Antonio y otras opciones que indico RF (#pragma begin dump....)

Finamente logre compilar sin errores
pero al ejecutar me envia el siguiente error

'Program with 1st fun: ALERT' was compiled by older version, PCODE version 0 is no longer supported - Please recompile.

Cabe seƱalar que estoy recompilando todos los modulos con la version
0.99.51 de xharbour

Posted: Wed Mar 07, 2007 6:31 pm
by R.F.
Seguramente estas olvidando compilar algun modulo en C que esta compilado con una version mas nueva.

Posted: Wed Mar 07, 2007 9:20 pm
by Marco Augusto
GRACIAS RENE
PERO, SOLO COMPILO PUROS PRG
LOS ARCHIVOS .C ( MENUS.C GRADFILL.C )
SE INCLUYERON EN LOS PRGS UTILIZANDO
BEGINDUMP...ENDDUMP

ANEXO BAT DE COMPILACION

set hdir=c:\xharbour
set bcdir=c:\bcc55

c:\xharbour\bin\harbour %1 /n /i..\include;c:\xharbour\include;c:\bcc55\include;c:\fwh\include /w /p %2 %3 > clip.log
c:\xharbour\bin\harbour menu.prg /n /i..\include;c:\xharbour\include;c:\bcc55\include;c:\fwh\include /w /p %2 %3 >> clip.log
c:\xharbour\bin\harbour mru.prg /n /i..\include;c:\xharbour\include;c:\bcc55\include;c:\fwh\include /w /p %2 %3 >> clip.log
c:\xharbour\bin\harbour menuitem.prg /n /i..\include;c:\xharbour\include;c:\bcc55\include;c:\fwh\include /w /p %2 %3 >> clip.log
c:\xharbour\bin\harbour pdmenu.prg /n /i..\include;c:\xharbour\include;c:\bcc55\include;c:\fwh\include /w /p %2 %3 >> clip.log

echo -O2 -e%1.exe -Ic:\xharbour\include;c:\bcc55\include %1.c > b32.bc
echo -O2 -e%1.exe -Ic:\xharbour\include;c:\bcc55\include menu.c >> b32.bc
echo -O2 -e%1.exe -Ic:\xharbour\include;c:\bcc55\include mru.c >> b32.bc
echo -O2 -e%1.exe -Ic:\xharbour\include;c:\bcc55\include menuitem.c >> b32.bc
echo -O2 -e%1.exe -Ic:\xharbour\include;c:\bcc55\include pdmenu.c >> b32.bc
c:\bcc55\bin\bcc32 -M -c @b32.bc
:ENDCOMPILE

IF EXIST %1.rc c:\bcc55\bin\brc32 -r %1

echo c:\bcc55\lib\c0w32.obj + > b32.bc
echo %1.obj + >> b32.bc
echo menu.obj + >> b32.bc
echo Mru.obj + >> b32.bc
echo menuitem.obj + >> b32.bc
echo pdmenu.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo c:\fwh\lib\FiveH.lib c:\fwh\lib\FiveHC.lib + >> b32.bc

echo %hdir%\lib\rtl.lib + >> b32.bc
echo %hdir%\lib\vm.lib + >> b32.bc
echo %hdir%\lib\gtwin.lib + >> b32.bc
echo %hdir%\lib\lang.lib + >> b32.bc
echo %hdir%\lib\macro.lib + >> b32.bc
echo %hdir%\lib\rdd.lib + >> b32.bc
echo %hdir%\lib\dbfntx.lib + >> b32.bc
echo %hdir%\lib\dbfcdx.lib + >> b32.bc
echo %hdir%\lib\dbffpt.lib + >> b32.bc
echo %hdir%\lib\hbsix.lib + >> b32.bc
echo %hdir%\lib\debug.lib + >> b32.bc
echo %hdir%\lib\common.lib + >> b32.bc
echo %hdir%\lib\pp.lib + >> b32.bc
echo %hdir%\lib\codepage.lib + >> b32.bc


echo c:\bcc55\lib\cw32.lib + >> b32.bc
echo c:\bcc55\lib\import32.lib + >> b32.bc
echo c:\bcc55\lib\psdk\odbc32.lib + >> b32.bc
echo c:\bcc55\lib\psdk\nddeapi.lib + >> b32.bc
echo c:\bcc55\lib\psdk\iphlpapi.lib + >> b32.bc
echo c:\bcc55\lib\psdk\rasapi32.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc
c:\bcc55\bin\ilink32 -Gn -aa -Tpe -s @b32.bc

@del %1.c
@del %1.il?