PREVIEW. ERROR BASE/1079

PREVIEW. ERROR BASE/1079

Postby Ramón J. » Thu Feb 23, 2006 6:03 pm

Hola a todos.

Cuando trato de sacar un listado con la cláusula PREVIEW me lanza el siguiente error:

Error description: Error BASE/1079 Argument error: .OR.
Args:
[ 1] = L .F.
[ 2] = U

Sin embargo, si lo lanzo directamente a la impresora sale perfectamente.

He tratado de compilar el TESTRPT2 que hay en SAMPLES y también me da el mismo error.

Application
===========
Path and name: E:\FWH\SAMPLES\TESTRPT2.exe (32 bits)
Size: 1,079,296 bytes
Time from start: 0 hours 0 mins 7 secs
Error occurred at: 02/22/06, 18:17:04
Error description: Error BASE/1079 Argument error: .OR.
Args:
[ 1] = L .F.
[ 2] = U

Stack Calls
===========
Called from: => TWINDOW:ERASEBKGND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => _FWH(0)
Called from: => SHOWWINDOW(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: => RPREVIEW(0)
Called from: => (b)NEW(0)
Called from: => TREPORT:ACTIVATE(0)
Called from: => MAIN(51)

Cómo se soluciona?

Gracias
Ramón J.
 
Posts: 152
Joined: Mon Feb 13, 2006 8:23 pm

Postby Antonio Linares » Thu Feb 23, 2006 8:23 pm

Ramón,

Es un error que se ha colado en el build de Febrero de FWH. Para solucionarlo hay que modificar la Clase TSay en classes\say.prg de la siguiente forma:
Code: Select all  Expand view  RUN
METHOD EraseBkGnd( hDC ) CLASS TSay

   DEFAULT ::lTransparent := .f.

   if IsAppThemed() .or. ::lTransparent
      return 1
   endif

return Super:EraseBkGnd( hDC )

Recompilas la clase y añades el OBJ resultante a los OBJs de tu aplicación. A comienzos de Marzo publicaremos un nuevo build que corrige este problema.
regards, saludos

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

Postby Ramón J. » Thu Feb 23, 2006 9:48 pm

Gracias, Antonio

Saludos
Ramón J.
 
Posts: 152
Joined: Mon Feb 13, 2006 8:23 pm


Return to FiveWin para Harbour/xHarbour

Who is online

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