topic
stringlengths 1
63
| text
stringlengths 1
577k
⌀ |
---|---|
xharbour compatibe con FWH24 | Joel
Ya utilice el "Harb2Lib", es estupenda... pero solo para fiveh.lib.
Me parece que el error que me aparece es porque en xHarbour tambien se utiliza el fivehc.lib que tambien debe recompilarce.
De alguna manera debo poder utilizar el FWH24 que adquirimos... aunque todavia no veo cómo (ojalá que Antonio haga un parche para actualizar su libreria para xharbour de acuerdo con la version que una haya adquirido ... no te parece???)
Saludos |
xharbour compatibe con FWH24 | la function alert , tiene que encontrarse en fiveh no en fivehc , fivehc no necesita cambiarse para nada,pues es codigo escrito en c puro con lo que no le afectan los distintos pcodes de harbour .
Algo estas haciendo mal al recompilar fiveh.lib .
Mira que los path de harbour apunten al directorio donde descomprimiste el harbour de patrick y no otro distinto ( seguro que ese es el problema)
Te recomiendo descomprimas el harbour de patrick en un directorio nuevo y no machacando el harbour que ya tenias , y cambies los path
Saludso y suerte . |
xharbour compatibe con FWH24 | Armando, es correcto lo que te comenta Jose Luís, Y tengo FW24 y no tube que recompilar fivehc unicamente FiveH.
Saludos
Joel Andujo |
xharbour compatibe con FWH24 | En el sitio PuertoSur, ventana Top 10 Descargas" encontrarán enlaces para descargar xHarbour 0.99.3, para FWH24; y otro para FWH25. Ambos compilados por Walter Negro
Saludos |
xharbour compatibe con FWH24 | Te comento que originalmente baje el xHarbour de PuertoSur pero no funcionó. Supongo que sería porque no reconstruí FWH24 en ese momento. De todas maneras voy a volver a probar con el xHarbour de PuertoSur pero utilizando la herramienta de HTC
Saludos[/quote] |
xharbour compatibe con FWH24 | A todos los amigos del foro.
Con sus consejos ya pude hacer funcionar mi FWH24 con (x)Harbour. Tuve que regresar a la Versión 0.80 y aún asi volver a recompilar las librerías de FWH24.
Espero que esta situación no me limite el desarrollo de mis aplicaciones (ruego que esto no suceda ya que si no tendré que pensar en otras librerías que sigan el desarrollo de xHarbour).
Gracias a todos.
Un fuerte abrazo
Armando |
xharbour compatibe con FWH24 | [quote="Armando Picon":jc1xschz]Hola a todos.
Desde que compramos el FWH24 nunca lo utilizamos. Ahora estoy empezando las pruebas para migrar de FW20d.
Al utilizar Harbour no tengo mayores problemas pero al querer utilizar xHarbour se compila bien pero no corre. Pareciera que hay incompatibilidad entre FWH24 y xHarbour.
La pregunta de rigor ¿alguien tendrá en el "cajón de recuerdos" una version de xharbour que sea compatible con FWH24?
Gracias previas al que me apoye.
Armando <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->[/quote:jc1xschz]
Ante todo buenos días (aquí)
He leido tu mensaje que veo que es del 2006, pero me he atrevido a preguntar.
Tengo una APP en FW20D y me gustaría saber si para migrar a FW HARBOUR hay que tocar mucho código, si hay alguna herramienta que ayude a cambiarlo y si el costo sería el de el FWHARBOUR (por cierto que version es mas recomendable ?) solo y si hay algun linkador libre o hay que comprarlo. estoy desengrasado de este tema pero creo que voy a tener que ponerme al día.
Alguna ayuda de alguien que haya pasado por este "trance"
Gracias anticipadas |
xharbour compatibe con FWH24 | gautxori,
No tienes que modificar nada para migrar tu aplicación de Clipper a Harbour y FWH 32 bits. Solo tienes que recompilar usando Harbour y enlazar con FWH.
La única excepción sería si usas VBXs ó si usas interrupciones de la BIOS. Por lo demás, todo es compatible.
Puedes comprar FWH desde <!-- w --><a class="postlink" href="http://www.fivetechsoft.com">www.fivetechsoft.com</a><!-- w --> sección "comprar", ahi tienes los precios, etc. Se te entrega todo lo necesario para construir tu aplicación <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Para cualquier duda adicional puedes contactarme en <!-- e --><a href="mailto:alinares@fivetechsoft.com">alinares@fivetechsoft.com</a><!-- e --> |
xharbour compatibe con FWH24 | Mi aplicacion usa unas dll creadas con el resource workshop de borlan 4.0 ya muy antiguo, tambien ficheros DBF con indices NTX Y CDX
viene algúna herramienta para editar migrar recursos ??, lo mismo me sucede con los DBF,
Revisando mensajes veo que existen las librerías para 32 Bits
Se puede pasar el recurso .dll gurardandolo como rc y luego hay un .bat que lo pasa a una dll de 32 bits
tambien PREV32.DLL para PREVIEW.DLL
no se si hay algún programa tipo WDBU tengo una licencia que venía con FW20 comprada pero al reinstalarlo en otro pc me DICE wrong number ??. de todas formas no vale para windows de 64 bits
Creo que con eso tendría todo.
Me respondo a mi mismo ......Es correcto ??
<!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Un saludo |
xharbour compatibe con FWH24 | [quote="gautxori":3ckexy2t]Mi aplicacion usa unas dll creadas con el resource workshop de borlan 4.0 ya muy antiguo, tambien ficheros DBF con indices NTX Y CDX
viene algúna herramienta para editar migrar recursos ??, lo mismo me sucede con los DBF,
Revisando mensajes veo que existen las librerías para 32 Bits
Se puede pasar el recurso .dll gurardandolo como rc y luego hay un .bat que lo pasa a una dll de 32 bits
tambien PREV32.DLL para PREVIEW.DLL
no se si hay algún programa tipo WDBU tengo una licencia que venía con FW20 comprada pero al reinstalarlo en otro pc me DICE wrong number ??. de todas formas no vale para windows de 64 bits
Creo que con eso tendría todo.
Me respondo a mi mismo ......Es correcto ??
<!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Un saludo[/quote:3ckexy2t]
Buenas tardes Antonio, graciar lo la respuesta hace ya bastante tiempo, ahora ya va en serio y mis dudas son sobre lo que decía en este mensaje. sin llamadas a BIOS no nada por el estilo, BBDD .dbf e Informes con PREVIEW.DLL
Entiendo que no es trivial, pero también que no hay nada insalvable
SITUACION ACTUAL
1ª FIVEWIN 2.0D
2ª Uso BLINKER para enlazar .rc y .res
3ª Para informes PREVIEW.DLL
4º ficheros BBDD .DBF e índices .NTX |
xharbour compatibe con FWH24 | Solo necesitas comprar FWH 32 bits desde <!-- w --><a class="postlink" href="http://www.fivetechsoft.com">www.fivetechsoft.com</a><!-- w --> y con mucho gusto
te ayudaremos a migrar a Harbour y FWH
Hemos ayudado a muchas empresas y programadores a hacer esa transición, desde Clipper y FW a Harbour y FWH <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xharbour compatibe con FWH24 | Muchas gracias Antonio, a ver si se deciden de una vez, y puedo meterme con ello
Un saludo |
xharbour compilado con bcc582 | Estimados
Existe la version de xharbour compilado con BCC582,
ya que la funcion hb_compiler() me devuelve borland C++ 5.5.1 |
xharbour compilado con bcc582 | Hola
[url:3r40av5l]http://forums.fivetechsupport.com/viewtopic.php?p=116344#p116344[/url:3r40av5l] |
xharbour compilado con bcc582 | Gracias Daniel
Funciono perfecto.. |
xharbour compilado con bcc582 | Gente;
Disculpen la ignorancia, ya que uso UEStudio y tengo el path al BCC582, pero al igual que Patricio hb_compiler() me devuelve lo mismo que él comenta.
El enlace que dejaste es para recompilar el xHarbour?
Saludos |
xharbour compilado con bcc582 | Mario:
Si correcto, lo que hace es compilar las lib, luego debes copiar esta a la carpeta xharbour |
xharbour compilado con bcc582 | gracias |
xharbour cvs | hi, in last week, xharbour cvs is down, can someone confirm this? |
xharbour cvs | No, it works fine for me.
EMG |
xharbour cvs | you use anonymous? like:
:pserver:anonymous@xharbour.cvs.sourceforge.net:/cvsroot/xharbour |
xharbour cvs | works now. thanks, have an issue related with my firewall. |
xharbour cvs + fivewin 8.01 = GPF ? | atualizei o cvs 12/03 as 19:00 horário local ... e compilei a minha aplicação... e me deparei com o seguinte problema as minhas telas em fivewin 8.01 ... estao apresentando erro GPF
estou usando o cvs por recomendação do próprio linhares por tem um bug na classe get do xharbour tget.prg ja reportei o problema para 2 programadores brasileiros que atualizam e fazem implementação do xharbour só que ainda não obtive resposta
o que devo fazer ?
compilei com o xharbour 1.1.0 (que também é uma compilação do cvs) recebido junto com o fivewin 8.01 e funciona so que tem o bug da classe get não foi corrigida
será que o meu Fivewin 8.1 ficou incompatível com o cvs do xharbour ?
tenho que atualizar o meu fivewin 8.1 para 8.3 ? |
xharbour cvs + fivewin 8.01 = GPF ? | Daniel,
Te aparece una ventana con el "callstack" cuando se produce el GPF ? |
xharbour cvs + fivewin 8.01 = GPF ? | [quote="Antonio Linares":18lkio39]Daniel,
Te aparece una ventana con el "callstack" cuando se produce el GPF ?[/quote:18lkio39]
Hace años atrás Jorge Masón de Chile publicó un pequeño software que permite recompilar la librería de fivewin utilizando la última versión de xharbour que tengas.
Indícame como te la envío.
Cuando actualizo xharbour desde cvs, inmediatamente recompilo la fwh.lib y listo y cero problemas.
Saludos
David |
xharbour cvs + fivewin 8.01 = GPF ? | nao esta gerando log so da o gpf e fecha a aplicação
poderia me enviar pra compilar a lib ( <!-- e --><a href="mailto:daniel@lopes.ms">daniel@lopes.ms</a><!-- e --> )
como compilar as lib´s do fivewin ? |
xharbour cvs + fivewin 8.01 = GPF ? | Daniel,
Nosotros acabamos de publicar la versión 8.03 pero aún no estamos usando el xHarbour más reciente, pues nos han comentado varios usuarios que tienen algunos problemas.
Tan pronto como lo probemos, publicaremos un build de xHarbour, si todas nuestras pruebas funcionan correctamente.
En que línea de tu programa te aparece el GPF ? Prueba a poner algunas trazas usando MsgInfo() e intenta localizar el código que lo produce, gracias |
xharbour cvs + fivewin 8.01 = GPF ? | antonio
so da gpf com o xharbour cvs ... se puderer compilar um xharbour com as alterações no tgtet.prg poderia me enviar um link pra baixar ?
se tiver os fontes do contrib agradeço
estou postando o tget.prg onde esta comendado
* daniel
vc encontra as alterações que voce me passou por e-mail
INICIO
=====
/*
* $Id: tget.prg,v 1.137.2.1 2007/11/06 23:59:43 modalsist Exp $
*/
/*
* Harbour Project source code:
* Get Class
*
* www - <!-- m --><a class="postlink" href="http://www.harbour-project.org">http://www.harbour-project.org</a><!-- m -->
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site <!-- m --><a class="postlink" href="http://www.gnu.org/">http://www.gnu.org/</a><!-- m -->).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
#include "hbclass.ch"
#include "color.ch"
#include "common.ch"
#include "setcurs.ch"
#include "getexit.ch"
#include "inkey.ch"
#include "button.ch"
#include "hblang.ch"
/* TODO: :posInBuffer( <nRow>, <nCol> ) --> nPos
Determines a position within the edit buffer based on screen
coordinates.
Xbase++ compatible method */
#define GET_CLR_UNSELECTED 0
#define GET_CLR_ENHANCED 1
#define GET_CLR_CAPTION 2
#define GET_CLR_ACCEL 3
//----------------------------------------------------------------------------//
CLASS Get
// Exported
DATA BadDate
DATA Block
DATA Buffer
DATA Cargo
DATA Changed
DATA Clear
DATA Col
DATA DecPos
DATA ExitState
DATA HasFocus
DATA Minus
DATA Name
DATA Original
DATA Pos
DATA PostBlock
DATA PreBlock
DATA Reader
DATA Rejected
DATA Row
DATA SubScript
DATA Type
DATA TypeOut
#ifdef HB_COMPAT_C53
DATA Control
DATA Message
DATA Caption
DATA nLastExitState
DATA CapRow
DATA CapCol
#endif
METHOD New( nRow, nCol, bVarBlock, cVarName, cPicture, cColorSpec )
METHOD Assign()
#ifdef HB_COMPAT_XPP
MESSAGE _Assign METHOD Assign()
#endif
ACCESS ColorSpec INLINE ::cColorSpec
ASSIGN ColorSpec( cColorSpec ) INLINE ::SetColorSpec( cColorSpec )
//ACCESS Picture INLINE ::cPicture
ACCESS Picture INLINE ::cOrigPicture
ASSIGN Picture( cPicture ) INLINE ::SetPicture( cPicture )
METHOD Display( lForced )
METHOD ColorDisp( cColorSpec ) INLINE ::ColorSpec := cColorSpec, ::Display(), Self
METHOD KillFocus()
METHOD Reset()
METHOD SetFocus()
METHOD Undo()
METHOD UnTransform( cBuffer )
METHOD UpdateBuffer() INLINE if( ::hasfocus, ( ::buffer := ::PutMask( ::VarGet() ), ::Display() ), ), Self
METHOD VarGet()
METHOD VarPut(xValue, lReFormat)
METHOD End()
#ifdef HB_COMPAT_XPP
MESSAGE _End METHOD End()
#endif
METHOD Home()
MESSAGE Left( lDisplay ) METHOD _Left( lDisplay )
MESSAGE Right( lDisplay ) METHOD _Right( lDisplay )
METHOD ToDecPos()
METHOD WordLeft()
METHOD WordRight()
METHOD BackSpace( lDisplay )
MESSAGE Delete( lDisplay ) METHOD _Delete( lDisplay )
METHOD DelEnd()
METHOD DelLeft()
METHOD DelRight()
METHOD DelWordLeft()
METHOD DelWordRight()
METHOD Insert( cChar )
METHOD OverStrike( cChar )
#ifdef HB_COMPAT_C53
METHOD HitTest(mrow, mcol)
#endif
PROTECTED: /* P R O T E C T E D */
DATA cColorSpec // Used only for METHOD ColorSpec
DATA cPicture // Used only for METHOD Picture
DATA cOrigPicture // Original picture supplied by user.
METHOD SetColorSpec( cColorSpec )
METHOD SetPicture( cPicture )
HIDDEN: /* H I D D E N */
DATA cPicMask, cPicFunc, nMaxLen, lEdit, lDecRev, lPicComplex
DATA nDispLen, nDispPos, nOldPos, lCleanZero, cDelimit, nMaxEdit
DATA lMinusPrinted, xVarGet
DATA lDispLen INIT .F.
DATA lUndo INIT .F.
DATA lLeftJust INIT .F. // to "@B" mask
DATA lDispLenChanged INIT .F. // to "@X", "@C", "(" and ")" pictures.
DATA nDispLenReduce INIT 0 // idem.
METHOD ParsePict( cPicture )
METHOD DeleteAll()
METHOD IsEditable( nPos )
METHOD Input( cChar )
METHOD PutMask( cBuffer, lEdit )
METHOD FirstEditable( )
METHOD LastEditable( )
METHOD HasScroll() INLINE ::nDispLen != ::nMaxLen
ENDCLASS
//---------------------------------------------------------------------------//
METHOD New( nRow, nCol, bVarBlock, cVarName, cPicture, cColorSpec ) CLASS Get
DEFAULT nRow TO Row()
DEFAULT nCol TO Col()
DEFAULT cVarName TO ""
DEFAULT bVarBlock TO IIF( ValType( cVarName ) == 'C', MemvarBlock( cVarName ), NIL )
DEFAULT cPicture TO ""
DEFAULT cColorSpec TO BuildGetColor(cColorSpec) // SetColor()
::HasFocus := .F.
::lEdit := .F.
::BadDate := .F.
::Changed := .F.
::Clear := .F.
::lCleanZero := .F.
::lMinusPrinted := .F.
::Minus := .F.
::Rejected := .F.
::TypeOut := .F.
/*
::DecPos := NIL
::Pos := NIL
::PostBlock := NIL
::PreBlock := NIL
::Reader := NIL
::SubScript := NIL
*/
//::ExitState := 0 // NIL in Clipper
::nLastExitState := 0
::nOldPos := 0
::nDispPos := 1
::Block := bVarBlock
::Col := nCol
::Row := nRow
::ColorSpec := cColorSpec
::Picture := cPicture
::cOrigPicture := cPicture
::Name := cVarName
::cDelimit := IIF( SET( _SET_DELIMITERS ), SET( _SET_DELIMCHARS ), NIL )
//::Original := ::VarGet()
//::Type := ValType( ::VarGet() ) // Must know the type at creation
::VarGet() // Must know the type at creation
#ifdef HB_COMPAT_C53
//::CapCol := ;
::CapRow := 0
::Caption := ""
#endif
RETURN Self
//---------------------------------------------------------------------------//
METHOD ParsePict( cPicture ) CLASS Get
Local cChar, cMask
Local nAt
Local nFor
Local cNum := ""
Local nPos := AT("@", cPicture )
Local nLen,nDec
Local nMaxLen
/* E.F. 2006/MAY/31 - Search by last occurrence of "@" into picture
* to verify if picture has a function and avoid any char before it.
* E.F. 2006/AUG/14 - Replaced RAT by AT to preserve others pictures, if any.
*/
//if Left( cPicture, 1 ) == "@"
//nPos := RAT("@", cPicture )
//nPos := AT("@", cPicture )
if nPos > 0
if nPos > 1
// extracts any char before "@"
cPicture := SubStr( cPicture, nPos )
::cPicture := cPicture
endif
nAt := At( " ", cPicture )
if nAt == 0
::cPicFunc := Upper( cPicture )
::cPicMask := ""
else
/* The first space after the function symbom is obligatory, but it's
ignored in the mask. */
::cPicFunc := Upper( SubStr( cPicture, 1, nAt - 1 ) )
/* E.F. 2006/JUN/06 Clipper doesn't extract left spaces of the mask
* of any var type. For example: "@E 999.99", "@R 999.999"
* ::cPicMask := LTrim( SubStr( cPicture, nAt + 1 ) )
*/
::cPicMask := SubStr( cPicture, nAt + 1 )
endif
// AnalyzePicture( @::cPicFunc )
if "D" IN ::cPicFunc
::cPicMask := Set( _SET_DATEFORMAT )
::cPicMask := StrTran( ::cPicmask, "y", "9" )
::cPicMask := StrTran( ::cPicmask, "Y", "9" )
::cPicMask := StrTran( ::cPicmask, "m", "9" )
::cPicMask := StrTran( ::cPicmask, "M", "9" )
::cPicMask := StrTran( ::cPicmask, "d", "9" )
::cPicMask := StrTran( ::cPicmask, "D", "9" )
endif
if ( nAt := At( "S", ::cPicFunc ) ) > 0
for nFor := nAt + 1 to Len( ::cPicFunc )
if ! IsDigit( SubStr( ::cPicFunc, nFor, 1 ) )
exit
else
cNum += SubStr( ::cPicFunc, nFor, 1 )
endif
next
if Val(cNum) > 0
::nDispLen := Val(cNum)
::lDispLen := .t.
else
::lDispLen := .f.
endif
::cPicFunc := SubStr( ::cPicFunc, 1, nAt - 1 ) + SubStr( ::cPicFunc, nFor )
else
::lDispLen := .f.
endif
// 2007/JAN/09 - E.F. - Protect ::lCleanzero value before extract "Z" from picture.
if !::lCleanZero
::lCleanZero := ( "Z" IN ::cPicFunc ) // Display zero as blanks.
endif
// 2006/DEC/19 - E.F. - Extracted "Z" from ::cPicture
if ::lCleanZero
::cPicFunc := StrTran(::cPicFunc, "Z", "")
::cPicture := StrTran(::cPicture, "Z", "")
endif
// 2007/MAR/31 - E.F. - Set left-justified behaviour.
if !::lLeftJust
::lLeftJust := ( "B" IN ::cPicFunc )
endif
if ::lLeftJust
::cPicFunc := StrTran(::cPicFunc, "B", "")
::cPicture := StrTran(::cPicture, "B", "")
endif
if ::cPicFunc == "@"
::cPicFunc := ""
endif
// 2006/DEC/19 - E.F. - Extracted "@" from ::cPicture
if ::cPicture == "@"
::cPicture := ""
endif
else
::cPicFunc := ""
::cPicMask := cPicture
::lCleanZero := .f.
::lDispLen := .f.
endif
if ::type == "D"
// ::cPicMask := LTrim( ::cPicMask )
// avoid user date picture to force default date picture in
// accordance with set date format. See below.
::cPicMask := ""
endif
// Comprobar si tiene la , y el . cambiado (Solo en Xbase++)
::lDecRev := "," IN Transform( 1.1, "9.9" )
// Generate default picture mask if not specified
if Empty( ::cPicMask ) .and. !Empty( ::type )
Switch ::type
case "D"
::cPicMask := Set( _SET_DATEFORMAT )
::cPicMask := StrTran( ::cPicmask, "y", "9" )
::cPicMask := StrTran( ::cPicmask, "Y", "9" )
::cPicMask := StrTran( ::cPicmask, "m", "9" )
::cPicMask := StrTran( ::cPicmask, "M", "9" )
::cPicMask := StrTran( ::cPicmask, "d", "9" )
::cPicMask := StrTran( ::cPicmask, "D", "9" )
exit
case "N"
/* E.F. 2007/FEB/03 - Assign default mask format in accordance with
buffer lenght and dec pos. */
if ::nMaxLen != NIL .and. ::DecPos != NIL
/* 2007/MAY/20 - E.F. */
nMaxLen := ::nMaxLen - iif(::lDispLenChanged,::nDispLenReduce,0)
if ::DecPos < nMaxLen .and. ::DecPos > 0
cNum := Str( ::xVarGet, nMaxLen, nMaxLen - ::DecPos )
else
cNum := Str( ::xVarGet, nMaxLen, 0 )
endif
else
cNum := Str( ::xVarGet )
endif
/* E.F. 2006/APRIL/19 - If ::xVarGet is negative and smaller than
* -99999999.99, the Str(::xVarGet) will return a string width
* of 23, instead it's length, increasing the ::cPicMask length.
* cNum := Str( ::xVarGet ) is not better way to do it.
*/
IF ::xVarGet < 0
nDec := Len( cNum) - Rat(".",cNum)
IF nDec >= Len( cNum )
nDec := 0
ENDIF
// 2006/DEC/24 - E.F. Fixed nLen value for negative numbers.
//nLen := 10 + iif(nDec>0,1,0) + nDec
nLen := iif( ::xVarGet < -99999999.99, 10+iif(nDec>0,1,0) + nDec, Len( cNum ) )
cNum := Str( ::xVarGet, nLen, nDec )
ENDIF
if ( nAt := At( iif( ::lDecRev, ",", "." ), cNum ) ) > 0
::cPicMask := Replicate( '9', nAt - 1 ) + iif( ::lDecRev, ",", "." )
::cPicMask += Replicate( '9', Len( cNum ) - Len( ::cPicMask ) )
else
::cPicMask := Replicate( '9', Len( cNum ) )
endif
exit
case "C"
If ::cPicFunc == "@9"
::cPicMask := Replicate( "9", Len( ::VarGet() ) )
::cPicFunc := ""
Endif
exit
end
endif
// Comprobar si tiene caracteres embebidos no modificables en la plantilla
::lPicComplex := .f.
IF ! Empty( ::cPicMask )
For each cChar in ::cPicMask
IF cChar == 'a'
::cPicMask[ HB_EnumIndex() ] := 'A'
ELSEIF cChar == 'n'
::cPicMask[ HB_EnumIndex() ] := 'N'
ELSEIF !(cChar IN "!ANX9#")
::lPicComplex := .t.
EXIT
ENDIF
NEXT
ENDIF
// if ::HasFocus // TODO: Delete this line if the "if ::hasfocus" in ::Picture
// is correct.
if ::type == "N"
::decpos := At( iif( ::lDecRev .or. "E" IN ::cPicFunc, ",", "." ), ;
Transform( 1, if( Empty( ::cPicFunc ), "", ::cPicFunc + " " ) + ::cPicMask ) )
if ::decpos == 0
::decpos := iif( ::buffer == NIL, NIL, Len( ::buffer ) + 1 )
endif
else
::decpos := NIL
// 2006/DEC/11 - EF - changed ::cPicMask to uppercase if ::type is character.
// 2007/NOV/06 - EF - toggle to uppercase only template chars of the mask.
IF ::type == 'L'
::cPicMask := Upper( ::cPicMask )
ELSEIF ::type == 'C'
cMask := ::cPicMask
::cPicMask := ""
FOR EACH cChar IN cMask
if cChar $ "alnxy"
::cPicMask += Upper( cChar )
else
::cPicMask += cChar
endif
NEXT
ENDIF
endif
// endif
return ::cPicFunc + ' ' + ::cPicMask
//---------------------------------------------------------------------------//
METHOD Assign() CLASS Get
if ::hasfocus
::VarPut( ::unTransform(), .f. )
endif
return Self
//---------------------------------------------------------------------------//
METHOD Display( lForced ) CLASS Get
LOCAL nOldCursor := SetCursor( SC_NONE )
LOCAL xBuffer
LOCAL xVar
LOCAL cCaption
LOCAL cClrCap := hb_ColorIndex( ::ColorSpec, GET_CLR_CAPTION )
LOCAL cClrAcc := hb_ColorIndex( ::ColorSpec, GET_CLR_ACCEL )
LOCAL lIsIntense := SET( _SET_INTENSITY)
LOCAL nCol,cDisplay
LOCAL nDispReduce := 0
DEFAULT lForced TO .t.
IF Empty( cClrCap )
cClrCap := hb_ColorIndex( SetColor(), CLR_STANDARD )
ENDIF
IF Empty( cClrAcc )
cClrAcc := hb_ColorIndex( SetColor(), CLR_BACKGROUND )
ENDIF
IF ::Buffer == NIL
xVar := ::VarGet() // In VarGet() is setting ::xVarGet needed to
// ::Picture.
::Picture := ::cOrigPicture
xBuffer := ::PutMask( xVar, .f. )
ELSE
xBuffer := ::Buffer
ENDIF
HBConsoleLock()
/* E.F. 2006/MAY/23 - Display minus sign in the front of xBuffer value.
* IF ! ::lMinusPrinted .AND. ! Empty( ::DecPos ) .AND. ::minus .AND. SubStr( xBuffer, ::DecPos - 1, 1 ) == "0"
* xBuffer := SubStr( xBuffer, 1, ::DecPos - 2 ) + "-." + SubStr( xBuffer, ::DecPos + 1 )
*/
IF ::Type=="N" .AND. ! ::lMinusPrinted .AND. ::DecPos != NIL .AND. ::Minus
xBuffer := PadL( StrTran(xBuffer,'-',''), Len(xBuffer) )
IF ::DecPos > 0 .AND. ::DecPos < Len( xBuffer)
xBuffer := PadL( '-'+Ltrim(SubStr( xBuffer, 1, ::DecPos - 1 )) + "." + SubStr( xBuffer, ::DecPos + 1 ) , Len(xBuffer) )
ELSE
xBuffer := PadL( '-'+Ltrim( xBuffer), Len(xBuffer) )
ENDIF
ENDIF
IF ::HasScroll() .AND. ::Pos != NIL
IF ::nDispLen > 8
::nDispPos := Max( 1, Min( ::Pos - ::nDispLen + 4, ::nMaxLen - ::nDispLen + 1 ) )
ELSE
::nDispPos := Max( 1, Min( ::Pos - int( ::nDispLen / 2 ), ::nMaxLen - ::nDispLen + 1 ) )
ENDIF
ENDIF
IF xBuffer != NIL .and. ( lForced .or. ( ::nDispPos != ::nOldPos ) )
cDisplay := SubStr( xBuffer, ::nDispPos, ::nDispLen )
IF Len( cDisplay ) < ::nDispLen
/* 2007/MAY/18 - E.F. - Adjust display length
cDisplay := Padr( cDisplay, ::nDispLen ) */
cDisplay := Padr( cDisplay, Min(::nDispLen,::nMaxLen) )
ENDIF
// The get lost the focus. We need left-adjust the content buffer
// if "@B" was used.
//
IF ::Type=="N" .AND. ::lLeftJust .AND. !::HasFocus
cDisplay := Padr( Ltrim( cDisplay ), ::nDispLen )
ENDIF
/* 2007/MAY/19 - E.F. - Reduce display length at "@X","@C","@(" or "@)" picture and final value conditions */
IF ::Type=="N" .AND. !::lDispLenChanged .AND. !::HasFocus .and.;
::Changed .AND. !::Rejected .AND.;
::ExitState != NIL .AND. xBuffer != NIL .AND.;
::ExitState > GE_NOEXIT .AND. ::ExitState != GE_ESCAPE
/* 2007/SEP/24 - EF - Adjust buffer contents.
* if ( "X" IN ::cPicFunc .and. ::Untransform( xBuffer ) >= 0 ) .or.;
* ( "C" IN ::cPicFunc .and. ::Untransform( xBuffer ) < 0 )
*/
if ( "X" IN ::cPicFunc .and. ::Untransform( xBuffer ) >= 0 ) .or.;
( "C" IN ::cPicFunc .and. ::Untransform( xBuffer ) <= 0 )
nDispReduce := 3
endif
if ( "(" IN ::cPicFunc .OR. ")" IN ::cPicFunc .AND. ::Untransform( xBuffer ) >= 0 )
if ")" IN ::cPicFunc
cDisplay := StrTran( cDisplay, "("," ")
cDisplay := StrTran( cDisplay, ")"," ")
endif
nDispReduce := 1
endif
ENDIF
/* 2007/SEP/14 - E.F. - Display buffer content only if not object as
ListBox, CheckCob, PushButton or RadioGroup.
*/
#ifdef HB_COMPAT_C53
if Valtype( ::Control ) != "O"
#endif
DispOutAt( ::Row, ::Col + if( ::cDelimit == NIL, 0, 1 ),;
cDisplay,;
hb_ColorIndex( ::ColorSpec, iif( ::HasFocus, GET_CLR_ENHANCED, GET_CLR_UNSELECTED ) ), .T. )
if nDispReduce > 0
DispOutAt( ::Row, ::Col + if( ::cDelimit == NIL, 0, 1 ) + ::nDispLen,;
space(nDispReduce), hb_ColorIndex( ::ColorSpec, 4 ), .T. )
endif
if ! ( ::cDelimit == NIL )
DispOutAt( ::Row, ::Col, Substr( ::cDelimit, 1, 1), hb_ColorIndex( ::ColorSpec, iif( ::HasFocus, GET_CLR_ENHANCED, GET_CLR_UNSELECTED ) ), .T. )
DispOutAt( ::Row, ::Col + ::nDispLen + 1, Substr( ::cDelimit, 2, 1), hb_ColorIndex( ::ColorSpec, iif( ::HasFocus, GET_CLR_ENHANCED, GET_CLR_UNSELECTED ) ), .T. )
endif
#ifdef HB_COMPAT_C53
Endif
#endif
ENDIF
#ifdef HB_COMPAT_C53
/* 2007/SEP/14 - EF - The Caption below is only for plain get caption,
no object get. This display it's own ones.
*/
if Valtype( ::Control ) != "O"
#endif
IF !Empty( ::Caption )
cCaption := StrTran( ::Caption, "&", "" )
DispOutAt( ::Row, ::Col - Len( cCaption ) - 1, cCaption, cClrCap, .T. )
IF "&" $ ::Caption
DispOutAt( ::Row, ::Col - Len( cCaption ) - 2 + At( "&", ::Caption ), cCaption[At( "&", ::Caption )], cClrAcc, .T. )
ENDIF
ENDIF
#ifdef HB_COMPAT_C53
Endif
#endif
::nOldPos := ::nDispPos
IF ::Pos != NIL
nCol := ::Col + ::Pos - ::nDispPos + if( ::cDelimit == NIL, 0, 1 )
/* E.F. 2006/APRIL/13 - We need adjust cursor column position if user
* has pressed a dot or comma key in the numeric var that haven't
* decimal part.
*/
IF ::Type=="N" .AND. ::hasfocus .AND. (::DecPos=NIL .OR. ::DecPos > ::nMaxLen ) .AND. ( LastKey()=Asc(',') .OR. LastKey()=Asc('.') )
nCol := ::Col + ::nMaxLen - 1
::Left(.F.)
ENDIF
SetPos( ::Row, nCol )
ENDIF
SetCursor( nOldCursor )
HBConsoleUnlock()
return Self
//---------------------------------------------------------------------------//
METHOD End() CLASS Get
local nLastCharPos, nPos, nFor
if ::HasFocus != nil .and. ::HasFocus
/* 2006/JUN/03 - E.F. if cursor is already in last get value entered
* position +1, then go to the end display position.
*/
if ::Pos > ::FirstEditable() .and. ::IsEditable(::Pos) .and. ::Pos < ::nMaxEdit .and. empty( ::buffer[::Pos] )
::Pos := ::nMaxEdit
::TypeOut := .f.
::Clear := .f.
::Display( .f. )
return Self
endif
/**/
nLastCharPos := Min( Len( RTrim( ::buffer ) ) + 1, ::nMaxEdit )
if ::Pos != nLastCharPos
nPos := nLastCharPos
else
nPos := ::nMaxEdit
endif
for nFor := nPos to ::FirstEditable() step -1
/* 2006/JUN/02 - E.F. Adjust cursor positon to valid end position */
if ::IsEditable( nFor ) .and. !empty( ::buffer[nFor] )
nFor++
while !::IsEditable(nFor) .and. nFor < ::nMaxEdit
nFor++
end
::Pos := Min(nFor,::nMaxEdit)
exit
endif
/**/
next
/* 2006/JUN/02 - E.F. if cursor reach first editable position, then go to
* the end display position
*/
if ::Pos == ::FirstEditable()
::Pos := ::nMaxEdit
endif
/**/
::TypeOut := .f.
::Clear := .f.
::Display( .f. )
endif
return Self
//---------------------------------------------------------------------------//
METHOD Home() CLASS Get
if ::HasFocus
::Pos := ::FirstEditable()
::TypeOut := .f.
::Clear := .f.
::Display( .f. )
endif
return Self
//---------------------------------------------------------------------------//
METHOD Reset() CLASS Get
if ::hasfocus
::buffer := ::PutMask( ::VarGet(), .f. )
::Pos := ::FirstEditable()
::TypeOut := .f.
endif
return Self
//---------------------------------------------------------------------------//
METHOD Undo() CLASS Get
if ::hasfocus
/* E.F. 2006/APRIL/14 - reset ::minus flag if ::xVarGet was
* negative number but ::original value not.
*/
IF ::Type=="N" .AND. ::Original != NIL .AND. ::Original >= 0
::minus := .f.
ENDIF
::VarPut( ::Original, .t. )
::Pos := ::FirstEditable()
::UpdateBuffer() // 7/01/2004 9:44a.m. was ::Display()
::lUndo := .t.
endif
return Self
//---------------------------------------------------------------------------//
METHOD SetFocus() CLASS Get
local xVarGet
if !::HasFocus
xVarGet := ::VarGet() // In VarGet() is setting ::xVarGet
::hasfocus := .t.
::rejected := .f.
::typeout := .f.
/* FSG - 16/06/2006 - reset ::lUndo to false to avoid clearing of get in case of reuse of it */
::lUndo := .f.
::Original := xVarGet
::Type := ValType( xVarGet )
::Picture := ::cOrigPicture
::Buffer := ::PutMask( xVarGet, .f. )
::Changed := .f.
::Clear := ( "K" IN ::cPicFunc .or. ::type == "N")
//::nMaxLen := IIF( ::buffer == NIL, 0, Len( ::buffer ) )
::lEdit := .f.
::Pos := ::FirstEditable()
if ::Pos = 0
::TypeOut = .t.
endif
if ::type == "N"
::decpos := At( iif( ::lDecRev .or. "E" IN ::cPicFunc, ",", "." ), ::buffer )
if ::decpos == 0
::decpos := iif( ::buffer == NIL, NIL, Len( ::buffer ) + 1 )
endif
/* No, tested with clipper, ::minus .F. on ::setFocus of a negative variable get
::minus := ( xVarGet < 0 )
*/
::lMinusPrinted := ( xVarGet < 0 )
::minus := .F.
else
::decpos := NIL
::lMinusPrinted := ::minus := .f.
endif
if ::type == "D"
::BadDate := IsBadDate( ::buffer, ::cPicFunc )
else
::BadDate := .f.
endif
if ::buffer != NIL
if ::nDispLen == NIL .or. !::lDispLen
::nDispLen := ::nMaxLen
endif
::Display( .T. )
else
::Display()
endif
else
::Display()
endif
return Self
//---------------------------------------------------------------------------//
METHOD KillFocus() CLASS Get
if ::lEdit
::Assign()
endif
::hasfocus := .f.
// ::buffer := ::PutMask( )
::buffer := NIL
::Original := NIL
::Pos := NIL
::Display()
::xVarGet := NIL
::typeout := .f. /* Clipper compatible */
return Self
//---------------------------------------------------------------------------//
METHOD VarPut( xValue, lReFormat ) CLASS Get
LOCAL nCounter, aGetVar, aIndex, nDim
DEFAULT lReFormat TO .t.
if ::Block != nil .and. xValue != nil
IF ::SubScript == NIL
Eval( ::Block, xValue )
ELSE
aIndex := ::SubScript
nDim := Len( aIndex )
aGetVar := Eval( ::Block )
FOR nCounter := 1 TO nDim - 1
aGetVar := aGetVar[ aIndex[ nCounter ] ]
NEXT
aGetVar[ aIndex[ nCounter ] ] := xValue
ENDIF
if lReFormat
if !::hasfocus
::Original := xValue
endif
::Type := ValType( xValue )
::xVarGet := xValue
::lEdit := .f.
::Picture := ::cOrigPicture
endif
endif
return xValue
//---------------------------------------------------------------------------//
METHOD VarGet() CLASS Get
LOCAL xVarGet, aIndex, nDim, aGetVar, nCounter
LOCAL cVarGet, nDecPos, nLen, nDec
IF ! HB_IsBlock( ::Block )
::xVarGet := NIL
::Type := 'U'
RETURN NIL
ENDIF
IF ::SubScript == NIL
xVarGet := Eval( ::Block )
ELSE
aIndex := ::SubScript
nDim := Len( aIndex )
aGetVar := Eval( ::Block )
FOR nCounter := 1 TO nDim - 1
aGetVar := aGetVar[ aIndex[ nCounter ] ]
NEXT
xVarGet := aGetVar[ aIndex[ nCounter ] ]
ENDIF
::Type := ValType( xVarGet )
/* E.F. 2006/APR/12 - We need adjust get value in any circuntancies.
E.F. 2006/MAY/05 - Added ::hasfocus to maintain ::original value,if
we exit with ESC before start edit get. */
IF ::hasfocus .AND. ::Type == "N" .AND. ::nMaxLen != NIL .AND.;
::DecPos != NIL .AND. ::DecPos > 0 .AND. ::DecPos < ::nMaxLen
nDecPos := ::DecPos
IF !Empty(::cPicMask)
nLen := HowMuchNumeric(::cPicMask) + 1 + iif(::minus,1,0)
nLen := Min(nLen,Len(::cPicMask))
nDec := Len( ::cPicMask) - Rat(".",::cPicMask)
IF nDec >= nLen
nDec := 0
ENDIF
ELSEIF !Empty( ::cPicture)
nLen := HowMuchNumeric(::cPicture) + 1 + iif(::minus,1,0)
nLen := Min(nLen,Len(::cPicture))
nDec := Len( ::cPicture) - Rat(".",::cPicture)
IF nDec >= nLen
nDec := 0
ENDIF
ELSE
cVarGet := Str( xVarGet )
nDec := Len( cVarGet) - Rat(".",cVarGet)
IF nDec >= Len( cVarGet )
nDec := 0
ENDIF
nLen := 10 + iif(nDec>0,1,0) + nDec
ENDIF
cVarGet := Str( xVarGet, nLen, nDec )
// Insert "0" before decimal dot, if empty.
IF Empty( SubStr( cVarGet, 1, nDecPos-1) )
cVarGet := Stuff( cVarGet, nDecPos-1, 1, "0")
ENDIF
// Fill with zeros after decimal dot, if empty.
* daniel
* IF Len(cVarGet) > nDecPos .AND. Empty( SubStr( cVarGet, nDecPos+1 ) )
IF Len(cVarGet) > nDecPos .AND. ! Empty( cVarGet ) .AND. Empty( SubStr( cVarGet, nDecPos+1 ) )
cVarGet := Stuff( cVarGet, nDecPos+1, ::nMaxLen - nDecPos, replicate("0",::nMaxLen - nDecPos) )
ENDIF
xVarGet := Val( cVarGet )
// E.F. 2006/MAY/23 - Avoid minus flag if get value is zero.
IF xVarGet == 0
::minus := .f.
ENDIF
ENDIF
::xVarGet := xVarGet
RETURN xVarGet
//---------------------------------------------------------------------------//
METHOD Untransform( cBuffer ) CLASS Get
local xValue, lUntransform := .T.
local cChar
local nFor, nPad := 0
local cMaskDel := ""
DEFAULT cBuffer TO ::buffer
/*
*if !::lEdit
* return ::VarGet()
* endif
*/
if cBuffer == NIL
return NIL
endif
Switch ::type
case "C"
if "R" IN ::cPicFunc
For each cChar in ::cPicMask
cMaskDel += if( (cChar IN "ANX9#!"), " ", "X" )
Next
cBuffer := StrDel( cBuffer, cMaskDel )
* cBuffer += Substr( ::xVarGet, Len( cBuffer ) + 1 )
* daniel
if ::xVarGet != nil // Nuevo!
cBuffer += Substr( ::xVarGet, Len( cBuffer ) + 1 )
endif // Nuevo!
else
* cBuffer += SubStr( ::xVarGet, ::nMaxLen + 1 )
* daniel
if ::xVarGet != nil // Nuevo!
cBuffer += SubStr( ::xVarGet, ::nMaxLen + 1 )
endif // Nuevo!
endif
xValue := cBuffer
exit
case "N"
if "X" IN ::cPicFunc
if Right( cBuffer, 2 ) == "DB"
::minus := .t.
endif
endif
if ! ::minus
for nFor := 1 to ::nMaxLen
if ::IsEditable( nFor ) .and. IsDigit( SubStr( cBuffer, nFor, 1 ) )
exit
endif
if SubStr( cBuffer, nFor, 1 ) IN "-(" .and. SubStr( cBuffer, nFor, 1 ) != SubStr( ::cPicMask, nFor, 1 )
::minus := .t.
exit
endif
next
endif
/* 14/08/2004 - <maurilio.longo@libero.it>
* If there should be a decimal point (or comma) but this is missing
* re-add it. Clipper does it. A little sample is inside ChangeLog
* for this fix.
*/
if ::decPos < Len( cBuffer ) .and. Empty( cBuffer[ ::decPos ] ) .and. if( ::lDecRev, "," , "." ) IN ::cPicture
cBuffer[ ::decPos ] := if( "E" IN ::cPicFunc .or. ::lDecRev, ",", "." )
endif
cBuffer := Space( ::FirstEditable() - 1 ) + ;
SubStr( cBuffer, ::FirstEditable(), ::LastEditable() - ::FirstEditable() + 1 )
if "D" IN ::cPicFunc
for nFor := ::FirstEditable( ) to ::LastEditable( )
cMaskDel += if( ::IsEditable( nFor ), " ", "X" )
next
else
if "E" IN ::cPicFunc .or. ::lDecRev
cBuffer := Left( cBuffer, ::FirstEditable() - 1 ) + ;
StrTran( SubStr( cBuffer, ::FirstEditable( ), ;
::LastEditable( ) - ::FirstEditable( ) + 1 ), ;
".", " " ) +;
SubStr( cBuffer, ::LastEditable() + 1 )
cBuffer := Left( cBuffer, ::FirstEditable() - 1 ) + ;
StrTran( SubStr( cBuffer, ::FirstEditable( ), ;
::LastEditable( ) - ::FirstEditable( ) + 1 ), ;
",", "." ) + ;
SubStr( cBuffer, ::LastEditable() + 1 )
else
/*
* 2005/07/30 - Eduardo Fernandes <modalsist@yahoo.com.br>
* The two IFs below was disabled because cause wrong get value
* if we type a numeric var greater than 999 in the picture
* "@R 9,999.99".
* Added: lUntransform := ( "R" IN ::cPicFunc ) instead.
*
* if "R" IN ::cPicFunc
* lUntransform := Empty( ::buffer )
* endif
*
* if ":" IN ::cPicture
* lUntransform := .T.
* endif
*/
lUntransform := ( "R" IN ::cPicFunc )
if lUntransform
cBuffer := Left( cBuffer, ::FirstEditable() - 1 ) + ;
StrTran( SubStr( cBuffer, ::FirstEditable( ), ;
::LastEditable( ) - ::FirstEditable( ) + 1 ), ;
",", " " ) + ;
SubStr( cBuffer, ::LastEditable() + 1 )
endif
endif
/* Tony (ABC) 12/22/2005 3:53PM
* The mask to delete has to be created according to the whole buffer!!
* Because it is applied below as: cBuffer := StrDel( cBuffer, cMaskDel )
*/
for nFor := 1 to len(cBuffer)
// for nFor := ::FirstEditable( ) to ::LastEditable( )
cMaskDel += iif( ::IsEditable( nFor ) .or. SubStr( cBuffer, nFor, 1 ) == ".", " ", "X" )
if ::IsEditable( nFor ) .or. SubStr( cBuffer, nFor, 1 ) == "."
nPad ++
endif
next
endif
/* Tony (ABC) 12/22/2005 3:53PM
* I found that cMaskDel was shorter than cBuffer. Fixed bug.
*/
cBuffer := StrDel( cBuffer, cMaskDel )
cBuffer := StrTran( cBuffer, "$", " " )
cBuffer := StrTran( cBuffer, "*", " " )
cBuffer := StrTran( cBuffer, "-", " " )
cBuffer := StrTran( cBuffer, "(", " " )
cBuffer := StrTran( cBuffer, ")", " " )
cBuffer := PadL( StrTran( cBuffer, " ", "" ), nPad )
/* cBuffer := PadL( StrTran( cBuffer, " ", "" ), Len( cBuffer ) )
* It replace left, right and medium spaces.
* Don't replace for Alltrim()
* xValue := 0 + Val( cBuffer ) // 0 + ... avoids setting the
*/
/* 13/08/2004 - <maurilio.longo@libero.it>
* We're talking about a number and a few lines of code before this
* point ::minus is set to .T. if there is a "-(" inside number and
* a few lines after we make a Val(cBuffer), so, this buffer has to
* contain only numbers (and a "-" or ".", at max);
* that said, while there was this loop?
* I've replaced it with the iif( ::minus... ) which is shorter and
* evaluates correctly a buffer containing " -.10"
*
* if ::minus
* For each cChar in cBuffer
* if IsDigit( cChar )
* nFor := HB_EnumIndex()
* exit
* endif
* Next
* nFor--
* if nFor > 0
* cBuffer := Left( cBuffer, nFor-1 ) + "-" + SubStr( cBuffer, nFor+1 )
* else
* cBuffer := "-" + cBuffer
* endif
* endif
*/
/* 2006/JUN/07 - E.F. Adjust buffer string in case of var get without
* picture and empty buffer. Without this adjust, xValue returned will be
* 0 instead 0.0, 0.00, 0.000 if decimal point exist.
*/
if empty(::cPicture ) .and. empty( StrTran(cBuffer,".","" ) )
cBuffer := PadL( "0."+ replicate("0",::nMaxLen - ::Decpos), ::nMaxLen )
endif
xValue := iif( ::minus, -Val( cBuffer ), Val( cBuffer ) )
exit
case "L"
cBuffer := Upper( cBuffer )
xValue := "T" IN cBuffer .or. "Y" IN cBuffer .or. hb_langmessage( HB_LANG_ITEM_BASE_TEXT + 1 ) IN cBuffer
exit
case "D"
if "E" IN ::cPicFunc
//cBuffer := SubStr( cBuffer, 4, 3 ) + SubStr( cBuffer, 1, 3 ) + SubStr( cBuffer, 7 )
cBuffer := InvertDwM( cBuffer )
endif
xValue := CToD( cBuffer )
exit
end
return xValue
//---------------------------------------------------------------------------//
METHOD overstrike( cChar ) CLASS Get
if ::Type == "N" .and. ! ::lEdit .and. ::Clear
::Pos := ::FirstEditable()
endif
if ::Pos > ::nMaxEdit
::Rejected := .t.
return Self
endif
cChar := ::Input( cChar )
if cChar == ""
::Rejected := .t.
return Self
else
::Rejected := .f.
endif
if ::lUndo .OR. ( ::Clear .AND. ::Pos == ::FirstEditable() )
::DeleteAll()
::Clear := .f.
::lEdit := .f.
endif
if ! ::lEdit
::lEdit := .t.
//::buffer := ::PutMask( ::VarGet(), .t. )
endif
if ::Pos == 0
::Pos = 1
endif
do while ! ::IsEditable( ::Pos ) .and. ::Pos <= ::nMaxEdit
::Pos++
enddo
if ::Pos > ::nMaxEdit
::Pos := ::FirstEditable()
endif
::buffer := SubStr( ::buffer, 1, ::Pos - 1 ) + cChar + SubStr( ::buffer, ::Pos + 1 )
// To conform UPDATED() behaviour with that of Clipper
::Changed := .T.
// UPDATED() function previously did not return .T. even if a key press is
// accepted.
// ::Changed := ValType( ::Original ) != ValType( ::unTransform() ) .or.;
// !( ::unTransform() == ::Original )
::Right( .f. )
if ::type == "D"
::BadDate := IsBadDate( ::buffer, ::cPicFunc )
else
::BadDate := .f.
endif
::Display()
return Self
//---------------------------------------------------------------------------//
METHOD Insert( cChar ) CLASS Get
local n
local nMaxEdit := ::nMaxEdit
if ::Type == "N" .and. ! ::lEdit .and. ::Clear
::Pos := ::FirstEditable()
endif
if ::Pos > ::nMaxEdit
::Rejected := .t.
return Self
endif
cChar := ::Input( cChar )
if cChar == ""
::Rejected := .t.
return Self
else
::Rejected := .f.
endif
if ::lUndo .OR. ( ::Clear .AND. ::Pos == ::FirstEditable() )
::DeleteAll()
::Clear := .f.
::lEdit := .f.
endif
if ! ::lEdit
::lEdit := .t.
//::buffer := ::PutMask( ::VarGet(), .t. )
endif
if ::Pos == 0
::Pos = 1
endif
do while ! ::IsEditable( ::Pos ) .and. ::Pos <= ::nMaxEdit
::Pos++
enddo
if ::Pos > ::nMaxEdit
::Pos := ::FirstEditable()
endif
if ::lPicComplex
// Calculating diferent nMaxEdit for ::lPicComplex
for n := ::Pos to nMaxEdit
if !::IsEditable( n )
exit
endif
next
nMaxEdit := n
::buffer := Left( Substr( ::buffer, 1, ::Pos-1 ) + cChar +;
Substr( ::buffer, ::Pos, nMaxEdit-1-::Pos ) +;
Substr( ::buffer, nMaxEdit ), ::nMaxLen )
else
::buffer := Left( Substr( ::buffer, 1, ::Pos-1 ) + cChar + Substr( ::buffer, ::Pos ), ::nMaxEdit )
endif
// To conform UPDATED() behaviour with that of Clipper
::Changed := .T.
// UPDATED() function previously did not return .T. even if a key press is
// accepted.
// ::Changed := ValType( ::Original ) != ValType( ::unTransform() ) .or.;
// !( ::unTransform() == ::Original )
::Right( .f. )
if ::type == "D"
::BadDate := IsBadDate( ::buffer, ::cPicFunc )
else
::BadDate := .f.
endif
::Display()
return Self
//---------------------------------------------------------------------------//
METHOD _Right( lDisplay ) CLASS Get
local nPos
DEFAULT lDisplay TO .t.
if ! ::hasfocus
return Self
endif
::TypeOut := .f.
::Clear := .f.
if ::Pos == ::nMaxEdit
::TypeOut := .t.
return Self
endif
nPos := ::Pos + 1
do while ! ::IsEditable( nPos ) .and. nPos <= ::nMaxEdit
nPos++
Enddo
if nPos <= ::nMaxEdit
::Pos := nPos
else
::TypeOut := .t.
endif
if lDisplay
::Display( .f. )
endif
return Self
//---------------------------------------------------------------------------//
METHOD _Left( lDisplay ) CLASS Get
local nPos
DEFAULT lDisplay TO .t.
if ! ::hasfocus
return Self
endif
::TypeOut := .f.
::Clear := .f.
if ::Pos == ::FirstEditable()
::TypeOut := .t.
return Self
endif
nPos := ::Pos - 1
do while ! ::IsEditable( nPos ) .and. nPos > 0
nPos--
Enddo
if nPos > 0
::Pos := nPos
else
::TypeOut := .t.
endif
if lDisplay
::Display( .f. )
endif
return Self
//---------------------------------------------------------------------------//
METHOD WordLeft() CLASS Get
local nPos, nFirstEditable
if ! ::hasfocus
return Self
endif
::TypeOut := .f.
::Clear := .f.
nFirstEditable := ::FirstEditable()
if ::Pos == nFirstEditable
::TypeOut := .t.
return Self
endif
nPos := ::Pos
do while nPos > nFirstEditable .and. ( SubStr( ::buffer, nPos - 1, 1 ) == " " .or. ! ::IsEditable( nPos - 1 ) )
nPos--
enddo
do while nPos > nFirstEditable .and. ! ( SubStr( ::buffer, nPos - 1, 1 ) == " " .or. ! ::IsEditable( nPos - 1 ) )
nPos--
enddo
::Pos := nPos
::Display( .f. )
return Self
//---------------------------------------------------------------------------//
METHOD WordRight() CLASS Get
local nPos, nLastEditable
if ! ::hasfocus
return Self
endif
::TypeOut := .f.
::Clear := .f.
nLastEditable := ::LastEditable()
if ::Pos == nLastEditable
::TypeOut := .t.
return Self
endif
nPos := ::Pos
do while nPos < nLastEditable .and. ! ( SubStr( ::buffer, nPos, 1 ) == " " .or. ! ::IsEditable( nPos ) )
nPos++
enddo
do while nPos < nLastEditable .and. ( SubStr( ::buffer, nPos, 1 ) == " " .or. ! ::IsEditable( nPos ) )
nPos++
enddo
::Pos := nPos
::Display( .f. )
return Self
//---------------------------------------------------------------------------//
METHOD ToDecPos() CLASS Get
LOCAL xBuffer
if ! ::HasFocus .or. ::DecPos == NIL
return Self
endif
/* 2006/JUN/05 - E.F. Delete all only if we press dot or comma in a numeric
var. */
if ::Pos == ::FirstEditable() .and. ::Type == 'N' .and.;
( Lastkey()=asc('.') .or. Lastkey()==asc(',') )
::DeleteAll()
endif
::TypeOut := .f.
::Clear := .f.
::lEdit := .t.
xBuffer := ::UnTransform()
::Buffer := ::PutMask( xBuffer, .f. )
::Pos := ::DecPos + 1
::Display( .t. )
/* E.F. 2006/APRIL/12 - Re-entrance of buffer value to update ::xVarGet
* into VarGet()
*/
::VarPut( xBuffer, .t. )
return Self
//---------------------------------------------------------------------------//
METHOD IsEditable( nPos ) CLASS Get
local cChar
if Empty( ::cPicMask )
return .t.
endif
if ::nMaxEdit == NIL .or. nPos > ::nMaxEdit
return .f.
endif
cChar := UPPER( SubStr( ::cPicMask, nPos, 1 ) )
Switch ::type
case "C"
return cChar IN "!ANXLY9#"
case "N"
return cChar IN "9#$*"
case "D"
return cChar IN "9"
case "L"
return cChar IN "LY"
end
return .f.
//---------------------------------------------------------------------------//
METHOD Input( cChar ) CLASS Get
local cPic
Switch ::type
case "N"
Switch cChar
case "-"
/* 2006/JUN/07 - E.F. The minus sign can not be write in any place,
* instead, can be write up to 1 position before
* decimal point. Example: -.99 not -99 or 9.-9 or
* 9.9-
* Clipper allow it, but it's wrong.
*/
if ::decpos > 0 .and. ::Pos > ::decpos
::ToDecPos()
return ""
else
::minus := .t.
endif
exit
case "."
case ","
::ToDecPos()
return ""
case "0"
case "1"
case "2"
case "3"
case "4"
case "5"
case "6"
case "7"
case "8"
case "9"
exit
Default
return ""
end
exit
case "D"
if !( cChar IN "0123456789" )
return ""
endif
exit
case "L"
if !( Upper( cChar ) IN "YNTF"+hb_langmessage( HB_LANG_ITEM_BASE_TEXT + 1 )+hb_langmessage( HB_LANG_ITEM_BASE_TEXT + 2 ) )
return ""
endif
Do Case
case UPPER( cChar ) == hb_langmessage( HB_LANG_ITEM_BASE_TEXT + 1 )
cChar := "Y"
case UPPER( cChar ) == hb_langmessage( HB_LANG_ITEM_BASE_TEXT + 2 )
cChar := "N"
endcase
exit
end
if ! Empty( ::cPicFunc )
// Dirty HACK for solve the the "@RE" TRANSFORMation... "N" -> " /N / "
if "R" IN ::cPicFunc .AND. "E" IN ::cPicFunc
cChar := SubStr( Transform( cChar, ::cPicFunc ), 4, 1 ) // Needed for @RE
else
cChar := Left( Transform( cChar, ::cPicFunc ), 1 ) // Left needed for @D
endif
endif
if ! Empty( ::cPicMask )
cPic := Substr( ::cPicMask, ::Pos, 1 )
// cChar := Transform( cChar, cPic )
// Above line eliminated because some get picture template symbols for
// numeric input not work in text input. eg: $ and *
Switch cPic
case "A"
if ! IsAlpha( cChar )
cChar := ""
endif
exit
case "N"
if ! IsAlpha( cChar ) .and. ! IsDigit( cChar )
cChar := ""
endif
exit
case "9"
if ! IsDigit( cChar )
If cChar != "-" .OR. ::Type != "N"
cChar := ""
EndIf
endif
exit
case "#"
if ! IsDigit( cChar ) .and. !( cChar == " " ) .and. !( cChar IN ".+-" )
cChar := ""
endif
exit
case "L"
if !( Upper( cChar ) IN "YNTF"+;
hb_langmessage( HB_LANG_ITEM_BASE_TEXT + 1 )+;
hb_langmessage( HB_LANG_ITEM_BASE_TEXT + 2 ) )
cChar := ""
endif
exit
case "Y"
if !( Upper( cChar ) IN "YN" )
cChar := ""
endif
exit
case "$"
case "*"
if ::type == "N"
if ! IsDigit( cChar ) .and. cChar != "-"
cChar := ""
endif
else
cChar := Transform( cChar, cPic )
endif
exit
Default
cChar := Transform( cChar, cPic )
end
endif
return cChar
//---------------------------------------------------------------------------//
METHOD PutMask( xValue, lEdit ) CLASS Get
local cChar
local cBuffer
local cPicFunc
local cMask
local cMaskDel
local nFor
local nAt
local nNoEditable := 0
DEFAULT lEdit TO ::HasFocus
DEFAULT xValue TO ::UnTransform()
DEFAULT xValue TO ::xVarGet
DEFAULT xValue TO ::VarGet()
IF ::Type == NIL
::Type := ValType( xValue )
::Picture := ::cOrigPicture
ENDIF
cPicFunc := ::cPicFunc
cMask := ::cPicMask
DEFAULT cMask TO ""
if xValue == NIL .OR. ValType( xValue ) IN "AB"
::nMaxLen := 0
return NIL
endif
if ::HasFocus
cPicFunc := StrTran( cPicfunc, "B", "" )
if cPicFunc == "@"
cPicFunc := ""
endif
endif
if lEdit .and. ::lEdit
if ( "*" IN cMask ) .or. ( "$" IN cMask )
cMask := StrTran( StrTran( cMask, "*", "9" ), "$", "9" )
endif
endif
cBuffer := Transform( xValue, if( Empty( cPicFunc ), if( ::lCleanZero .and. !::HasFocus, "@Z ", "" ), cPicFunc + if( ::lCleanZero .and. !::HasFocus, "Z", "" ) + " " ) + cMask )
/* 2007/MAY/20 - E.F. */
::lDispLenChanged := ( ::Type=="N" .AND. ("DB" IN cBuffer .OR. "CR" IN cBuffer .OR. "(" IN cBuffer .OR. ")" IN cBuffer ) )
if ::type == "N"
if ::lDispLenChanged
if "(" IN cPicFunc .or. ")" IN cPicFunc
::nDispLenReduce := 1
if xValue >= 0
cBuffer := Padr( cBuffer, iif(::nMaxLen != NIL, ::nMaxLen, iif(cMask!=NIL,Len(cMask),10) ) )
endif
elseif "C" IN cPicFunc
::nDispLenReduce := 3
if xValue < 0
cBuffer := Padr( cBuffer, iif(::nMaxLen != NIL, ::nMaxLen, iif(cMask!=NIL,Len(cMask),10) ) )
endif
elseif "X" IN cPicFunc
::nDispLenReduce := 3
if xValue >= 0
cBuffer := Padr( cBuffer, iif(::nMaxLen != NIL, ::nMaxLen, iif(cMask!=NIL,Len(cMask),10) ) )
endif
endif
endif
::lMinusPrinted := ( xValue < 0 )
endif
::nMaxLen := Len( cBuffer )
::nMaxEdit := ::nMaxLen
if ::nDispLen == NIL .or. !::lDispLen
::nDispLen := ::nMaxLen
endif
if lEdit .and. ::type == "N" .and. ! Empty( cMask )
if "E" IN cPicFunc
cMask := Left( cMask, ::FirstEditable() - 1 ) + StrTran( SubStr( cMask, ::FirstEditable( ), ::LastEditable( ) - ::FirstEditable( ) + 1 ), ",", chr(1) ) + SubStr( cMask, ::LastEditable() + 1 )
cMask := Left( cMask, ::FirstEditable() - 1 ) + StrTran( SubStr( cMask, ::FirstEditable( ), ::LastEditable( ) - ::FirstEditable( ) + 1 ), ".", "," ) + SubStr( cMask, ::LastEditable() + 1 )
cMask := Left( cMask, ::FirstEditable() - 1 ) + StrTran( SubStr( cMask, ::FirstEditable( ), ::LastEditable( ) - ::FirstEditable( ) + 1 ), chr(1), "." ) + SubStr( cMask, ::LastEditable() + 1 )
endif
for each cChar in cMask
if cChar IN ",." .and. SubStr( cBuffer, HB_EnumIndex(), 1 ) IN ",."
cBuffer := Substr( cBuffer, 1, HB_EnumIndex() - 1 ) + cChar + Substr( cBuffer, HB_EnumIndex() + 1 )
endif
next
if ::lEdit .and. Empty(xValue)
cBuffer := StrTran(cBuffer, "0", " ")
endif
if ::lDecRev
cBuffer := Left( cBuffer, ::FirstEditable() - 1 ) + StrTran( SubStr( cBuffer, ::FirstEditable( ), ::LastEditable( ) - ::FirstEditable( ) + 1 ), ",", chr(1) ) + SubStr( cBuffer, ::LastEditable() + 1 )
cBuffer := Left( cBuffer, ::FirstEditable() - 1 ) + StrTran( SubStr( cBuffer, ::FirstEditable( ), ::LastEditable( ) - ::FirstEditable( ) + 1 ), ".", "," ) + SubStr( cBuffer, ::LastEditable() + 1 )
cBuffer := Left( cBuffer, ::FirstEditable() - 1 ) + StrTran( SubStr( cBuffer, ::FirstEditable( ), ::LastEditable( ) - ::FirstEditable( ) + 1 ), chr(1), "." ) + SubStr( cBuffer, ::LastEditable() + 1 )
endif
endif
/* 2007/MAY/20 - E.F. */
if ::type == "N"
if ::lDispLenChanged
if ( "(" IN ::cPicFunc .OR. ")" IN ::cPicFunc .OR.;
"C" IN ::cPicFunc .OR. "X" IN ::cPicFunc )
::nMaxEdit := ::nMaxLen - ::nDispLenReduce
endif
endif
/* 2006/OCT/28 - E.F. - fixed a bug when we set century on after set date
* and use get with picture "@E" in date variable.
* If ::type == "D" .and. ::BadDate .and. ::Buffer != nil
* cBuffer := ::Buffer
* Endif
*/
elseif ::type == "D"
If ::BadDate .and. ::Buffer != nil
cBuffer := ::Buffer
Elseif ::Buffer == NIL .and. "E" IN ::cPicFunc
cBuffer := InvertDwM( DtoC( xValue ) )
Endif
Endif
return cBuffer
//---------------------------------------------------------------------------//
METHOD BackSpace( lDisplay ) CLASS Get
local nPos := ::Pos, nMinus
DEFAULT lDisplay TO .t.
if nPos > 1 .and. nPos == ::FirstEditable() .and. ::minus
/* For delete the parenthesis (negative indicator) in a non editable position */
nMinus := At( "(", SubStr( ::buffer, 1, nPos-1 ) )
if nMinus > 0 .and. SubStr( ::cPicMask, nMinus, 1 ) != "("
::lEdit := .t.
::buffer := SubStr( ::buffer, 1, nMinus - 1 ) + " " +;
SubStr( ::buffer, nMinus + 1 )
::Changed := .T.
if lDisplay
::Display()
endif
return Self
endif
endif
::Left()
if ::Pos < nPos
::Delete( lDisplay )
endif
return Self
//---------------------------------------------------------------------------//
METHOD _Delete( lDisplay ) CLASS Get
LOCAL nMaxLen := ::nMaxLen, n
DEFAULT lDisplay TO .t.
::Clear := .f.
::lEdit := .t.
if ::lPicComplex
// Calculating diferent nMaxLen for ::lPicComplex
for n := ::Pos to nMaxLen
if !::IsEditable( n )
exit
endif
next
nMaxLen := n - 1
endif
if ::type == "N" .and. SubStr( ::buffer, ::Pos, 1 ) IN "(-"
::minus := .f.
endif
/* 2006/OCT/06 - E.F. Added new @K+ functionality to empty
* get buffer if first key pressed is DEL key.
*/
if "K+" IN ::cPicFunc .AND. ::Pos == ::FirstEditable()
::DeleteAll()
else
::buffer := PadR( SubStr( ::buffer, 1, ::Pos - 1 ) + ;
SubStr( ::buffer, ::Pos + 1, nMaxLen - ::Pos ) + " " +;
SubStr( ::buffer, nMaxLen + 1 ), ::nMaxLen )
endif
if ::type == "D"
::BadDate := IsBadDate( ::buffer, ::cPicFunc )
else
::BadDate := .f.
endif
::Changed := .T.
if lDisplay
::Display()
endif
return Self
//---------------------------------------------------------------------------//
PROCEDURE DeleteAll() CLASS Get
local xValue
::lEdit := .t.
::lUndo := .f.
Switch ::type
case "C"
xValue := Space( ::nMaxlen )
exit
case "N"
xValue := 0
::minus := .f.
exit
case "D"
xValue := CToD( "" )
::BadDate := .f.
exit
case "L"
xValue := .f.
exit
end
::buffer := ::PutMask( xValue, .t. )
::Pos := ::FirstEditable()
/* E.F. 2006/APRIL/14 - Clipper show all commas and dots of '@E','@R'
* masks of numeric vars, into display edit buffer after first key number
* is entered.
* E.F. 2006/MAY/31 - Idem for numeric mask without '@E' or '@R' as
* pict '999,999,999.99' also.
*/
IF ::type=="N" .AND. ::buffer != NIL .AND. !empty(::cPicture) .AND.;
("," IN ::cPicture .AND. "." IN ::cPicture)
IF "R" IN ::cPicFunc .AND. !("E" IN ::cPicFunc) .OR. Empty( ::cPicFunc )
::buffer := StrTran(::buffer, ".", "" )
::buffer := StrTran(::buffer, ",", "" )
::buffer := Transform( ::buffer, ::cPicture )
ELSEIF "E" IN ::cPicFunc
IF "R" IN ::cPicFunc
::buffer := Transform( ::buffer, ::cPicMask )
ELSE
::buffer := Transform( ::buffer, ::cPicture )
ENDIF
::buffer := StrTran(::buffer, ".", chr(1) )
::buffer := StrTran(::buffer, ",", "." )
::buffer := StrTran(::buffer, chr(1), "," )
ENDIF
ENDIF
return
//---------------------------------------------------------------------------//
METHOD DelEnd() CLASS Get
local nPos := ::Pos
if ! ::hasfocus
return Self
endif
::Pos := ::nMaxEdit
::Delete( .f. )
do while ::Pos > nPos
::BackSpace( .f. )
enddo
::Display()
return Self
//---------------------------------------------------------------------------//
METHOD DelLeft() CLASS Get
::Left( .f. )
::Delete( .f. )
::Right()
return Self
//---------------------------------------------------------------------------//
METHOD DelRight() CLASS Get
::Right( .f. )
::Delete( .f. )
::Left()
return Self
//---------------------------------------------------------------------------//
METHOD DelWordLeft() CLASS Get
if ! ::hasfocus
return Self
endif
::WordLeft()
::DelWordRight()
return Self
//---------------------------------------------------------------------------//
METHOD DelWordRight() CLASS Get
local nCount, nPos
if ! ::hasfocus
return Self
endif
::TypeOut := .f.
::Clear := .f.
if ::Pos == ::nMaxEdit
::TypeOut := .t.
return Self
endif
// Counts how many characters must be deleted
nPos := ::Pos
nCount := 0
do while nPos <= ::nMaxEdit .and. ! SubStr( ::buffer, nPos, 1 ) == " " .and. ::IsEditable( nPos )
nPos++
nCount++
enddo
do while nPos <= ::nMaxEdit .and. SubStr( ::buffer, nPos, 1 ) == " " .and. ::IsEditable( nPos )
nPos++
nCount++
enddo
do while nCount > 0
::Delete( .f. )
nCount--
Enddo
::Display()
return Self
//---------------------------------------------------------------------------//
/* The METHOD ColorSpec and DATA cColorSpec allow to replace the
* property ColorSpec for a function to control the content and
* to carry out certain actions to normalize the data.
* The particular case is that the function receives a single color and
* be used for GET_CLR_UNSELECTED and GET_CLR_ENHANCED.
*
// QUESTIONS, is realy necessary this method? the ::colorspec generated was
not clipper 5.x compatible, and also was not respecting SET INTENSITY
*/
METHOD SetColorSpec( cColorSpec ) CLASS Get
// local cClrUnSel, cClrEnh
if cColorSpec != NIL
/* cClrUnSel := iif( !Empty( hb_ColorIndex( cColorSpec, GET_CLR_UNSELECTED ) ),;
hb_ColorIndex( cColorSpec, GET_CLR_UNSELECTED ),;
hb_ColorIndex( SetColor(), GET_CLR_UNSELECTED ) )
cClrEnh := iif( !Empty( hb_ColorIndex( cColorSpec, GET_CLR_ENHANCED ) ),;
hb_ColorIndex( cColorSpec, GET_CLR_ENHANCED ),;
cClrUnSel )
*/
::cColorSpec := buildGetColor(cColorSpec)
endif
return ::cColorSpec
//---------------------------------------------------------------------------//
/* The METHOD Picture and DATA cPicture allow to replace the
* property Picture for a function to control the content and
* to carry out certain actions to normalize the data.
* The particular case is that the Picture is loaded later on
* to the creation of the object, being necessary to carry out
* several tasks to adjust the internal data of the object.
*/
METHOD SetPicture( cPicture ) CLASS Get
if cPicture != NIL
::nDispLen := NIL
::cPicture := cPicture
::ParsePict( cPicture )
if ::nDispLen == NIL .or. !::lDispLen
::nDispLen := ::nMaxLen
endif
//if empty( ::cOrigPicture )
if !(::cOrigPicture == cPicture)
::cOrigPicture := cPicture
endif
endif
return ::cPicture
//---------------------------------------------------------------------------//
#ifdef HB_COMPAT_C53
METHOD HitTest( mRow, mCol ) CLASS GET
IF ( Valtype( ::Control ) == "O" )
Return ::Control:HitTest( mRow, mCol )
ENDIF
IF ::Row != mRow
return HTNOWHERE
ENDIF
IF ::nDispLen == NIL
::nDispLen := 1
ENDIF
IF mCol >= ::Col .AND. mCol <= ::Col + ::nDispLen + IIF( ::cDelimit == NIL, 0, 2 )
return HTCLIENT
ENDIF
return HTNOWHERE
#endif
//---------------------------------------------------------------------------//
METHOD FirstEditable( ) CLASS GET
Local nFor
If ::nMaxLen != NIL
If ::IsEditable( 1 )
return 1
Endif
For nFor := 2 to ::nMaxLen
If ::IsEditable( nFor )
Return nFor
Endif
Next
Endif
::TypeOut := .t.
Return 0
//---------------------------------------------------------------------------//
METHOD LastEditable( ) CLASS GET
Local nFor
If ::nMaxLen != NIL
For nFor := ::nMaxLen to 1 step -1
If ::IsEditable( nFor )
Return nFor
Endif
Next
Endif
::TypeOut := .t.
Return 0
//---------------------------------------------------------------------------//
/*
*STATIC FUNCTION IsBadDate( cBuffer, cPicFunc )
*
* local nFor, nLen
*
* if "E" IN cPicFunc
* cBuffer := InvertDwM( cBuffer )
* endif
*
* If !Empty( Ctod( cBuffer ) )
* return .f.
* Endif
*
* nLen := len( cBuffer )
*
* For nFor := 1 to nLen
* If IsDigit( Substr( cBuffer, nFor, 1 ) )
* return .t.
* Endif
* Next
*
* return .f.
*/
STATIC FUNCTION IsBadDate( cBuffer, cPicFunc )
LOCAL cBuffer2
If Empty( cBuffer )
return .F.
Endif
If "E" IN cPicFunc
cBuffer := InvertDwM( cBuffer )
Endif
cBuffer2 := StrTran( cBuffer,"/","")
cBuffer2 := StrTran( cBuffer2,"-","")
cBuffer2 := StrTran( cBuffer2,".","")
If Empty( cBuffer2 )
return .F.
Endif
If Empty( CtoD( cBuffer ) )
return .T.
Endif
RETURN .F.
STATIC FUNCTION InvertDwM( cDate )
/* 2003/03/25 - Eduardo Fernandes <modalsist@yahoo.com.br>
Invert day with month to date format if "@E" picture is used.*/
IF SubStr( SET(_SET_DATEFORMAT),1,2) == "yy" // set date ANSI and JAPAN
IF __SetCentury()
cDate := SubStr( cDate, 1, 5 ) + SubStr( cDate, 9, 2 ) + SubStr( cDate, 8, 1 ) + SubStr( cDate, 6, 2 )
ELSE
cDate := SubStr( cDate, 1, 3 ) + SubStr( cDate, 7, 2 ) + SubStr( cDate, 6, 1 ) + SubStr( cDate, 4, 2 )
ENDIF
ELSE // all others set date
cDate := SubStr( cDate, 4, 3 ) + SubStr( cDate, 1, 3 ) + SubStr( cDate, 7 )
ENDIF
RETURN cDate
/*
*static procedure AnalyzePicture( cPicture )
* Local cChar, lS := .f.
*
* For each cChar in Substr( cPicture, 2 )
* do case
* case cChar == "S"
* lS := .t.
* case cChar $ "!()L0ABCDEKRXZ"
* lS := .f.
* case cChar $ "0123456789" .and. lS
* other
* cPicture := Left( cPicture, HB_EnumIndex() )
* endcase
* Next
*Return
*/
STATIC FUNCTION BuildGetColor( cColorSpec )
Local cCur
Local aTokens
If ! ValType( cColorSpec ) == "C"
cColorSpec := Nil // Clipper compatibility
Endif
cCur := SetColor()
If Set( _SET_INTENSITY )
Default cColorSpec To __guiColor( cCur, CLR_UNSELECTED + 1 ) +","+;
__guiColor( cCur, CLR_ENHANCED + 1 ) +","+;
__guiColor( cCur, CLR_STANDARD + 1 ) +","+;
__guiColor( cCur, CLR_BACKGROUND + 1 )
Else
Default cColorSpec To __guiColor( cCur, CLR_STANDARD + 1 )
Endif
/* NOTE */
aTokens := HB_ATOKENS( cCur := Upper( cColorSpec ), "," )
If Len( aTokens ) == 1
cColorSpec := cCur + Replicate( "," + cCur, 3 ) |
xharbour cvs + fivewin 8.01 = GPF ? | Daniel,
Envíame el PRG modificado por email, gracias |
xharbour cvs + fivewin 8.01 = GPF ? | acabei de evniar por e-mail se puder compilar o contrib agradeço pois uso algumas lib´s do contrib
gtwvw
what32
muito obrigado |
xharbour cvs + fivewin 8.01 = GPF ? | Daniel,
Descarga el build actual de FiveTech de xHarbour desde:
<!-- w --><a class="postlink" href="http://www.fivetechsoft.com/files/xharbour.exe">www.fivetechsoft.com/files/xharbour.exe</a><!-- w -->
y reemplaza rtl.lib con esta librería:
<!-- m --><a class="postlink" href="http://rapidshare.com/files/99447785/rtl.zip.html">http://rapidshare.com/files/99447785/rtl.zip.html</a><!-- m -->
contiene la clase TGet que nos has enviado |
xharbour cvs + fivewin 8.01 = GPF ? | ola contem somente as alterações ?
com o seu tget.prg voce so fez as modificações certo ?
consegui compilar a lib e funcionou com o cvs
assim que chegar em minha cidade de origem devo entrar em contato com o gilmer revendedor do brasil
obrigado pela ajuda e dedicação |
xharbour cvs and fwh711 | hi, i try compile xharbour cvs (05/11/2007) and fwh711, and receive gpf error, i see in fivetechs distro of xharbour is dated 09/2007, theres some issue?? thanks |
xharbour cvs and fwh711 | Norberto,
Where the GPF comes from ? Do you get a callstack ? |
xharbour cvs and fwh711 | Antonio, is something related with rddads, i compile again with cvs from 30/10/07, and now works... but cvs after this , in init of appl cause an gpf, now i try to compile last cvs with rddads old to see if work. thanks |
xharbour cvs and fwh711 | Afaik there is a pending bug with RddAds that they were working to fix |
xharbour cvs and fwh711 | something here?? ==>
2007-11-05 06:25 UTC-0500 Ron Pinkas <ron/at/xharbour.com>
* contrib/rdd_ads/ads1.c
* Typos |
xharbour cvs and fwh711 | Norberto,
Can't tell you for sure. We need to check it again, |
xharbour cvs is broken.../? | as subject. |
xharbour cvs is broken.../? | xhabrour migratio to svn
[code=fw:m21pm0i2]<div class="fw" id="{CB}" style="font-family: monospace;"><br />svn co https:<span style="color: #B900B9;">//xhrb.svn.sourceforge.net/svnroot/xhrb xhrb </span><br /> </div>[/code:m21pm0i2] |
xharbour cvs is broken.../? | Details at <!-- m --><a class="postlink" href="http://groups.google.com/group/comp.lang.xharbour/browse_thread/thread/35a6dce9e6fb26ca#">http://groups.google.com/group/comp.lan ... 9e6fb26ca#</a><!-- m --> |
xharbour en modo consola... | Saludos,
Estoy tratando de hacer una aplicacion para que me corra en modo consola, pero no he encontrado la forma de hacerlo.
Osea, los scripts necesarios.
uso los que trae el xharbour y me dan un monton de erros.
si me pueden ayudar les agradecere...
Gracias |
xharbour en modo consola... | No necesitas absolutamente nada. Solo linkear la lib GTGUI y listo.
Si manejas tu proyecto con XEdit, XMate, AJMake, o incluso con el mismo HBMake puedes generar el exe en modo consola sin ningun problema.
No utilices VerCE porque siempre linkea las libs de FW y no puedes generar un exe para modo consola. |
xharbour en modo consola... | René,
Para modo consola necesita GTWIN.lib en vez de GTGUI.lib |
xharbour en modo consola... | Cierto, confusión de GTs, es GTWIN como bien dices. |
xharbour en modo consola... | Gracias por todo, lo voy a probar y luego les cuento... |
xharbour en modo consola... | saludos, Retomando el hilo de esto, ya tengo la aplicacion en modo consola, trabajando en WinVista. Hasta ahi todo bien. Ahora necesito compilar eso mismo pero en linux. He encontrado varios ejemplos de script, pero no me dan bien. En linux Tengo Ubuntu 7.10 Gutsy Gibbon de Octubre 2007, el xharbour lo tengo bien instalador, por que compilo el "Hola Mundo" y lo ejecuto con [b:ab50629g]hbrun[/b:ab50629g]. Si alguien tiene un scrip que sea facilmente adaptable os agradeceria. |
xharbour en modo consola... | Pablo,Aqui tienes uno que te puede ser util:<!-- m --><a class="postlink" href="http://forums.fivetechsoft.com/viewtopic.php?t=10092">http://forums.fivetechsoft.com/viewtopic.php?t=10092</a><!-- m --> |
xharbour en modo consola... | Gracias Antonio...Voy a probar |
xharbour en modo consola... | Ok, Antonio, ya puedo puedo compilar, pero No me sale nada en pantalla.hello.prg[code:1baytu6l]
function Main()
@ 10, 10 Say "Hola Mundo"
Return Nil[/code:1baytu6l]
buildx.sh
[code:1baytu6l]./buildx.sh
clear
echo compiling...
/xharbour/bin/harbour $1 -n -m -I/usr/include -I/xharbour/include $2
echo compiling C module...
gcc $1.c -c -I/usr/include -I/xharbour/include
echo linking...
#gcc $1.o -o$1 -L/usr/lib -L/xharbour/lib -Wl,--start-group -lcommon -lvm -lrtl -lrdd -lmacro -llang -lcodepage -lpp -ldbfntx -ldbfcdx -ldbffpt -lhbsix -lhsx -lpcrepos -lusrrdd -ltip -lct -lcgi -lhbodbc -ldebug -lm -Wl,--end-group
gcc $1.o -o$1 -L/usr/lib -L/xharbour/lib -Wl,--start-group -lcommon -lvm -lrtl -lrdd -lmacro -llang -lcodepage -lpp -ldbfntx -ldbfcdx -ldbffpt -lhbsix -lhsx -lpcrepos -lusrrdd -ltip -lct -lcgi -lgtnul -lgtstd -lgtcgi -lgtcrs -lm -lncurses -Wl,--end-group
rm $1.c
rm $1.o
echo done!
./$1 [/code:1baytu6l]Agrege esta libreria -lgtsln |
xharbour en modo consola... | Prueba con otras librerías gt... |
xharbour en modo consola... | Antonio, Ok he logrado compilar, pero la salida que me da es algo raro, no se queda y no asume los colores, ni ejecuta bien los menues. |
xharbour en modo consola... | Pablo,Prueba con otras librerías gt... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xharbour en modo consola... | Hola, Antonio.Despues de par de dias provando ya he logrado compilar y tener todo como va. Gracias The Full. Lo unico que me falta es crear la tmysql en linux. Si alguien sabe lo agradeceria.Uso: Linux Fedora Core 8 y xHarbour 0.99.70 y Mysql 5.45 |
xharbour en modo consola... | [quote="pablovidal":wsv3jd4n]Hola, Antonio.
Despues de par de dias provando ya he logrado compilar y tener todo como va. Gracias The Full.
Lo unico que me falta es crear la tmysql en linux. Si alguien sabe lo agradeceria.
Uso: Linux Fedora Core 8 y xHarbour 0.99.70 y Mysql 5.45[/quote:wsv3jd4n]No se si lo dices con cierto tono irónico, pero no me has contestado al mail que te envié , sobre que es lo que te hacia falta.Si no es tono irónico, me alegro que al final lo hallas solucionado. |
xharbour en modo consola... | No Imposible.... Nunca en la vida... Lo que paso, fue que al solucionarlo, se me olvido repondete. ESTOY TOTALMENTE AGRADECIDO por haber respondido. mi pedido. Muy humildemente te pido disculpa Rafa. |
xharbour en modo consola... | Pues en ese caso, me alegro <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> que se te haya solucionado! |
xharbour error svn locked | HI, xharbour after 12/07/2012 have error on download svn, all then related to this folder :
xharbour\contrib\hblzf
after this commit:
2012-07-12 07:40 UTC-0300 Luiz Rafael Culik <luiz at xharbour.com.br>
! contrib/hblfz/lzfP.h
! fixed for work in linux
svn says about locked folder or typo, someone have svn developer access to solve this?
im using this command:
svn.exe co <!-- m --><a class="postlink" href="https://xharbour.svn.sourceforge.net/svnroot/xharbour/trunk/xharbour">https://xharbour.svn.sourceforge.net/sv ... k/xharbour</a><!-- m --> xharbour
and worked fine until 12/07.
very thanks |
xharbour error svn locked | Norberto,
Have you posted in <!-- m --><a class="postlink" href="https://groups.google.com/forum/?fromgroups#!forum/comp.lang.xharbour">https://groups.google.com/forum/?fromgr ... g.xharbour</a><!-- m --> ?.
Hope their developers could help you.
Also, Mr. Enrico is very active on xHarbour community. Maybe he also could help.
Best regards, |
xharbour error svn locked | Sorry, but it works fine here (using TortoiseSVN).
EMG |
xharbour error svn locked | Enrico, i try with tortoise and work fine. thanks |
xharbour error svn locked | error download svn xharbour, i try a clean download.
[quote:2s3y0ci6]
d:\misapp\ultimo>svn co <!-- m --><a class="postlink" href="https://xharbour.svn.sourceforge.net/svnroot/xharbour/tr">https://xharbour.svn.sourceforge.net/sv ... harbour/tr</a><!-- m -->
unk/xharbour xharbour
svn: Working copy 'xharbour' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
[/quote:2s3y0ci6] |
xharbour error svn locked | [url:rpt8qz4q]http://code.google.com/p/fivewin-contributions/downloads/detail?name=svn_2.zip&can=2&q=[/url:rpt8qz4q]
thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xharbour error svn locked | solved, using svn last version and clean download
[url:3eil50l7]http://www.donboscocorp.com/carlos/svn.zip[/url:3eil50l7]
Antonio, please update svn.
<!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
salu2
carlos vargas |
xharbour from xharbour.com and fwh aug release Problems | When I try to make fwh samples I get the following error file.
What do I have to do ?
Thanks Mike.
Type: C >>>xhb.exe -o"bigfold.c" -m -n -w -p -q -gc0 -I"C:\FWH\INCLUDE" -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "bigfold.prg"<<<
xHarbour Compiler build 0.99.61 (SimpLex)
Copyright 1999-2006, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Generating object output to 'bigfold.obj'...
Type: C >>>xrc.exe -fo"bigfold.res" -i"C:\FWH\INCLUDE" -I"C:\xHB\c_include" -I"C:\xHB\c_include\win" "bigfold.rc"<<<
xRC: C:\xHB\include\wintypes.ch(19): warning: Unknown preprocessor control: 'Ifndef'.
xRC: C:\xHB\include\wintypes.ch(76): error: #endif with no #if.
xRC: C:\xHB\include\cstruct.ch(87): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(90): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\cstruct.ch(91): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\cstruct.ch(94): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(103): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(106): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(108): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(111): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(115): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(116): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\cstruct.ch(117): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\cstruct.ch(129): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(134): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\cstruct.ch(135): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\cstruct.ch(137): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(138): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\cstruct.ch(140): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\cstruct.ch(141): warning: Unknown preprocessor control: 'xtranslate'.
xRC: C:\xHB\include\wintypes.ch(76): error: File not found: '#endif'.
xRC: C:\xHB\include\winuser.ch(1): error: File not found: 'from'.
xRC: C:\xHB\include\winuser.ch(1): error: File not found: 'hConvert.EXE'.
xRC: C:\xHB\include\winuser.ch(2): error: File not found: 'Wise'.
xRC: C:\xHB\include\winuser.ch(2): error: File not found: 'Wos'.
xRC: C:\xHB\include\winuser.ch(3): error: File not found: ''.
xRC: C:\xHB\include\winuser.ch(3): error: File not found: 'any'.
xRC: C:\xHB\include\winuser.ch(3): error: File not found: 'is'.
xRC: C:\xHB\include\winuser.ch(3): error: File not found: 'implied.'.
xRC: C:\xHB\include\winuser.ch(4): error: File not found: 'recommended'.
xRC: C:\xHB\include\winuser.ch(4): error: File not found: 'the'.
xRC: C:\xHB\include\winuser.ch(4): error: File not found: 'the'.
xRC: C:\xHB\include\winuser.ch(4): error: File not found: 'use.'.
xRC: C:\xHB\include\winuser.ch(1623): warning: Macro redefinition of 'WS_OVERLAPPED'.
xRC: C:\xHB\include\winuser.ch(1625): warning: Macro redefinition of 'WS_POPUP'.
xRC: C:\xHB\include\winuser.ch(1626): warning: Macro redefinition of 'WS_CHILD'.
xRC: C:\xHB\include\winuser.ch(1627): warning: Macro redefinition of 'WS_MINIMIZE'.
xRC: C:\xHB\include\winuser.ch(1628): warning: Macro redefinition of 'WS_VISIBLE'.
xRC: C:\xHB\include\winuser.ch(1629): warning: Macro redefinition of 'WS_DISABLED'.
xRC: C:\xHB\include\winuser.ch(1630): warning: Macro redefinition of 'WS_CLIPSIBLINGS'.
xRC: C:\xHB\include\winuser.ch(1631): warning: Macro redefinition of 'WS_CLIPCHILDREN'.
xRC: C:\xHB\include\winuser.ch(1632): warning: Macro redefinition of 'WS_MAXIMIZE'.
xRC: C:\xHB\include\winuser.ch(1633): warning: Macro redefinition of 'WS_CAPTION'.
xRC: C:\xHB\include\winuser.ch(1634): warning: Macro redefinition of 'WS_BORDER'.
xRC: C:\xHB\include\winuser.ch(1635): warning: Macro redefinition of 'WS_DLGFRAME'.
xRC: C:\xHB\include\winuser.ch(1636): warning: Macro redefinition of 'WS_VSCROLL'.
xRC: C:\xHB\include\winuser.ch(1637): warning: Macro redefinition of 'WS_HSCROLL'.
xRC: C:\xHB\include\winuser.ch(1638): warning: Macro redefinition of 'WS_SYSMENU'.
xRC: C:\xHB\include\winuser.ch(1639): warning: Macro redefinition of 'WS_THICKFRAME'.
xRC: C:\xHB\include\winuser.ch(1640): warning: Macro redefinition of 'WS_GROUP'.
xRC: C:\xHB\include\winuser.ch(1641): warning: Macro redefinition of 'WS_TABSTOP'.
xRC: C:\xHB\include\winuser.ch(1643): warning: Macro redefinition of 'WS_MINIMIZEBOX'.
xRC: C:\xHB\include\winuser.ch(1644): warning: Macro redefinition of 'WS_MAXIMIZEBOX'.
xRC: C:\xHB\include\winuser.ch(1655): warning: Macro redefinition of 'WS_OVERLAPPEDWINDOW'.
xRC: C:\xHB\include\winuser.ch(1662): warning: Macro redefinition of 'WS_POPUPWINDOW'.
xRC: C:\xHB\include\winuser.ch(1666): warning: Macro redefinition of 'WS_CHILDWINDOW'.
xRC: C:\xHB\include\winuser.ch(1671): warning: Macro redefinition of 'WS_EX_DLGMODALFRAME'.
xRC: C:\xHB\include\winuser.ch(1672): warning: Macro redefinition of 'WS_EX_NOPARENTNOTIFY'.
xRC: C:\xHB\include\winuser.ch(1673): warning: Macro redefinition of 'WS_EX_TOPMOST'.
xRC: C:\xHB\include\winuser.ch(1674): warning: Macro redefinition of 'WS_EX_ACCEPTFILES'.
xRC: C:\xHB\include\winuser.ch(1675): warning: Macro redefinition of 'WS_EX_TRANSPARENT'.
xRC: C:\xHB\include\winuser.ch(1677): warning: Macro redefinition of 'WS_EX_MDICHILD'.
xRC: C:\xHB\include\winuser.ch(1678): warning: Macro redefinition of 'WS_EX_TOOLWINDOW'.
xRC: C:\xHB\include\winuser.ch(1679): warning: Macro redefinition of 'WS_EX_WINDOWEDGE'.
xRC: C:\xHB\include\winuser.ch(1680): warning: Macro redefinition of 'WS_EX_CLIENTEDGE'.
xRC: C:\xHB\include\winuser.ch(1681): warning: Macro redefinition of 'WS_EX_CONTEXTHELP'.
xRC: C:\xHB\include\winuser.ch(1683): warning: Macro redefinition of 'WS_EX_RIGHT'.
xRC: C:\xHB\include\winuser.ch(1684): warning: Macro redefinition of 'WS_EX_LEFT'.
xRC: C:\xHB\include\winuser.ch(1685): warning: Macro redefinition of 'WS_EX_RTLREADING'.
xRC: C:\xHB\include\winuser.ch(1686): warning: Macro redefinition of 'WS_EX_LTRREADING'.
xRC: C:\xHB\include\winuser.ch(1687): warning: Macro redefinition of 'WS_EX_LEFTSCROLLBAR'.
xRC: C:\xHB\include\winuser.ch(1688): warning: Macro redefinition of 'WS_EX_RIGHTSCROLLBAR'.
xRC: C:\xHB\include\winuser.ch(1690): warning: Macro redefinition of 'WS_EX_CONTROLPARENT'.
xRC: C:\xHB\include\winuser.ch(1691): warning: Macro redefinition of 'WS_EX_STATICEDGE'.
xRC: C:\xHB\include\winuser.ch(1692): warning: Macro redefinition of 'WS_EX_APPWINDOW'.
xRC: C:\xHB\include\winuser.ch(1695): warning: Macro redefinition of 'WS_EX_OVERLAPPEDWINDOW'.
xRC: C:\xHB\include\winuser.ch(1696): warning: Macro redefinition of 'WS_EX_PALETTEWINDOW'.
xRC: C:\xHB\include\winuser.ch(1701): warning: Macro redefinition of 'WS_EX_LAYERED'.
xRC: C:\xHB\include\winuser.ch(1706): warning: Macro redefinition of 'WS_EX_NOINHERITLAYOUT'.
xRC: C:\xHB\include\winuser.ch(1707): warning: Macro redefinition of 'WS_EX_LAYOUTRTL'.
xRC: C:\xHB\include\winuser.ch(1711): warning: Macro redefinition of 'WS_EX_NOACTIVATE'.
xRC: C:\xHB\include\winuser.ch(1656): error: Addition is not allowed.
xRC: C:\xHB\include\winuser.ch(1657): error: Addition is not allowed.
xRC: C:\xHB\include\winuser.ch(1658): error: Addition is not allowed.
xRC: C:\xHB\include\winuser.ch(1659): error: Addition is not allowed.
xRC: C:\xHB\include\winuser.ch(1663): error: File not found: ''.
xRC: C:\xHB\include\winuser.ch(3977): warning: Macro redefinition of 'MF_INSERT'.
xRC: C:\xHB\include\winuser.ch(3978): warning: Macro redefinition of 'MF_CHANGE'.
xRC: C:\xHB\include\winuser.ch(3979): warning: Macro redefinition of 'MF_APPEND'.
xRC: C:\xHB\include\winuser.ch(3980): warning: Macro redefinition of 'MF_DELETE'.
xRC: C:\xHB\include\winuser.ch(3981): warning: Macro redefinition of 'MF_REMOVE'.
xRC: C:\xHB\include\winuser.ch(3983): warning: Macro redefinition of 'MF_BYCOMMAND'.
xRC: C:\xHB\include\winuser.ch(3984): warning: Macro redefinition of 'MF_BYPOSITION'.
xRC: C:\xHB\include\winuser.ch(3986): warning: Macro redefinition of 'MF_SEPARATOR'.
xRC: C:\xHB\include\winuser.ch(3988): warning: Macro redefinition of 'MF_ENABLED'.
xRC: C:\xHB\include\winuser.ch(3989): warning: Macro redefinition of 'MF_GRAYED'.
xRC: C:\xHB\include\winuser.ch(3990): warning: Macro redefinition of 'MF_DISABLED'.
xRC: C:\xHB\include\winuser.ch(3992): warning: Macro redefinition of 'MF_UNCHECKED'.
xRC: C:\xHB\include\winuser.ch(3993): warning: Macro redefinition of 'MF_CHECKED'.
xRC: C:\xHB\include\winuser.ch(3994): warning: Macro redefinition of 'MF_USECHECKBITMAPS'.
xRC: C:\xHB\include\winuser.ch(3996): warning: Macro redefinition of 'MF_STRING'.
xRC: C:\xHB\include\winuser.ch(3997): warning: Macro redefinition of 'MF_BITMAP'.
xRC: C:\xHB\include\winuser.ch(3998): warning: Macro redefinition of 'MF_OWNERDRAW'.
xRC: C:\xHB\include\winuser.ch(4000): warning: Macro redefinition of 'MF_POPUP'.
xRC: C:\xHB\include\winuser.ch(4001): warning: Macro redefinition of 'MF_MENUBARBREAK'.
xRC: C:\xHB\include\winuser.ch(4002): warning: Macro redefinition of 'MF_MENUBREAK'.
xRC: C:\xHB\include\winuser.ch(4004): warning: Macro redefinition of 'MF_UNHILITE'.
xRC: C:\xHB\include\winuser.ch(4005): warning: Macro redefinition of 'MF_HILITE'.
xRC: C:\xHB\include\winuser.ch(4008): warning: Macro redefinition of 'MF_DEFAULT'.
xRC: C:\xHB\include\winuser.ch(4010): warning: Macro redefinition of 'MF_SYSMENU'.
xRC: C:\xHB\include\winuser.ch(4011): warning: Macro redefinition of 'MF_HELP'.
xRC: C:\xHB\include\winuser.ch(4013): warning: Macro redefinition of 'MF_RIGHTJUSTIFY'.
xRC: C:\xHB\include\winuser.ch(4016): warning: Macro redefinition of 'MF_MOUSESELECT'.
xRC: C:\xHB\include\winuser.ch(4018): warning: Macro redefinition of 'MF_END'.
xRC: C:\xHB\include\winuser.ch(4028): warning: Macro redefinition of 'MFT_RADIOCHECK'.
xRC: C:\xHB\include\winuser.ch(4030): warning: Macro redefinition of 'MFT_RIGHTORDER'.
xRC: C:\xHB\include\winuser.ch(4034): warning: Macro redefinition of 'MFS_GRAYED'.
xRC: C:\xHB\include\winuser.ch(4377): warning: Macro redefinition of 'ES_LEFT'.
xRC: C:\xHB\include\winuser.ch(4378): warning: Macro redefinition of 'ES_CENTER'.
xRC: C:\xHB\include\winuser.ch(4379): warning: Macro redefinition of 'ES_RIGHT'.
xRC: C:\xHB\include\winuser.ch(4380): warning: Macro redefinition of 'ES_MULTILINE'.
xRC: C:\xHB\include\winuser.ch(4381): warning: Macro redefinition of 'ES_UPPERCASE'.
xRC: C:\xHB\include\winuser.ch(4382): warning: Macro redefinition of 'ES_LOWERCASE'.
xRC: C:\xHB\include\winuser.ch(4383): warning: Macro redefinition of 'ES_PASSWORD'.
xRC: C:\xHB\include\winuser.ch(4384): warning: Macro redefinition of 'ES_AUTOVSCROLL'.
xRC: C:\xHB\include\winuser.ch(4385): warning: Macro redefinition of 'ES_AUTOHSCROLL'.
xRC: C:\xHB\include\winuser.ch(4386): warning: Macro redefinition of 'ES_NOHIDESEL'.
xRC: C:\xHB\include\winuser.ch(4387): warning: Macro redefinition of 'ES_OEMCONVERT'.
xRC: C:\xHB\include\winuser.ch(4388): warning: Macro redefinition of 'ES_READONLY'.
xRC: C:\xHB\include\winuser.ch(4389): warning: Macro redefinition of 'ES_WANTRETURN'.
xRC: C:\xHB\include\winuser.ch(4391): warning: Macro redefinition of 'ES_NUMBER'.
xRC: C:\xHB\include\winuser.ch(4493): warning: Macro redefinition of 'BS_PUSHBUTTON'.
xRC: C:\xHB\include\winuser.ch(4494): warning: Macro redefinition of 'BS_DEFPUSHBUTTON'.
xRC: C:\xHB\include\winuser.ch(4495): warning: Macro redefinition of 'BS_CHECKBOX'.
xRC: C:\xHB\include\winuser.ch(4496): warning: Macro redefinition of 'BS_AUTOCHECKBOX'.
xRC: C:\xHB\include\winuser.ch(4497): warning: Macro redefinition of 'BS_RADIOBUTTON'.
xRC: C:\xHB\include\winuser.ch(4498): warning: Macro redefinition of 'BS_3STATE'.
xRC: C:\xHB\include\winuser.ch(4499): warning: Macro redefinition of 'BS_AUTO3STATE'.
xRC: C:\xHB\include\winuser.ch(4500): warning: Macro redefinition of 'BS_GROUPBOX'.
xRC: C:\xHB\include\winuser.ch(4501): warning: Macro redefinition of 'BS_USERBUTTON'.
xRC: C:\xHB\include\winuser.ch(4502): warning: Macro redefinition of 'BS_AUTORADIOBUTTON'.
xRC: C:\xHB\include\winuser.ch(4503): warning: Macro redefinition of 'BS_OWNERDRAW'.
xRC: C:\xHB\include\winuser.ch(4504): warning: Macro redefinition of 'BS_LEFTTEXT'.
xRC: C:\xHB\include\winuser.ch(4506): warning: Macro redefinition of 'BS_TEXT'.
xRC: C:\xHB\include\winuser.ch(4507): warning: Macro redefinition of 'BS_ICON'.
xRC: C:\xHB\include\winuser.ch(4508): warning: Macro redefinition of 'BS_BITMAP'.
xRC: C:\xHB\include\winuser.ch(4509): warning: Macro redefinition of 'BS_LEFT'.
xRC: C:\xHB\include\winuser.ch(4510): warning: Macro redefinition of 'BS_RIGHT'.
xRC: C:\xHB\include\winuser.ch(4511): warning: Macro redefinition of 'BS_CENTER'.
xRC: C:\xHB\include\winuser.ch(4512): warning: Macro redefinition of 'BS_TOP'.
xRC: C:\xHB\include\winuser.ch(4513): warning: Macro redefinition of 'BS_BOTTOM'.
xRC: C:\xHB\include\winuser.ch(4514): warning: Macro redefinition of 'BS_VCENTER'.
xRC: C:\xHB\include\winuser.ch(4515): warning: Macro redefinition of 'BS_PUSHLIKE'.
xRC: C:\xHB\include\winuser.ch(4516): warning: Macro redefinition of 'BS_MULTILINE'.
xRC: C:\xHB\include\winuser.ch(4517): warning: Macro redefinition of 'BS_NOTIFY'.
xRC: C:\xHB\include\winuser.ch(4518): warning: Macro redefinition of 'BS_FLAT'.
xRC: C:\xHB\include\winuser.ch(4562): warning: Macro redefinition of 'SS_LEFT'.
xRC: C:\xHB\include\winuser.ch(4563): warning: Macro redefinition of 'SS_CENTER'.
xRC: C:\xHB\include\winuser.ch(4564): warning: Macro redefinition of 'SS_RIGHT'.
xRC: C:\xHB\include\winuser.ch(4565): warning: Macro redefinition of 'SS_ICON'.
xRC: C:\xHB\include\winuser.ch(4566): warning: Macro redefinition of 'SS_BLACKRECT'.
xRC: C:\xHB\include\winuser.ch(4567): warning: Macro redefinition of 'SS_GRAYRECT'.
xRC: C:\xHB\include\winuser.ch(4568): warning: Macro redefinition of 'SS_WHITERECT'.
xRC: C:\xHB\include\winuser.ch(4569): warning: Macro redefinition of 'SS_BLACKFRAME'.
xRC: C:\xHB\include\winuser.ch(4570): warning: Macro redefinition of 'SS_GRAYFRAME'.
xRC: C:\xHB\include\winuser.ch(4571): warning: Macro redefinition of 'SS_WHITEFRAME'.
xRC: C:\xHB\include\winuser.ch(4572): warning: Macro redefinition of 'SS_USERITEM'.
xRC: C:\xHB\include\winuser.ch(4573): warning: Macro redefinition of 'SS_SIMPLE'.
xRC: C:\xHB\include\winuser.ch(4574): warning: Macro redefinition of 'SS_LEFTNOWORDWRAP'.
xRC: C:\xHB\include\winuser.ch(4576): warning: Macro redefinition of 'SS_OWNERDRAW'.
xRC: C:\xHB\include\winuser.ch(4577): warning: Macro redefinition of 'SS_BITMAP'.
xRC: C:\xHB\include\winuser.ch(4578): warning: Macro redefinition of 'SS_ENHMETAFILE'.
xRC: C:\xHB\include\winuser.ch(4579): warning: Macro redefinition of 'SS_ETCHEDHORZ'.
xRC: C:\xHB\include\winuser.ch(4580): warning: Macro redefinition of 'SS_ETCHEDVERT'.
xRC: C:\xHB\include\winuser.ch(4581): warning: Macro redefinition of 'SS_ETCHEDFRAME'.
xRC: C:\xHB\include\winuser.ch(4582): warning: Macro redefinition of 'SS_TYPEMASK'.
xRC: C:\xHB\include\winuser.ch(4584): warning: Macro redefinition of 'SS_NOPREFIX'.
xRC: C:\xHB\include\winuser.ch(4586): warning: Macro redefinition of 'SS_NOTIFY'.
xRC: C:\xHB\include\winuser.ch(4587): warning: Macro redefinition of 'SS_CENTERIMAGE'.
xRC: C:\xHB\include\winuser.ch(4588): warning: Macro redefinition of 'SS_RIGHTJUST'.
xRC: C:\xHB\include\winuser.ch(4589): warning: Macro redefinition of 'SS_REALSIZEIMAGE'.
xRC: C:\xHB\include\winuser.ch(4590): warning: Macro redefinition of 'SS_SUNKEN'.
xRC: C:\xHB\include\winuser.ch(4591): warning: Macro redefinition of 'SS_ENDELLIPSIS'.
xRC: C:\xHB\include\winuser.ch(4592): warning: Macro redefinition of 'SS_PATHELLIPSIS'.
xRC: C:\xHB\include\winuser.ch(4593): warning: Macro redefinition of 'SS_WORDELLIPSIS'.
xRC: C:\xHB\include\winuser.ch(4594): warning: Macro redefinition of 'SS_ELLIPSISMASK'.
xRC: C:\xHB\include\winuser.ch(4694): warning: Macro redefinition of 'DS_ABSALIGN'.
xRC: C:\xHB\include\winuser.ch(4695): warning: Macro redefinition of 'DS_SYSMODAL'.
xRC: C:\xHB\include\winuser.ch(4696): warning: Macro redefinition of 'DS_LOCALEDIT'.
xRC: C:\xHB\include\winuser.ch(4697): warning: Macro redefinition of 'DS_SETFONT'.
xRC: C:\xHB\include\winuser.ch(4698): warning: Macro redefinition of 'DS_MODALFRAME'.
xRC: C:\xHB\include\winuser.ch(4699): warning: Macro redefinition of 'DS_NOIDLEMSG'.
xRC: C:\xHB\include\winuser.ch(4700): warning: Macro redefinition of 'DS_SETFOREGROUND'.
xRC: C:\xHB\include\winuser.ch(4704): warning: Macro redefinition of 'DS_3DLOOK'.
xRC: C:\xHB\include\winuser.ch(4705): warning: Macro redefinition of 'DS_FIXEDSYS'.
xRC: C:\xHB\include\winuser.ch(4706): warning: Macro redefinition of 'DS_NOFAILCREATE'.
xRC: C:\xHB\include\winuser.ch(4707): warning: Macro redefinition of 'DS_CONTROL'.
xRC: C:\xHB\include\winuser.ch(4708): warning: Macro redefinition of 'DS_CENTER'.
xRC: C:\xHB\include\winuser.ch(4709): warning: Macro redefinition of 'DS_CENTERMOUSE'.
xRC: C:\xHB\include\winuser.ch(4710): warning: Macro redefinition of 'DS_CONTEXTHELP'.
xRC: C:\xHB\include\winuser.ch(4712): warning: Macro redefinition of 'DS_SHELLFONT'.
xRC: C:\xHB\include\winuser.ch(4836): warning: Macro redefinition of 'LBS_NOTIFY'.
xRC: C:\xHB\include\winuser.ch(4837): warning: Macro redefinition of 'LBS_SORT'.
xRC: C:\xHB\include\winuser.ch(4838): warning: Macro redefinition of 'LBS_NOREDRAW'.
xRC: C:\xHB\include\winuser.ch(4839): warning: Macro redefinition of 'LBS_MULTIPLESEL'.
xRC: C:\xHB\include\winuser.ch(4840): warning: Macro redefinition of 'LBS_OWNERDRAWFIXED'.
xRC: C:\xHB\include\winuser.ch(4841): warning: Macro redefinition of 'LBS_OWNERDRAWVARIABLE'.
xRC: C:\xHB\include\winuser.ch(4842): warning: Macro redefinition of 'LBS_HASSTRINGS'.
xRC: C:\xHB\include\winuser.ch(4843): warning: Macro redefinition of 'LBS_USETABSTOPS'.
xRC: C:\xHB\include\winuser.ch(4844): warning: Macro redefinition of 'LBS_NOINTEGRALHEIGHT'.
xRC: C:\xHB\include\winuser.ch(4845): warning: Macro redefinition of 'LBS_MULTICOLUMN'.
xRC: C:\xHB\include\winuser.ch(4846): warning: Macro redefinition of 'LBS_WANTKEYBOARDINPUT'.
xRC: C:\xHB\include\winuser.ch(4847): warning: Macro redefinition of 'LBS_EXTENDEDSEL'.
xRC: C:\xHB\include\winuser.ch(4848): warning: Macro redefinition of 'LBS_DISABLENOSCROLL'.
xRC: C:\xHB\include\winuser.ch(4849): warning: Macro redefinition of 'LBS_NODATA'.
xRC: C:\xHB\include\winuser.ch(4851): warning: Macro redefinition of 'LBS_NOSEL'.
xRC: C:\xHB\include\winuser.ch(4853): warning: Macro redefinition of 'LBS_STANDARD'.
xRC: C:\xHB\include\winuser.ch(4886): warning: Macro redefinition of 'CBS_SIMPLE'.
xRC: C:\xHB\include\winuser.ch(4887): warning: Macro redefinition of 'CBS_DROPDOWN'.
xRC: C:\xHB\include\winuser.ch(4888): warning: Macro redefinition of 'CBS_DROPDOWNLIST'.
xRC: C:\xHB\include\winuser.ch(4889): warning: Macro redefinition of 'CBS_OWNERDRAWFIXED'.
xRC: C:\xHB\include\winuser.ch(4890): warning: Macro redefinition of 'CBS_OWNERDRAWVARIABLE'.
xRC: C:\xHB\include\winuser.ch(4891): warning: Macro redefinition of 'CBS_AUTOHSCROLL'.
xRC: C:\xHB\include\winuser.ch(4892): warning: Macro redefinition of 'CBS_OEMCONVERT'.
xRC: C:\xHB\include\winuser.ch(4893): warning: Macro redefinition of 'CBS_SORT'.
xRC: C:\xHB\include\winuser.ch(4894): warning: Macro redefinition of 'CBS_HASSTRINGS'.
xRC: C:\xHB\include\winuser.ch(4895): warning: Macro redefinition of 'CBS_NOINTEGRALHEIGHT'.
xRC: C:\xHB\include\winuser.ch(4896): warning: Macro redefinition of 'CBS_DISABLENOSCROLL'.
xRC: C:\xHB\include\winuser.ch(4898): warning: Macro redefinition of 'CBS_UPPERCASE'.
xRC: C:\xHB\include\winuser.ch(4899): warning: Macro redefinition of 'CBS_LOWERCASE'.
xRC: C:\xHB\include\winuser.ch(4963): warning: Macro redefinition of 'SBS_HORZ'.
xRC: C:\xHB\include\winuser.ch(4964): warning: Macro redefinition of 'SBS_VERT'.
xRC: C:\xHB\include\winuser.ch(4965): warning: Macro redefinition of 'SBS_TOPALIGN'.
xRC: C:\xHB\include\winuser.ch(4966): warning: Macro redefinition of 'SBS_LEFTALIGN'.
xRC: C:\xHB\include\winuser.ch(4967): warning: Macro redefinition of 'SBS_BOTTOMALIGN'.
xRC: C:\xHB\include\winuser.ch(4968): warning: Macro redefinition of 'SBS_RIGHTALIGN'.
xRC: C:\xHB\include\winuser.ch(4969): warning: Macro redefinition of 'SBS_SIZEBOXTOPLEFTALIGN'.
xRC: C:\xHB\include\winuser.ch(4970): warning: Macro redefinition of 'SBS_SIZEBOXBOTTOMRIGHTALIGN'.
xRC: C:\xHB\include\winuser.ch(4971): warning: Macro redefinition of 'SBS_SIZEBOX'.
xRC: C:\xHB\include\WinApi.ch(9): warning: Unknown preprocessor control: 'xcommand'.
xRC: C:\xHB\include\WinApi.ch(13): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(14): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(15): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(9): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(13): error: File not found: 'ISNIL('.
xRC: C:\xHB\include\WinApi.ch(14): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(15): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(16): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(17): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(18): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(19): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(20): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(21): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(22): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(23): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(25): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(26): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(27): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(28): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(29): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(30): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(31): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(32): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(33): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(34): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(35): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(36): warning: Unknown preprocessor control: 'translate'.
xRC: C:\xHB\include\WinApi.ch(16): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(17): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(18): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(19): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(20): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(21): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(22): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(23): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(25): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(26): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(26): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(27): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(27): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(28): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(28): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(29): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(29): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(30): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(30): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(31): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(31): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(32): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(32): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(33): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(33): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(34): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(34): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(35): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(35): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(36): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(36): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(109): error: File not found: 'typedef'.
xRC: C:\xHB\include\WinApi.ch(110): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(111): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(112): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(113): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(114): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(115): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(116): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(117): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(118): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(119): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(122): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(123): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(124): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(125): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(128): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(129): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(130): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(133): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(134): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(135): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(136): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(137): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(138): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(139): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(142): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(143): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(144): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(147): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(148): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(149): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(150): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(151): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(152): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(153): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(154): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(155): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(156): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(157): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(158): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(159): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(160): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(161): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(162): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(163): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(164): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(165): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(166): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(167): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(170): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(171): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(172): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(173): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(174): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(177): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(178): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(179): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(180): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(181): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(182): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(183): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(186): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(187): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(188): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(189): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(190): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(191): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(192): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(193): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(194): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(195): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(196): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(197): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(198): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(201): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(202): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(203): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(204): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(205): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(206): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(207): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(208): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(209): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(210): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(211): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(212): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(215): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(216): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(217): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(218): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(219): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(220): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(221): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(224): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(225): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(226): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(227): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(228): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(229): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(230): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(231): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(232): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(233): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(234): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(235): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(236): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(237): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(238): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(241): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(242): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(243): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(244): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(245): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(246): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(247): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(248): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(249): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(250): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(251): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(252): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(253): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(254): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(255): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(256): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(259): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(260): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(261): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(262): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(263): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(264): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(265): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(266): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(267): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(268): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(271): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(272): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(273): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(274): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(275): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(276): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(277): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(280): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(281): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(282): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(283): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(284): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(285): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(286): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(287): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(288): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(289): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(290): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(293): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(294): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(295): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(296): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(297): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(298): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(299): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(302): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(303): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(304): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(305): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(308): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(310): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(311): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(312): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(313): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(315): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(317): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(318): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(319): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(320): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(321): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(322): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(323): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(324): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(325): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(326): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(327): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(328): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(329): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(330): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(331): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(332): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(333): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(334): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(335): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(336): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(339): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(340): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(341): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(342): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(343): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(344): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(345): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(346): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(349): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(350): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(351): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(352): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(353): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(354): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(355): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(356): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(357): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(358): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(359): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(360): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(361): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(362): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(363): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(366): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(367): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(368): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(369): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(370): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(373): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(374): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(375): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(376): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(377): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(378): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(379): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(380): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(381): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(384): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(385): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(386): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(387): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(388): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(389): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(390): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(391): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(394): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(395): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(396): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(397): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(398): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(399): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(400): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(401): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(404): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(405): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(406): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(407): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(410): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(411): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(412): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(415): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(416): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(417): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(418): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(419): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(420): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(421): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(422): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(423): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(424): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(425): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(426): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(427): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(430): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(431): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(432): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(433): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(434): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(435): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(438): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(439): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(440): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(441): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(442): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(443): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(444): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(447): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(448): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(449): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(450): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(451): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(452): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(453): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(456): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(457): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(458): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(459): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(460): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(461): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(462): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(463): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(466): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(467): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(468): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(469): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(470): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(471): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(472): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(473): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(474): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(475): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(476): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(477): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(478): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(481): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(482): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(483): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(484): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(485): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(486): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(487): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(490): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(491): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(492): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(493): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(494): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(495): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(498): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(499): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(500): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(501): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(502): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(503): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(504): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(505): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(508): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(509): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(510): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(513): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(514): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(515): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(516): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(517): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(518): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(519): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(520): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(521): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(522): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(523): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(524): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(527): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(528): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(529): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(530): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(534): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(535): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(536): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(537): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(538): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(539): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(540): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(541): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(542): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(543): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(544): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(545): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(548): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(549): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(550): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(551): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(552): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(553): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(554): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(555): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(556): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(557): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(558): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(561): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(562): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(563): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(564): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(565): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(566): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(567): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(568): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(569): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(570): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(571): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(572): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(573): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(574): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(575): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(576): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(577): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(578): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(579): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(582): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(583): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(584): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(585): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(586): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(589): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(590): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(591): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(594): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(595): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(596): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(597): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(598): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(599): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(600): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(601): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(604): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(605): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(606): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(607): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(608): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(609): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(610): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(611): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(612): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(613): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(614): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(617): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(618): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(619): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(620): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(621): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(622): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(623): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(624): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(625): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(626): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(627): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(628): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(631): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(632): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(633): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(634): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(637): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(638): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(639): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(640): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(641): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(642): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(645): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(646): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(647): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(648): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(649): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(652): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(653): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(654): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(655): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(658): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(659): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(660): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(661): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(662): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(663): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(664): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(665): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(666): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(667): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(668): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(669): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(671): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(672): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(673): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(674): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(675): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(676): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(677): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(678): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(679): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(682): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(683): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(684): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(685): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(687): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(688): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(689): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(690): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(691): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(692): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(693): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(694): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(695): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(696): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(697): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(700): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(701): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(702): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(703): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(704): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(707): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(708): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(709): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(710): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(711): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(712): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(713): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(714): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(717): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(718): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(719): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(720): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(721): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(722): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(723): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(724): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(725): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(726): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(727): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(728): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(729): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(730): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(731): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(732): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(733): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(734): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(735): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(736): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(737): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(740): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(741): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(742): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(743): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(744): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(746): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(747): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(748): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(749): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(750): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(751): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(752): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(755): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(756): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(757): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(758): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(759): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(760): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(763): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(764): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(765): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(766): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(767): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(768): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(769): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(772): error: File not found: 'struct'.
xRC: C:\xHB\include\WinApi.ch(773): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(774): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(775): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(778): error: File not found: 'tagPOINTS'.
xRC: C:\xHB\include\WinApi.ch(779): error: File not found: ''.
xRC: C:\xHB\include\WinApi.ch(780): error: File not found: ''.
xRC: bigfold.rc(15): error: String literal expected.
xRC: bigfold.rc(22): error: Number expected.
xRC: bigfold.rc(23): error: Number expected.
xRC: bigfold.rc(23): error: Number expected.
xRC: bigfold.rc(23): error: Number expected.
xRC: bigfold.rc(23): error: Number expected.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(23): error: Invalid syntax.
xRC: bigfold.rc(25): error: Unknown keyword: 'BSS_HDIP'.
xRC: bigfold.rc(61): error: Unknown keyword: 'BSS_HDIP'.
Type: C >>>Couldn't build: bigfold.res<<<
Type: C >>>TMAKEOBJECT<<<
Type: C >>>TMAKEOBJECT:REFRESH<<<
Type: N >>> 1266<<< |
xharbour from xharbour.com and fwh aug release Problems | Mike,
xHarbour builder's xRC does not allow to use CH files into RC files.
Please change #include "..\include\WinApi.ch" in the RC file for #include "c:\xHB\c_include\win\windows.h" |
xharbour from xharbour.com and fwh aug release Problems | Do I need to recompile fivehmx.lib with xharbour ?
Thanks Mike |
xharbour from xharbour.com and fwh aug release Problems | Mike.
>> Do I need to recompile fivehmx.lib with xharbour ?
Yes ! You have to recompile your source fwh code with xHarbour.
Areang |
xharbour from xharbour.com and fwh aug release Problems | Mike,
If you use FWH August build and most recent xHarbour builder beta, you don't have to recompile anything, just build your app. |
xharbour from xharbour.com and fwh aug release Problems | Thanks That was it I was using current release not beta.
Mike |
xharbour from xharbour.com and fwh aug release Problems | I have upgrade FWH to 8.05 and I am receiving the following error when trying to connect to ADS 7.01The oridinal 468 could not be located in the dynamic link library ACE32.DLLCan anyone help?Sincerely, |
xharbour from xharbour.com and fwh aug release Problems | Darrell,You need an updated version of ACE32.LIB, created from an updated version of ACE32.DLL |
xharbour from xharbour.com and fwh aug release Problems #2 | Now that I changed the rc file I get windows gpf error on xhb sample programs.
I tried recompile fivehmx.lib with xharbour ?
Same still get windows gpf
I just don't get what I have wrong?
Thanks Mike |
xharbour from xharbour.com and fwh aug release Problems #2 | Mike,
What xHarbour Builder build are you using ? What date ?
You need a recent beta and it works fine. |
xharbour from xharbour.com and fwh aug release Problems #2 | Thanks That was it I was using current release not beta.
Mike |
xharbour has native base64 functions? he which they are | Regards |
xharbour last cvs error | Hi,
after this changelog :
2016-08-15 17:04 UTC-0400 Ron Pinkas <ron.pinkas/at/xharbour.com>
* bin/bld.bat
+ Added test for error level after prg compilation
* bin/bld_vc.bat
+ Added support for VS 2013 and 2015
* make_vc.bat
* More complete VS 2015 support and minor revision
* source/compiler/harbour.sly
* source/compiler/harbouryy.c
! Fixed GPF trap (hb_comp_BlocksList NULL after syntax error)
old function, like tdata from james dont compile :
Tdata\Tdata.prg(281) Error E0047 Code block contains both macro and declared symbol references
line of tdata :
::buildIndex( oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending ) },;
cMessage )
someone can contact xharbour team?
thanks |
xharbour last cvs error | [quote="norberto":21hvq92n]Hi,
after this changelog :
2016-08-15 17:04 UTC-0400 Ron Pinkas <ron.pinkas/at/xharbour.com>
* bin/bld.bat
+ Added test for error level after prg compilation
* bin/bld_vc.bat
+ Added support for VS 2013 and 2015
* make_vc.bat
* More complete VS 2015 support and minor revision
* source/compiler/harbour.sly
* source/compiler/harbouryy.c
! Fixed GPF trap (hb_comp_BlocksList NULL after syntax error)
old function, like tdata from james dont compile :
Tdata\Tdata.prg(281) Error E0047 Code block contains both macro and declared symbol references
line of tdata :
::buildIndex( oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending ) },;
cMessage )
someone can contact xharbour team?
thanks[/quote:21hvq92n]
Can you build a little PRG showing the problem, please?
EMG |
xharbour last cvs error | Enrico, tdata is james bott class, i dont have permission to publish here, but in prevision revision of xharbour this error dont ocur.
regards |
xharbour last cvs error | [quote="norberto":ezgvl9u7]Enrico, tdata is james bott class, i dont have permission to publish here, but in prevision revision of xharbour this error dont ocur.
regards[/quote:ezgvl9u7]
Sorry, we need a code sample. James?
EMG |
xharbour last cvs error | I just returned the last revision
2016-07-05 10:02 UTC+0200 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
* contrib/gtwvw/gtwvw.c
! pacify warning
and everything worked again. remembering old class tdata there were no changes in it in recent times.
Best regards. |
xharbour last cvs error | Sorry for the late reply--I just read this message thread.
The complete line of code is:
[code=fw:g6sbyy50]<div class="fw" id="{CB}" style="font-family: monospace;"> ::<span style="color: #000000;">Meter</span><span style="color: #000000;">(</span> <span style="color: #000000;">{</span> | oMeter, oText, oDlg, lEnd | ;<br /> ::<span style="color: #000000;">buildIndex</span><span style="color: #000000;">(</span> oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>,;<br /> cMessage <span style="color: #000000;">)</span></div>[/code:g6sbyy50]
So I am assuming it doesn't like the @lEnd and bFor in the same line of code. This is inside a complex class (543 lines) so I can't easily make a working test program from it. I guess we just need to try to build a test sample from scratch containing both items.
And yes, TData hasn't been changed since 2010-04-09. |
xharbour last cvs error | This is compiling fine here:
[code=fw:2b2mh70m]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">LOCAL</span> cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending<br /><br /> <span style="color: #00C800;">LOCAL</span> cMessage := <span style="color: #ff0000;">""</span><br /><br /> Meter<span style="color: #000000;">(</span> <span style="color: #000000;">{</span> | oMeter, oText, oDlg, lEnd | ;<br /> buildIndex<span style="color: #000000;">(</span> oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>,;<br /> cMessage <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span></div>[/code:2b2mh70m]
EMG |
xharbour last cvs error | Enrico,
Did you use the same version of xHarbour as Norberto?
2016-08-15 17:04 UTC-0400 Ron Pinkas <ron.pinkas/at/xharbour.com>
James |
xharbour last cvs error | Yes, it's the same.
EMG |
xharbour last cvs error | Everyone,
OK I wrote a test program with the offending line of code. It is wrapped in a dummy class just we can test the line as is. This one doesn't error using my old xHarbour ver. 1.2.3.
James
[code=fw:5ny5keca]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*<br />Purpose : Test compile to test error generated by new version of xHarbour<br />Author : James Bott, <!-- e --><a href="mailto:jbott@compuserve.com">jbott@compuserve.com</a><!-- e --><br />Date : 8/28/2016<br />Company : Intellitech<br />Copyright: Copyright © 2016 Intellitech<br />Language : Fivewin/xHarbour<br />Updated : <br />Notes : Norberto tried compiling TData with this version of xHarbour<br /> 2016-08-15 17:04 UTC-0400 Ron Pinkas <ron.pinkas/at/xharbour.com><br /> <br /> And got this error:<br /><br />Tdata\Tdata.prg(281) Error E0047 Code block contains both macro and declared symbol references<br /><br />line of tdata : <br /><br />::buildIndex( oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending ) },;<br /> cMessage )<br /> <br />So I wrote a dummy TData class to test for the problem. <br />No errors were generated using my older version of xHarbour - J Bott <br />/<br /><br />#include "fivewin.ch"<br /><br />Function Main()<br /><br />Return nil<br /><br />Class TData<br /> Data Meter<br /> Method New()<br /> Method BuildIndex()<br /> Method Meter()<br /> Method Reindex() <br />endclass<br /><br />Method new() class TData<br />return self<br /><br />Method Reindex() Class TData<br /><br /> Local oMeter,oText,oDlg,lEnd,cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending, cMessage<br /><br /> ::Meter( { | oMeter, oText, oDlg, lEnd | ;<br /> ::buildIndex( oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending ) },;<br /> cMessage )<br /><br />return nil<br /><br />Method BuildIndex() Class TData<br />Return nil<br /><br />Method Meter() Class TData<br />return nil<br /><br />// EOF<br /><br /></span></div>[/code:5ny5keca] |
xharbour last cvs error | Everyone:
I noticed that I forgot to assign bFor a codeblock. So here is the updated test program.
Norberto,
Can you please test compile this sample with your new xHarbour version to see if it errors?
James
[code=fw:1y49c8qv]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">Class</span> TData<br /> <span style="color: #00C800;">Data</span> Meter<br /> <span style="color: #00C800;">Method</span> <span style="color: #00C800;">New</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Method</span> BuildIndex<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Method</span> Meter<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Method</span> Reindex<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /><span style="color: #00C800;">endclass</span><br /><br /><span style="color: #00C800;">Method</span> <span style="color: #00C800;">new</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">class</span> TData<br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">self</span><br /><br /><span style="color: #00C800;">Method</span> Reindex<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">Class</span> TData<br /><br /> <span style="color: #00C800;">Local</span> oMeter,oText,oDlg,lEnd,cTag, cKey, cFile, nInterval, lUnique, bFor:=<span style="color: #000000;">{</span>|| .t.<span style="color: #000000;">}</span>, lDescending, cMessage<br /><br /> ::<span style="color: #000000;">Meter</span><span style="color: #000000;">(</span> <span style="color: #000000;">{</span> | oMeter, oText, oDlg, lEnd | ;<br /> ::<span style="color: #000000;">buildIndex</span><span style="color: #000000;">(</span> oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>,;<br /> cMessage <span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">Method</span> BuildIndex<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">Class</span> TData<br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">Method</span> Meter<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">Class</span> TData<br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">// EOF</span></div>[/code:1y49c8qv] |
xharbour last cvs error | Your sample, after corrected some errors and warning, compiles fine here:
[code=fw:1c8xgd5w]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">Class</span> TData<br /> <span style="color: #00C800;">Method</span> <span style="color: #00C800;">New</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Method</span> BuildIndex<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Method</span> Meter<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Method</span> Reindex<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /><span style="color: #00C800;">endclass</span><br /><br /><span style="color: #00C800;">Method</span> <span style="color: #00C800;">new</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">class</span> TData<br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">self</span><br /><br /><span style="color: #00C800;">Method</span> Reindex<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">Class</span> TData<br /><br /> <span style="color: #00C800;">Local</span> cTag, cKey, cFile, nInterval, lUnique, bFor:=<span style="color: #000000;">{</span>|| .t.<span style="color: #000000;">}</span>, lDescending, cMessage := <span style="color: #ff0000;">""</span><br /><br /> ::<span style="color: #000000;">Meter</span><span style="color: #000000;">(</span> <span style="color: #000000;">{</span> | oMeter, oText, oDlg, lEnd | ;<br /> ::<span style="color: #000000;">buildIndex</span><span style="color: #000000;">(</span> oMeter, oText, oDlg, @lEnd, cTag, cKey, cFile, nInterval, lUnique, bFor, lDescending <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>,;<br /> cMessage <span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">Method</span> BuildIndex<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">Class</span> TData<br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">Method</span> Meter<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">Class</span> TData<br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:1c8xgd5w]
EMG |
xharbour last cvs error | Enrico,
Thanks for testing it.
Interesting that you got warnings and errors. I didn't get any when compiling it with my older version of FWH/xHarbour. Warnings I'm not concerned about, but what errors did you get?
Regards,
James |
xharbour last cvs error | Sorry, no errors, only warnings:
[code=fw:27pgn3vi]<div class="fw" id="{CB}" style="font-family: monospace;">test.prg<span style="color: #000000;">(</span><span style="color: #000000;">11</span><span style="color: #000000;">)</span> Warning W0019 Duplicate declaration <span style="color: #0000ff;">of</span> <span style="color: #00C800;">Method</span> <span style="color: #ff0000;">'METER'</span><br />test.prg<span style="color: #000000;">(</span><span style="color: #000000;">28</span><span style="color: #000000;">)</span> Warning W0003 Variable: <span style="color: #ff0000;">'OMETER'</span> declared but not used in <span style="color: #00C800;">function</span>: <span style="color: #ff0000;">'TDATA_REINDEX(20)'</span><br />test.prg<span style="color: #000000;">(</span><span style="color: #000000;">28</span><span style="color: #000000;">)</span> Warning W0003 Variable: <span style="color: #ff0000;">'OTEXT'</span> declared but not used in <span style="color: #00C800;">function</span>: <span style="color: #ff0000;">'TDATA_REINDEX(20)'</span><br />test.prg<span style="color: #000000;">(</span><span style="color: #000000;">28</span><span style="color: #000000;">)</span> Warning W0003 Variable: <span style="color: #ff0000;">'ODLG'</span> declared but not used in <span style="color: #00C800;">function</span>: <span style="color: #ff0000;">'TDATA_REINDEX(20)'</span><br />test.prg<span style="color: #000000;">(</span><span style="color: #000000;">28</span><span style="color: #000000;">)</span> Warning W0003 Variable: <span style="color: #ff0000;">'LEND'</span> declared but not used in <span style="color: #00C800;">function</span>: <span style="color: #ff0000;">'TDATA_REINDEX(20)'</span><br />test.prg<span style="color: #000000;">(</span><span style="color: #000000;">28</span><span style="color: #000000;">)</span> Warning W0033 Variable <span style="color: #ff0000;">'CMESSAGE'</span> is never assigned in <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'TDATA_REINDEX(20)'</span></div>[/code:27pgn3vi]
EMG |
xharbour last cvs error | Enrico,
Thanks.
Well they all make sense. So, I would say they made some improvements in the compiler to catch these issues.
James |
xharbour last cvs error | Or, you are not using the correct compiler switches. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
xharbour on windows Seven 64 bit home | If you, I can compile an application with xharbour on windows Seven 64 bit home or I could have problems ?
Or I must to buy fw64 bit ? |
xharbour on windows Seven 64 bit home | I compile and run fwh+BCC582 32bits on windows 7 64bits corporate without any problem.
André |
xharbour on windows Seven 64 bit home | ok
BUt I can try with HOME EDITION
and then..
but we cannot use workshop, dbu... |
xharbour on windows Seven 64 bit home | Mda
16bit application no run under 64 bit |
xharbour on windows Seven 64 bit home | Are there errors with cdx and tag on windows seven 64 bit Home Premium ?
because I saw there are strange errors with cdx then I erase them and then run ok |
xharbour on windows Seven 64 bit home | wich application I can use instead of Wdbu ?
with pellesc I have some errors
I try to compile atree.prg and atree.rc
for sample pellesc not found
folder BITMAP "../bitmaps/16x16/folder.bmp"
folder2 BITMAP "../bitmaps/16x16/folder2.bmp"
How I can make ?
I try to write exactly the folder but it not compile
folder BITMAP "c:\work\fwh\bitmaps\16x16\folder.bmp"
folder2 BITMAP "c:\work\fwh\bitmaps\16x16\folder2.bmp" |
xharbour para FWH810 | Hola a todos,
<!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Recuperandome de una perdida parcial de todo mi HD, me encuentro reinstalando FWH, a la versión 8.10, que es la última que accese con el FTDN, pero me falta la versión de xHarbour para esta.
Antonio me sugirió tratar con la última versión, pero no funciona, por lo cual imploro a ver si alguien conserva esta versión de xHarbour que pueda pasarmela.
Agradecido de antemano, pueden utilizar mi correo julio.llinas21 arroba gmail punto com
Abrazos, |
xharbour para FWH810 | Julio:
Parece que tu correo es incorrecto, te envié un correo y me lo rechazó.
Saludos |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.