Error en report al Compilar

Post Reply
User avatar
cmarucco
Posts: 46
Joined: Tue Oct 11, 2005 2:23 pm
Location: argentina

Error en report al Compilar

Post by cmarucco »

Amigos del Foro:

Al compilar .prg que tengan reports me da el siguiente error :

Application
===========
Path and name: C:\TRABAJOS\SJULIAN\EGRESOS\menuteso.exe (16 bits)
Size: 1,088,256 bytes
Max files handles permited: ( SetHandleCount() ) 255
Time from start: 0 hours 0 mins 16 secs
Error occurred at: 06/01/2008, 22:59:50
Error description: Error BASE/1003 Variable does not exist: CLR_LIGHTG

Stack Calls
===========
Called from: => LOCKERRHAN(0)
Called from: => (b)INITHANDL$(0)
Called from: => TREPORT:NEW(205)
Called from: => RPTBEGIN(0)
Called from: => LLIBRAFECH(590)
Called from: => (b)BUILDMENU(166)
Called from: => TMENU:COMMAND(0)
Called from: => TMDIFRAME:COMMAND(0)
Called from: => TMDIFRAME:COMMAND(0)
Called from: => TMDIFRAME:HANDLEEVEN(0)
Called from: => WINRUN(0)
Called from: => TMDIFRAME:ACTIVATE(0)
Called from: => MENUEGRE(83)

System
======
CPU type: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Hardware memory: 1024 megs

Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %

Compiler version: Clipper (R) 5.3 Intl.
Windows and MsDos versions: 3.95, 5.0

Windows total applications running: 7
1 C:\WINDOWS\SYSTEM32\USER.EXE
2 xMate.exe
3 explorer.exe
4 C:\TRABAJOS\SJULIAN\EGRESOS\menuteso.exe
5 TOTALCMD.EXE
6 C:\WINDOWS\SYSTEM32\MMSYSTEM.DLL
7 C:\WINDOWS\SYSTEM32\WOWEXEC.EXE

Variables in use
================
Procedure Type Value
==========================
LOCKERRHAN
Param 1: O Class: ERROR
Param 2: B { || ... } CodeBlock
(b)INITHANDL$
Param 1: O Class: ERROR
TREPORT:NEW
Param 1: A Len: 1
Param 2: A Len: 4
Param 3: A Len: 1
Param 4: A Len: 3
Param 5: A Len: 2
Param 6: L .F.
Param 7: C ""
Param 8: C ""
Param 9: L .F.
Param 10: L .T.
Param 11: C ""
Param 12: U
Param 13: C "Libramientos por Fecha "
Param 14: C "CENTER"
Param 15: C "LEFT"
Param 16: C "CENTER"
Local 1: O Class: TREPORT
Local 2: U
Local 3: U
Local 4: U
Local 5: U
Local 6: L .T.
Local 7: L .T.
Local 8: U
Local 9: O Class: TREPORT
RPTBEGIN
Param 1: A Len: 1
Param 2: A Len: 4
Param 3: A Len: 1
Param 4: A Len: 3
Param 5: A Len: 2
Param 6: L .F.
Param 7: U
Param 8: U
Param 9: U
Param 10: L .T.
Param 11: U
Param 12: U
Param 13: C "Libramientos por Fecha "
Param 14: C "CENTER"
Param 15: U
Param 16: C "CENTER"
Local 1: A Len: 0
LLIBRAFECH
Local 1: A Len: 5
Local 2: O Class: TDIALOG
Local 3: U
Local 4: D 01/01/2007
Local 5: D 31/01/2007
Local 6: L .T.
Local 7: C " 2622007"
Local 8: C " 2622007"
(b)BUILDMENU
Param 1: O Class: TMENUITEM
TMENU:COMMAND
Param 1: N 20016
Local 1: O Class: TMENU
Local 2: O Class: TMENUITEM
TMDIFRAME:COMMAND
Param 1: N 20016
Param 2: N 0
Local 1: O Class: TMDIFRAME
Local 2: N 0
Local 3: N 20016
Local 4: N 0
TMDIFRAME:COMMAND
Param 1: N 20016
Param 2: N 0
Local 1: O Class: TMDIFRAME
Local 2: L .F.
TMDIFRAME:HANDLEEVEN
Param 1: N 273
Param 2: N 20016
Param 3: N 0
WINRUN
Param 1: N 544
TMDIFRAME:ACTIVATE
Param 1: C "MAXIMIZED"
Param 2: U
Param 3: U
Param 4: U
Param 5: U
Param 6: U
Param 7: U
Param 8: B { || ... } CodeBlock
Param 9: U
Param 10: U
Param 11: U
Param 12: U
Param 13: U
Param 14: U
Param 15: U
Param 16: U
Param 17: U
Param 18: U
Param 19: U
Local 1: O Class: TMDIFRAME
Local 2: U
Local 3: U
MENUEGRE
Local 1: O Class: TBAR
Local 2: O Class: TBRUSH
Local 3: U
Local 4: O Class: TCURSOR

Linked RDDs
===========
DBF
_DBFCDX
DBFNTX
DBFCDX


Estoy usando
FW 7.12
Clipper 5.3
Blinker 5.10
ClassWork 6.0
xMate 1.15.
y en opciones de compilacion /dCLIPPER501.

Desde ya muchas gracias .

Carlos Gustavo Marucco
Rio Gallegos - Patagonia Argentina
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Carlos,

Tienes que reemplazar CLR_LIGHTGRAY por CLR_HGRAY dentro de source\classes\rpreview.prg

Deberías plantearte empezar a usar FWH y Harbour, para asi pasar tu aplicación a 32 bits y así solucionar limitaciones propias de los 16 bits.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
cmarucco
Posts: 46
Joined: Tue Oct 11, 2005 2:23 pm
Location: argentina

error en Treport

Post by cmarucco »

Antonio: Muchas gracias por la respuesta.....
El problema era que tenia incorporado al proyecto el prg REPORT.PRG, que habia copiado de Sources para hacerle la modificacion, por el problema de justificacion a la derecha de campos numericos en oReport:Say

Por lo que NO HABRIA QUE TOCAR nada en el producto FW y FWH....., ya que elimine este .prg del proyecto y compilo sin problemas ...

Y si, estamos migrando los aplicativos a FHW y HARBOUR con Eagle de Manu Mercado.....
Muchas Gracias ....

Carlos
Post Reply