ALGUIEN ME PUEDE AYUDAR CON LOS MENUS TIPO XP

Post Reply
Marco Augusto
Posts: 122
Joined: Wed Oct 12, 2005 1:03 pm
Location: Cuernacava, Morelos Mexico

ALGUIEN ME PUEDE AYUDAR CON LOS MENUS TIPO XP

Post by Marco Augusto »

utilizo FWH 2.7 nov,2005 y xharbour 0.99.5

al compilar lor programas prg y dejando los obj originales ( gradfill y menus ) me manda
el error unresolved external hb_stack referenced from menus.obj

luego intente compliar los archivos .c gradfill y menus pero al compilar
menus.c manda el siguiente error: declaration syntax error menus.c (23)

A CONTINUACION MUESTRO LA FORMA DE COMPILAR


@ECHO ON
CLS
ECHO Compiling...

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
@type clip.log
pause
cls

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
echo -O2 -e%1.exe -Ic:\xharbour\include;c:\bcc55\include menus.c >> b32.bc
echo -O2 -e%1.exe -Ic:\xharbour\include;c:\bcc55\include gradfill.c >> b32.bc
c:\bcc55\bin\bcc32 -M -c @b32.bc
:ENDCOMPILE
pause
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 gradfill.obj + >> b32.bc
echo menus.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

_________________________________________________________________
Crea tu propia página de enrada con[/size][/size][/size] todo lo que te gusta http://live.com
Marco Augusto Rodriguez Manzo
fwh 2020 Xharbour 1.2.3
MySQL 5.0.19 Fastreport

PERZO SOFT
Sistemas Personalizados
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Arturo Tamayo Daza
Posts: 29
Joined: Thu Oct 20, 2005 1:35 pm
Contact:

Post by Arturo Tamayo Daza »

hola

crea un bat con lo siguiente para compitar

Def ="__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF"
c:\bcc55\bin\bcc32 -M -c -D__HARBOUR__ -Id:\Harbour\include;c:\bcc55\include;d:\fwh\include %1.c

Ojo el Def es importante

Saludos

ARturo
Post Reply