Mostrar Error.

Mostrar Error.

Postby Garbi » Fri Jun 20, 2008 9:48 am

Hola, me pasa algo curioso si hago un ejecutable de un prg con buildh y provoco un error con msgalert(memoria) y por supuesto la variable memoria no existe me muestra error de que la memoria no existe, pero si lo creo con rmake no me muestra ningun error simplemente cierra la aplicacion, supongo que sera alguna variable del compilador. pongo el rmk que uso. Gracias

#Borland make sample, (c) FiveTech Software 2005

HBDIR=H:\SEGJOSE\HABOUR\habour
BCDIR=H:\SEGJOSE\HABOUR\BORLAND\bcc55
FWDIR=H:\SEGJOSE\HABOUR\fwh

#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\

#important: Use Uppercase for filenames extensions, in the next two rules!

PRG = \
gesman.PRG \
tarifas.PRG \
cliente.PRG \
informe.PRG

rem C = \

PROJECT : Gesman.exe

Gesman.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) Gesman.res
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo obj\gesman.obj + >> b32.bc
echo obj\tarifas.obj + >> b32.bc
echo obj\informe.obj + >> b32.bc
echo obj\cliente.obj + >> b32.bc
echo .\archivos.obj + >> b32.bc
echo .\jose.obj + >> b32.bc
echo .\tools.obj + >> b32.bc
echo .\Tapli.obj, + >> b32.bc
echo gesman.exe, + >> b32.bc
echo gesman.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\b32\Ace32.lib + >> b32.bc

echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc

IF EXIST gesman.res echo gesman.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc >2.LOG
del b32.bc

.PRG.OBJ:
$(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include>clip.log
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c


.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp

gesman.res : gesman.rc
$(BCDIR)\bin\brc32.exe -r gesman.rc

Garbi
 
Posts: 333
Joined: Wed Nov 02, 2005 3:28 pm

Postby Antonio Linares » Sat Jun 21, 2008 9:47 am

Garbi,

Usas un ErrorSys modificado en tu aplicación ?

(source\function\errsysw.prg)
regards, saludos

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

Postby Garbi » Mon Jun 23, 2008 8:50 am

Usaba la de un compañero, la adapte con referencia a errsysw.prg y ya me salen los errores a ver si ahora puedo seguir el camino y terminar la primera adaptacion a 32.

Muchisimas Gracias por la pista.
Garbi
 
Posts: 333
Joined: Wed Nov 02, 2005 3:28 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 83 guests