[Harbour] Re: How I can get the list of printers installed on Linux?

2010-04-22 Thread Guillermo Varona Silupú

Thanks Massimo, Dougs and Viktor.
Now I have several options to look at and test.

BestRegards
GVVS


Massimo Belgrano escribió:

See in contrib/hbxbp/tests/demoxbp.prg
Search for  XbpPrintDialog() and XbpPrinter() classes.
Using the demo Click on Print Dialog toolbar button.


2010/4/21 Guillermo Varona Silupú gvar...@ec-red.com:

Hola / Hi :

How I can get the list of printers installed on Linux?
Something like the WIN_PRINTERLIST (. T.,. F.) of hbwin.

TIA

BestRegards
GVS





___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] How I can get the list of printers installed on Linux?

2010-04-21 Thread Guillermo Varona Silupú

Hola / Hi :

How I can get the list of printers installed on Linux?
Something like the WIN_PRINTERLIST (. T.,. F.) of hbwin.

TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Ubuntu issue building hbpcre lib

2010-04-10 Thread Guillermo Varona Silupú

Hola Teo:
¿cómo puedo obtener wxHarbour con el SVN?

[ENG by Google]
Hi Teo:
WxHarbour how I can get the SVN?

TIA

BestRegards
GVS




Teo Fonrouge escribió:

Hello Marco,

On Apr 8, 2010, at 7:23 AM, marco bra wrote:


Many thanks  to Premzek and Viktor for the clear answer.

Surely i will send some note to the developer of wxHarbour BTW i was 
solving this compiling samples issue with this statement:


make HBLIBSTYPE=shared

The samples coming into the wxHarbour directory structure have singles 
GNUmakefile, one for directory and these files seems to be auto 
generated by http://www.bakefile.org http://www.bakefile.org/
as far i can read in all the GNUmakefile files header, i suppose 
Bakefile tool don't generate hbmk2 make statement (i don't know that 
tool).


The hbmk2 utility is working ok in the wxHarbour library.

To build the library:

1. Change to your current wxHarbour directory:

$ cd wxHarbour

2. Build the lib using hbmk2:

$ hbmk2 wxharbour.hbp

If all goes ok, then you can try to build a sample:

1. Change to any sample dir:

$ cd samples/dbf_ctrls1

2. Build the sample using hbmk2 with the wxharbour.hbc file:

$ hbmk2 ../../wxharbour.hbc dbf_ctrls1.prg

3. If all goes ok, then run the sample:

$ ./dbf_ctrls1


Please test after SVN:

Revision: 572
 http://wxharbour.svn.sourceforge.net/wxharbour/?rev=572view=rev 
http://wxharbour.svn.sourceforge.net/wxharbour/?rev=572view=rev

Author:   tfonrouge
Date: 2010-04-08 23:19:11 + (Thu, 08 Apr 2010)



best regards,

Teo





___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Ubuntu issue building hbpcre lib

2010-04-10 Thread Guillermo Varona Silupú
 
'wxEVT_COMMAND_SEARCHCTRL_C

ANCEL_BTN'
src/common/sysdefs.cpp:224: warning: unused variable 
'wxEVT_COMMAND_SEARCHCTRL_S

EARCH_BTN'
src/common/sysdefs.cpp:227: warning: unused variable 
'wxEVT_GRID_CELL_LEFT_CLICK

'
src/common/sysdefs.cpp:228: warning: unused variable 
'wxEVT_GRID_CELL_RIGHT_CLIC

K'
src/common/sysdefs.cpp:229: warning: unused variable 
'wxEVT_GRID_CELL_LEFT_DCLIC

K'
src/common/sysdefs.cpp:230: warning: unused variable 
'wxEVT_GRID_CELL_RIGHT_DCLI

CK'
src/common/sysdefs.cpp:231: warning: unused variable 
'wxEVT_GRID_LABEL_LEFT_CLIC

K'
src/common/sysdefs.cpp:232: warning: unused variable 
'wxEVT_GRID_LABEL_RIGHT_CLI

CK'
src/common/sysdefs.cpp:233: warning: unused variable 
'wxEVT_GRID_LABEL_LEFT_DCLI

CK'
src/common/sysdefs.cpp:234: warning: unused variable 
'wxEVT_GRID_LABEL_RIGHT_DCL

ICK'
src/common/sysdefs.cpp:235: warning: unused variable 'wxEVT_GRID_ROW_SIZE'
src/common/sysdefs.cpp:236: warning: unused variable 'wxEVT_GRID_COL_SIZE'
src/common/sysdefs.cpp:237: warning: unused variable 
'wxEVT_GRID_RANGE_SELECT'
src/common/sysdefs.cpp:238: warning: unused variable 
'wxEVT_GRID_CELL_CHANGE'
src/common/sysdefs.cpp:239: warning: unused variable 
'wxEVT_GRID_SELECT_CELL'
src/common/sysdefs.cpp:240: warning: unused variable 
'wxEVT_GRID_EDITOR_SHOWN'
src/common/sysdefs.cpp:241: warning: unused variable 
'wxEVT_GRID_EDITOR_HIDDEN'
src/common/sysdefs.cpp:242: warning: unused variable 
'wxEVT_GRID_EDITOR_CREATED'


src/common/sysdefs.cpp:243: warning: unused variable 
'wxEVT_GRID_CELL_BEGIN_DRAG

'
hbmk2: Error: Running C/C++ compiler. 1
g++.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer 
-DWIN32 -D__W
XMSW__ -Wall -W -pipe -Id:/hrbMinGW/include -I/../lib/gcc_lib/msw 
-Iinclude/wxHa

rbour src/common/sysdefs.cpp -o lib/win/mingw/.hbmk/win/mingw/sysdefs.o.

¿Qué me esta faltando?

De antemano, muchas gracias.

Salu2,
GVS





Teo Fonrouge escribió:

Hi Guillermo,

On Apr 10, 2010, at 7:44 AM, Guillermo Varona Silupú wrote:


Hola Teo:
¿cómo puedo obtener wxHarbour con el SVN?

[ENG by Google]
Hi Teo:
WxHarbour how I can get the SVN?



ENGLISH
First at all, you need a SVN client.

On Linux based OS you may install the subversion package using
the package manager.

On Windows here is a very good command line based SVN client:

http://tortoisesvn.net/downloads

Once that you have your SVN client installed, you just need to
do a checkout:

1. [optional] Create a SVN dir on your computer and change to it.

2. Execute the following command (is a single line):

svn co 
https://wxharbour.svn.sourceforge.net/svnroot/wxharbour/trunk/wxHarbour 
wxHarbour


3. Change to the wxharbour directory and just build the library
   the samples.

Once that you have your SVN based wxharbour directory,
to update to last revision, you just have to execute on it:

svn update

/ENGLISH

SPANISH
Primero que nada, necesitas un cliente SVN

En Linux puedes instalar el paquete subversion utilizando el manejador
de paquetes.

En Windows aqui hay muy buen cliente SVN que se puede utilizar
desde la linea de comandos:

http://tortoisesvn.net/downloads

Una vez que tienes el cliente SVN instalado, solo necesitas efectuar
un checkout:

1. [opcional] Crea un directorio SVN y cambiate a el.

2. Executa el siguiente comando (es una sola linea):

svn co 
https://wxharbour.svn.sourceforge.net/svnroot/wxharbour/trunk/wxHarbour 
wxHarbour


3. Cambiate al directorio wxharbour y construye la libreria y
  ejemplos.

Una vez que tienes tu directorio SVN de wxharbour, para actualizar
a la ultima version, solo tienes que executar:

svn update

/SPANISH


[snip]


best regards,

Teo



___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error building HbIDE

2010-04-04 Thread Guillermo Varona Silupú

Hi, I get this error

D:\harbour\contrib\hbide\hrbMingw\bin\hbmk2 hbide.hbp
hbmk2: Processing environment options: -compiler=mingw
hbmk2: Processing configuration: D:\hrbMingw\bin\hbmk.cfg
hbmk2: Compiling resources...
windres.exe: no resources
hbmk2: Error: Running resource compiler. 1
windres.exe -Id:/hrbMinGW/include -I../hbxbp -I../hbqt hbide.rc -O coff 
-o .hbmk

/win/mingw/hbide.reso

D:\harbour\contrib\hbide

Apparently hbide.rc file is missing or not is failing me.
Can anyone help me please?

TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: SF.net SVN: harbour-project:[14268] trunk/harbour/contrib/hbide

2010-04-04 Thread Guillermo Varona Silupú

vouch...@users.sourceforge.net escribió:

Revision: 14268
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14268view=rev
Author:   vouchcac
Date: 2010-04-04 17:43:30 + (Sun, 04 Apr 2010)

Log Message:
---
2010-04-04 10:37 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
  + contrib/hbide/hbide.rc
+ Added missing file.


Thanks Pritpal, now is Ok.

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Question about Harbour debug

2010-02-24 Thread Guillermo Varona Silupú

[SPA]
Hola Massimo:
Yo sé que es posible, pero no se como lo hacen, lo he visto funcionando 
con QAC (http://www.carozodequilmes.com.ar/) y HMG (los BATs de 
compilación hacen esto), te pego un pantallazo, donde puedes apreciar esto.

El Codigo fuente, proporcionado por CarozoDeQuilmes es:

[ENG]
Hi Massimo:
I know it's possible, but not as they do, I've seen running QAC 
(http://www.carozodequilmes.com.ar/) and HMG (the compilation BATs do 
this), I hit a screenshot, where can appreciate this.

The source code, provided by CarozoDeQuilmes is:


#include minigui.ch
REQUEST HB_GT_WIN_DEFAULT

Function Main()
   Local qac := QAC (Quiero Algo Comodo !!!) Console-Windows Mixed 
Mode Sample


   DEFINE WINDOW WMain ;
  AT 0, 0 ;
  WIDTH 600 ;
  HEIGHT 480 ;
  TITLE qac ;
  MAIN ;
  NOSHOW
   END WINDOW

   ACTIVATE WINDOW WMain NOWAIT

   ? qac
   ?  
   ? Running from 
   ?  
   ? MiniGuiVersion()
   ?  
   ? Version()
   ?  
   ? 1

   DEFINE WINDOW ExWinMain ;
  AT 0, 0 ;
  WIDTH 600 ;
  HEIGHT 480 ;
  TITLE qac ;
  CHILD ;

  DEFINE LABEL hola
 ROW 0
 COL 0
 VALUE Running from: 
 AUTOSIZE .T.
  END LABEL

  DEFINE LABEL hola2
 ROW 20
 COL 0
 VALUE MiniGuiVersion()
 AUTOSIZE .T.
  END LABEL

  DEFINE LABEL hola3
 ROW 40
 COL 0
 VALUE Version()
 AUTOSIZE .T.
  END LABEL

   END WINDOW

   CENTER WINDOW ExWinMain

   ACTIVATE WINDOW ExWinMain

   ? Version()
   ?  
   ? 2
   inkey(0)

   RELEASE WINDOW WMain

Return .t.

BestRegards
GVS



Massimo Belgrano escribió:
Is there anyway to have the Debug running in one window and the main 
application in other window?



How much is difficult having a gui debug?


from src\debug\  dbgmenu.prg i see same code that seem gui ready

LOCAL oMenu

MENU oMenu

MENUITEM  ~File 

MENU

MENUITEM  ~Open... ACTION oDebugger:Open()

MENUITEM  ~Resume ACTION oDebugger:Resume()

MENUITEM  O~S Shell ACTION oDebugger:OSShell()

SEPARATOR

MENUITEM  e~Xit Alt-X  ACTION oDebugger:Quit()

ENDMENU



--
Massimo Belgrano




inline: moz-screenshot-21.jpg___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour-users] Re: Se puede generar desde harbour archivosExceldesde Linux nativo/Can be generated from harbor native Excel files from Linux.

2010-02-17 Thread Guillermo Varona Silupú

Hola Angel, Completamente de acuerdo con lo expresado aqui.
De hecho aca en Perú, va a tener que seguir siendo asi, ya que la SUNAT, 
que es en ente recaudador de tributos aca en el Perú, la mayoría de sus 
aplicaciones  estan hechas con software y herramientas de MS, incluso 
aplicaciones Web que requieren de IE.
Por un lado tenemos al Gobierno que nos pide que usemos sus aplicaciones 
para tributar, sino te multan, y por otro lado esta INDECOPI y la BSA 
exigiendo la formalización y legalización del software de MS que la gran 
mayoría de PYMEs viene utilizando de manera ilegal.
En fin, pareciera que hubieran intereses, pero eso ya es harina de otro 
costal y yo aqui dejo el tema.


Muchas gracias a todos por sus comentarios y respuestas

Salu2,
GVS


Angel Pais escribió:

Hola Guillermo

No se puede tener todo en la vida. A mi también me gustaría tener un 
Mercedes Benz y pagarlo al precio de un Fiat.
Cuando tu cliente decidió pasar a Linux seguramente por motivos de 
dinero, también decidió prescindir de todas las herramientas de MS.

Por ende tendra que acostumbrarse a usar herramientas de formato abierto.
No es posible generar los formatos nuevos de excell desde código porque 
MS tiene una maraña de tipos de datos y encima no estan documentados.
Un amigo mio de españa intentó generarlas desde codigo y despues de 2 
meses de trabajo tiró el proyecto a la basura.
Lo que he hecho en empresas que quieren ahorrar dinero de licencias es 
migrar todas las estaciones de trabajo a Linux, pero mantener 1 o 2 en 
ambiente windows así pueden seguir usando su querido Excel.


Saludos !
Angel
-
English by google hand corrected:

You can not have everything in life. I, too, want a Mercedes Benz and 
pay the price of a Fiat.
When your client decided to switch to Linux probably for reasons of 
money, they decided get rid off all the tools of MS.

Therefore will have to get used to open format tools.
Is veru difficult to create new spreadsheets from code because MS has a 
mess of data types and they are not documented.
A friend of mine in Spain tried to generate them from code and after 2 
months of work threw the project into the trash.
What I have done in companies that want to save money on licensing is to 
migrate all workstations to Linux, but keeping 1 or 2 in windows 
environment so they can continue using their beloved Excel.


___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


[Harbour-users] Re: Se puede generar desde harbour archivos Excel desde Linux nativo / Can be generated from harbor native Excel files from Linux.

2010-02-16 Thread Guillermo Varona Silupú

Hola Angel y Agustianes, gracias por responder.

El punto es que ya tenía todo muy bonito en Windows con una rutina que 
exportaba a Excel, todo formateado con con formulas, colores, 
combinaciones de celdas, en varias hojas, búsquedas, etc, había llegado 
a utilizar el excel desde harbour de una forma mas o menos avanzada, y 
de pronto decidieron utilizar Ubuntu, pero que se siga generando la hoja 
Excel de la misma forma y mas aún sin ningún Windows virtual ni nada por 
el estilo que implique compra de licencias Windows u Office.

Entonces veo 2 salidas posibles:
1.- El Hint de Angel, utilizar HTML, pero, ¿Se puede hacer todo esto 
desde HTML? (Fórmulas, colores, búsquedas, etc)
2.- Generar el Archivo en OO y luego cargarlo desde OO y luego guardarlo 
en formato Excel.


Sinceramente, ninguna de las 2 salidas me parece elegante, ademas de que 
ambas opciones implicaría ponerme a aprender OO ó HTML desde cero para 
poder reproducir lo que hasta el momento tenía hecho con Excel.


¿Habrá alguna otra manera?

De antemano, Muchas Gracias.

[EN] By Google:

Hi Agustianes Hi Angel and thanks for responding.

The point is that I was all very nice in Windows with a routine that 
exported to Excel, all formatted with formulas, colors, combinations of 
cells on multiple sheets, searching, etc., had come to use Excel from 
harbor a form more or less advanced, and suddenly decided to use Ubuntu, 
but to continue generating the Excel sheet in the same way and yet apart 
from any Windows virtual or anything of the sort that involves purchase 
of Windows or Office license.

So I see 2 outputs are possible:
1 .- Angel Hint, use HTML, but what can be done all from HTML? 
(Formulas, colors, searches, etc)

2 .- Build the file and then load it from OO OO and save it in Excel format.

Frankly, none of the 2 outputs seems elegant, besides that both options 
would get to learn OO or HTML from scratch to reproduce what had 
hitherto done with Excel.


Is there another way?

In advance, Thank you.

Salu2,
GVS

Agustianes Umbara Suwardi escribió:
I don't know about Excel, but you can export your table as CSV that can 
be read by Excel or OOffice:


DbSelect('yourtable')
copy to exported.csv delimited

I usually export the table to CSV and then copy-paste it to Spreadsheet 
templates. It's a double effort but it works on me.


On 02/16/2010 05:39 AM, Angel Pais wrote:

El 15/02/2010 19:49, Guillermo Varona Silupú escribió:

Hola,
Se puede generar desde harbour archivos Excel desde Linux nativo.
¿Es posible esto?
¿Cómo?

[By Google]
Hi,
Can be generated from harbor native Excel files from Linux.
Is it possible?
How?

TIA

BestRegards
GVS


Hint: Excel and OO read html tables

HTH
Angel

___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


[Harbour-users] Re: Word , Excel or Openoffice ?

2010-02-16 Thread Guillermo Varona Silupú

Bruno Luciani escribió:

Exist a way to create a word or excel file from harbour and linux ?

Hola Bruno, andamos en las mismas, por aqui hay un hilo sobre este tema.


may be an openoffice file ?
El punto es que yo lo tengo en Excel y si lo hago en OO el problema 
estaría solucionado, pero tengo que ponerme a aprender los comandos de 
OO, ademas, por el momento el requerimiento es que se genere el archivo 
en Excel.

En fin, estoy viendo a ver que hay en la Web.

Salu2,
GVS

___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


[Harbour-users] Se puede generar desde harbour archivos Excel desde Linux nativo / Can be generated from harbor native Excel files from Linux.

2010-02-15 Thread Guillermo Varona Silupú

Hola,
Se puede generar desde harbour archivos Excel desde Linux nativo.
¿Es posible esto?
¿Cómo?

[By Google]
Hi,
Can be generated from harbor native Excel files from Linux.
Is it possible?
How?

TIA

BestRegards
GVS

___
Harbour-users mailing list (attachment size limit: 40KB)
Harbour-users@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour-users


[Harbour] Testing NetIO . . .

2010-01-22 Thread Guillermo Varona Silupú

[SPA]
Hola,
¿Cómo puedo recuperar los valores de un archivo Memo con NetIO?
Estuve jugando con netiot02.prg, pero obtengo este error:

[ENG]
Hi,
How can I retrieve values from a file memo with NetIO?
I was playing with netiot02.prg, but get this error:

===
D:\harbour\contrib\hbnetio\testsnetiot02

CONNECTING...
NETIO_CONNECT(): .F.

DATE() function is supported: .T.
QOUT() function is supported: .T.
HB_DATETIME() function is supported: .T.
DIRECTORY() function is supported: .T.
RESTORE FROM (__MVRestore()) function is supported: .T.

Archivo memo exists: .T.
Error BASE/1003  Variable does not exist: VM_POPE
Called from MAIN(80)
D:\harbour\contrib\hbnetio\testsVM_POPE
=

[SPA]
¿Porqué NETIO_CONNECT() siempre devuelve .F.?
El código fuente modificado es este:

[ENG]
Why NETIO_CONNECT () always returns. F.?
The modified source code is this:

--
/*
 * $Id: netiot02.prg 13542 2010-01-12 15:46:03Z vszakats $
 */

/*
 * Harbour Project source code:
 *demonstration/test code for RPC in NETIO
 *
 * Copyright 2010 Przemyslaw Czerpak druzus / at / priv.onet.pl
 * www - http://www.harbour-project.org
 *
 */


/* to execute this code run server (netiosrv) on the same machine
 * with support for RPC and topsecret password, i.e.:
 *netiosrv1 topsecret
 * then you can try to execute this code.
 * If you want to execute remotely any core functions then
 * uncomment this like in netiosrv.prg:
 *REQUEST __HB_EXTERN__
 * and rebuild it or link netiosrv with Harbour dynamic library
 * (-shared hbmk2 switch)
 */


/* few PP rules which allow to execute RPC function using
 * pseudo object 'net', i.e. ? net:date()
 */
#xtranslate net:!func!([params,...]) = ;
netio_funcexec( #func [,params] )
#xtranslate net:[server]:!func!([params,...]) = ;
netio_funcexec( [ #server + ] : + #func [,params] )
#xtranslate net:[server]:port:!func!([params,...]) = ;
netio_funcexec( [ #server + ] : + #port + : + #func ;
[,params] )

#xtranslate net:exists:!func! = ;
netio_procexists( #func )
#xtranslate net:exists:[server]:!func! = ;
netio_procexists( [ #server + ] : + #func )
#xtranslate net:exists:[server]:port:!func! = ;
netio_procexists( [ #server + ] : + #port + : + 
#func )



/* address of computer executing netiosrv,
 * change it if it's not the same machine
 */
#define NETSERVER  127.0.0.1
#define NETPORT2941
#define NETPASSWD  topsecret

#define DBMEMOnet: + NETSERVER + : + hb_ntos( NETPORT ) + : + ;
  NETPASSWD + : + Memo.GVS


proc main()

   SET DATE ANSI
   SET CENTURY ON

   /* connect to the server */
   ? CONNECTING...
   ? NETIO_CONNECT():, netio_connect( NETSERVER, NETPORT,, NETPASSWD )
   ?
   /* check if some function are available on server side */
   ? DATE() function is supported:,net:exists:DATE
   ? QOUT() function is supported:,net:exists:QOUT
   ? HB_DATETIME() function is supported:, net:exists:HB_DATETIME
   ? DIRECTORY() function is supported:, net:exists:DIRECTORY
   ? RESTORE FROM (__MVRestore()) function is supported:, 
net:exists:__MVRestore

   ?
   /* display text on server console */
   net:QOUT( repl( =, 70 ) )
   net:QOUT( This is RPC TEST, hb_datetime(), version(), date(), time() )
   net:QOUT( repl( =, 70 ) )
   ? Archivo memo exists:, net:dbExists( Memo.GVS )
*
net:__MVRestore( Memo.GVS , .T.)
? VM_POPE, VM_CANO
*
   /* execute some functions on the server side and display the results */
   ? SERVER DATE:, net:DATE()
   ? SERVER TIME:, net:TIME()
   ? SERVER DATETIME:, net:HB_DATETIME()
   ? LEN(aDir):,   LEN(net:DIRECTORY(*.*))
   ? LEN(aDir):,   net:DIRECTORY(*.*)[4,1]
   ? LEN(aDir):,   net:DIRECTORY(*.*)[5,1]
   ? net:upper( hello world !!! )
   ?

   /* close the connection to the server */
   ? NETIO_DISCONNECT():, netio_disconnect( NETSERVER, NETPORT )
return


Any Help/TIP?

TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: I generate 64-bit EXE from my WinXP SP3 Harbor (SVN) + inGW (all 32bit)?

2010-01-19 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:
It's not required. INSTALL describes both (and more) 
scenarios with runnable examples.


Very interesting, something he had read but did not know where.
Now to deal with the English.

Thanks Viktor, thanks Bruno by awakening the interest of the masters.

BestRegards
GVS

PS: I hope there's some kind soul here who can translate the Spanish INSTALL

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] I generate 64-bit EXE from my WinXP SP3 Harbor (SVN) + inGW (all 32bit)?

2010-01-18 Thread Guillermo Varona Silupú

Hello, I generate 64-bit EXE from my WinXP SP3 Harbor (SVN) + inGW (all
32bit)?
If yes, how?

TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error building tests of NetIO

2010-01-13 Thread Guillermo Varona Silupú

Hi, try compile server, I got this:

C:\harbour\contrib\hbnetio\testsd:\hrbmingw\bin\hbmk2 server.hbp -rebuild
hbmk2: Processing environment options: -compiler=mingw
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing configuration: d:\hrbmingw\bin\hbmk.cfg
hbmk2: Compiling Harbour sources...
Harbour 2.0.1dev (Rev. 13515)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'server.prg'...
Lines 12, Functions/Procedures 1
Generating C source output to '.hbmk\win\mingw\server.c'... Done.
hbmk2: Compiling...
hbmk2: Linking... server.exe
d:/hrbMinGW/lib/libhbnetio.a(netiosrv.o):netiosrv.c:(.text+0xb10): 
Undefined ref

erence to `hb_znetEncryptKey'
d:/hrbMinGW/lib/libhbnetio.a(netiosrv.o):netiosrv.c:(.text+0xcee): 
undefined ref

erence to `hb_znetEncryptKey'
d:/hrbMinGW/lib/libhbnetio.a(netiosrv.o):netiosrv.c:(.text+0x2109): 
undefined re

ference to `hb_hashGetCItemPtr'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk\win\mingw\server.o-mconsole -Wl,--start-group 
-lhbnetio -lhbne
tio -lhbvmmt -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage 
-lgtcgi -l
gtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd 
-lrddntx -lr
ddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr 
-lhbpp -lhbco
mmon -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool 
-lcomctl32 -lcom
dlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 
-lmsimg
32 -lwininet -lhbpcre -lhbzlib  -Wl,--end-group -oserver.exe 
-Ld:/hrbMinGW/lib


C:\harbour\contrib\hbnetio\tests

Any TIP

TIA

BestRegards

GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: demoqt and demoxbp successfully, when trying to compile hbide, I get errors

2010-01-01 Thread Guillermo Varona Silupú


jparada escribió:
Hi, 
I have succeeded to compile and run demoqt also demoxbp on Windows, but when
I try to compile hbmk2 hbide.hbp or hbmk2 hbide.hbp -LC:\Qt\4.6.0\lib . . . 


Try to compile with:
hbmk2 hbide.hbp -rebuild -LC:\Qt\4.6.0\lib (or -L C:\Qt\2009.04\qt\lib)

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: demoqt and demoxbp successfully, when trying to compile hbide, I get errors

2010-01-01 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:

It's enough to have HB_QT_WITH set.


... or HB_WITH_QT?

BestRegarsd
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: demoqt and demoxbp successfully, when trying to compile hbide, I get errors

2010-01-01 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:

Viktor Szakáts escribió:

It's enough to have HB_QT_WITH set.

... or HB_WITH_QT?


Yes, my typo.


Ok. tested, works perfect, no longer necessary -L

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Is there any example to print a DBF with QT?

2009-12-14 Thread Guillermo Varona Silupú

Is there any example to print a DBF with QT?

TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Is there any example to print a DBF with QT?

2009-12-14 Thread Guillermo Varona Silupú

Pritpal Bedi escribió:

Hi
Guillermo Varona wrote:

Is there any example to print a DBF with QT?


What you mean by print with QT'?
You can peep into HBXBP demos XbpBrowse() implementation.
Everything is under tour control, just hook in printing mechanism.



[SPA]
Quizás no me explique bien, me referia a poder utilizar los dialogos de 
impresión que utiliza QT, sobre todo la vista previa que tiene varias 
herramientas, incluida la impresión.
Estuve mirando el demo, pero esta bastante complejo para mi nivel de 
conocimiento, habrá algo mas sencillo de entender?

De todas formas, voy a seguir mirando esta poderosa contribución.
Muchas gracias Pritpal por este gran aporte

[ENG] by Google
Maybe I am not explaining well, I meant to use the print dialogues using 
QT, especially the preview that has several tools, including printing.
I watched the demo, but this rather complex for my level of knowledge, 
there will be something easier to understand?

Anyway, I'll keep watching this powerful contribution.
Pritpal thank you very much for this great contribution

BestRegards.
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Is there any example to print a DBF with QT?

2009-12-14 Thread Guillermo Varona Silupú

Thank you very much

BestRegards
GVS



Pritpal Bedi escribió:

Hi
Guillermo Varona wrote:

Anyway, I'll keep watching this powerful contribution.


Yes sure. Examine HBIDE.PRG :

/*--*/
//   Printing
/*--*/

METHOD HbIde:printPreview()
   LOCAL qDlg

   qDlg := QPrintPreviewDialog():new( QT_PTROFXBP( ::oDlg ) )
   qDlg:setWindowTitle( Harbour-QT Preview Dialog )
   Qt_Connect_Signal( qDlg:pPtr, paintRequested(QPrinter), {|o,p|
::paintRequested( p,o ) } )
   qDlg:exec()
   Qt_DisConnect_Signal( qDlg:pPtr, paintRequested(QPrinter) )

   RETURN self

/*--*/

METHOD HbIde:paintRequested( pPrinter )
   LOCAL qPrinter

   qPrinter := QPrinter():configure( pPrinter )

   ::qCurEdit:print( QT_PTROF( qPrinter ) )

   RETURN Self

/*--*/




Pritpal thank you very much for this great contribution



You are welcome.

Regards
Pritpal Bedi


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error building HbIDE

2009-12-10 Thread Guillermo Varona Silupú

Hi, This is:

C:\harbour\contrib\hbided:\hrbmingw\bin\hbmk2 hbide.hbp -rebuild 
-LC:\Qt\2009.04\qt\lib

hbmk2: Processing environment options: -compiler=mingw
hbmk2: Compiling Harbour sources...
Harbour 2.0.0beta3 (Rev. 13197)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'hbide.prg'...
Lines 6388, Functions/Procedures 52
Generating C source output to '.hbmk\win\mingw\hbide.c'... Done.
Compiling 'idestylesheets.prg'...
Lines 6620, Functions/Procedures 1
Generating C source output to '.hbmk\win\mingw\idestylesheets.c'... Done.
Compiling 'idetags.prg'...
Lines 9786, Functions/Procedures 4
Generating C source output to '.hbmk\win\mingw\idetags.c'... Done.
Compiling 'idemisc.prg'...
Lines 13142, Functions/Procedures 22
Generating C source output to '.hbmk\win\mingw\idemisc.c'... Done.
Compiling 'ideactions.prg'...
Lines 16030, Functions/Procedures 2
Generating C source output to '.hbmk\win\mingw\ideactions.c'... Done.
hbmk2: Compiling...
hbmk2: Linking... hbide.exe
d:/hrbMinGW/lib/libhbqt.a(hbqt_base.o):hbqt_base.cpp:(.text+0xeb): 
undefined ref

erence to `getprocessmemoryi...@12'
d:/hrbMinGW/lib/libhbqt.a(hbqt_base.o):hbqt_base.cpp:(.text+0x17b): 
undefined reference to `getprocessmemoryi...@12'

collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk\win\mingw\hbide.o .hbmk\win\mingw\idestylesheets.o 
.hbmk\win\mingw
\idetags.o .hbmk\win\mingw\idemisc.o .hbmk\win\mingw\ideactions.o 
.hbmk\win\ming
w\ideparseexpr.o .hbmk\win\mingw\_hbmkaut.o-mwindows 
-Wl,--start-group -lhbx
bp -lhbqt -lhbqtcore -lhbqtgui -lhbqtnetwork -lversion -lshlwapi 
-lQtCore4 -lQtG
ui4 -lQtNetwork4 -lQtUiTools -lsupc++ -lhbextern -lhbdebug -lhbvm 
-lhbrtl -lhbla
ng -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd 
-lhbuddall
-lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix 
-lhbmacro
 -lhbcplr -lhbpp -lhbcommon -lkernel32 -luser32 -lgdi32 -ladvapi32 
-lws2_32 -lwi
nspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr 
-lwinmm -
lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib  -Wl,--end-group 
-ohbide.e

xe -Ld:/hrbMinGW/lib -L/../lib -LC:/Qt/2009.04/qt/lib

C:\harbour\contrib\hbide

Any TIP?

TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Error building HbIDE

2009-12-10 Thread Guillermo Varona Silupú

Bisz István escribió:

Without having so much time to analyze your details... Please try:
d:\hrbmingw\bin\hbmk2 hbide.hbp -rebuild -lpsapi 


Thanks very much, now work ok.

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Error building HbIDE

2009-12-10 Thread Guillermo Varona Silupú

Bisz István escribió:

You're welcome. But see last commit now is default thanks to Viktor.


Ok. Thank very much

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: testing demoxbp.prg fail with the browse

2009-12-03 Thread Guillermo Varona Silupú

Pritpal Bedi escribió:

Hi


Guillermo Varona wrote:

Hello, I'm trying demoxbp.prg, successfully building the exe, but when I
go through the browse with the mouse wheel or cursor keys the program is
short (failure) when you want to change pages



I cannot reproduce error you are reporting. 


[SPA]
Efectivamente, ahora estoy probando en otro PC y no me sale el problema 
que estaba reportando.
Probare nuevamente en el PC de mi casa, que es donde falla para alcanzar 
mas detalles.
Por favor, alguien más le sucede esto o podría probar, el problema es 
con el browse y sucede cuando quiero bajar por los items, con la rueda 
del mouse o con las teclas de cursor (tecla abajo).


[ENG] By Google
Indeed, now I'm trying on another PC and do not leave me he was 
reporting the problem.

Proves again in my home PC, where failure to achieve more details.
Please, someone else could this happen to you or prove the problem is 
with the browse and happens when I walk down the items with the mouse 
wheel or cursor keys (key below).


TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Build a self-contained application with QT

2009-12-03 Thread Guillermo Varona Silupú

Bruno Luciani escribió:

Si se puede usando Qt static y HBQTS
en windows al menos , no he probado en linux


Hola Bruno, Gracias por responder.
Sobre el tema, podrías indicarme cómo hay que hacer para lograr esto.
¿Hay que construir Harbour de alguna manera especial?
¿Hay algun ejemplo en el SVN? (al menos de los que pude ver no se si son 
 los que necesito, de momento lo que necesitaria es por lo menos un 
Hola mundo que lo pueda llevar en un USB y ejecutarlo en cualquier PC)


Gracias de Antemano.

Salu2
GVS



Saludos
Bruno


2009/12/2 Guillermo Varona Silupú 
gvar...@ec-red.com 
mailto:gvar...@ec-red.com


[SPA]
Hola,
¿Se puede construir una aplicación autocontenida con QT?
Es decir que se genere un solo EXE que contenga librerias, recursos,
etc, de manera que se pueda ejecutar en cualquier PC, obviamente con
el SO para el cual se genero el EXE.


yes it is posible using QT STATIC libraries and HBQTS
unless in windows

Regards
Bruno


[ENG] By Google
Hi,
Can you build a self-contained application with QT?
Ie, they generate a single EXE that contains libraries, resources,
etc. so that you can run on any PC, obviously with the OS to which
genre the EXE.

TIA

Bestregards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
mailto:Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour




___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Build a self-contained application with QT

2009-12-03 Thread Guillermo Varona Silupú

Thanks very much

BestRegards
GVS

Massimo Belgrano escribió:

English Translation of message by GVS

Hello Bruno, Thanks for responding. 
On the subject, you could tell me how to do to accomplish this. 
Should we build Harbor somehow special? 
Is there any example in the SVN? (at least those I could see if they are 
not need, for now it would need is at least a Hello world that could 
carry a USB and run it on any PC) 

Thanks in advance. 


Regard
GVS 


--
Massimo Belgrano




___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Build a self-contained application with QT

2009-12-03 Thread Guillermo Varona Silupú

[SPA]
Angel Pais escribió:

Guillermo:
El linkeado del programa de forma estatica nbo tiene nada que ver con 
poder ejecutarse en un pendrive. Si pones el exe con las dll en el 
pen-drive puede ejecuarlo igual.


Ok. Angel, muchas gracias por la aclaración, sin embargo, aun sigo 
confundido, pense que en estático todo se podia embeber dentro del EXE 
y que no depende de ningun archvio mas, pero segun me explicas, siempre 
va a ser necesario llevarl las dll.
La siguiente cuestión sería: ¿Cuál es la diferencia entre dinámico y 
estático?


Por otra parte si linkeas tu programa de forma estatica estas obligado 
por la licencia de qt a hacerlo open source.
Buen, debido al problema de la barrera idiomática (la licencias están en 
inglés), supongo que no he interpretado / traducido correctamente esta 
parte.


[ENG] By Google
Angel Pais wrote:
 Guillermo:
 The Link of a static program nbo has nothing to do with
 Run on a pendrive. If you put the exe to dll in
 Pen-drive can be executing the same.

Ok. Angel, thank you very much for the clarification, however, while 
still confused, I thought that in static Everything could embed into 
the EXE and it does not require a archvio more, but he told me, always 
going to be necessary dll llevarl .

The next question is: What is the difference between dynamic and static?

 Furthermore If link your program statically're obligated
 From qt license to make it open source.
Good, because the problem of language barrier (the licenses are in 
English), I guess I have not interpreted / translated correctly this part.


BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Build a self-contained application with QT

2009-12-02 Thread Guillermo Varona Silupú

[SPA]
Hola,
¿Se puede construir una aplicación autocontenida con QT?
Es decir que se genere un solo EXE que contenga librerias, recursos, 
etc, de manera que se pueda ejecutar en cualquier PC, obviamente con el 
SO para el cual se genero el EXE.


[ENG] By Google
Hi,
Can you build a self-contained application with QT?
Ie, they generate a single EXE that contains libraries, resources, etc. 
so that you can run on any PC, obviously with the OS to which genre the EXE.


TIA

Bestregards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] testing demoxbp.prg fail with the browse

2009-12-02 Thread Guillermo Varona Silupú

[SPA]
Hola, estoy probando demoxbp.prg, genero correctamente el exe, pero
cuando quiero navegar por el browse con la rueda del mouse o con las
teclas del cursor el programa se corta (falla) cuando quiere cambiar de
página

[ENG] By Google
Hello, I'm trying demoxbp.prg, successfully building the exe, but when I
go through the browse with the mouse wheel or cursor keys the program is
short (failure) when you want to change pages

TIA

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] hbformat, Where is the error?

2009-11-18 Thread Guillermo Varona Silupú

Hello friends, this piece of code, where is the mistake?

Start Code
procedure main

IF BloqueaDbf(10)
  @ 24,0 SAY PADR('Buscando y quitando informaci¢n generada 
anteriormente . . .Espere por favor',80) COLOR Color5

  IF nTipo#3
 DELE FOR Estado='K'; lOk := .T.
  ELSE
 DBGOTOP()
 lOkDiaC := .T. // Se quitaron todas las cabeceras
 lOkDiaD := .T. // Se quitaron todos los detalles
 DO WHILE !EOF()
IF Estado='K'
   SELE DiaD
   DBSEEK(DiaC-Num_Compro)
   DO WHILE DiaC-Num_Compro==Num_Compro .AND. !EOF()
  IF BloqueaReg(10); DBDELETE()
  ELSE;  lOkDiaD := .F. // No se pudo Bloquear 
algun detalle

  ENDIF
  DBSKIP()
   ENDDO
   SELE DiaC
   IF BloqueaReg(10); DBDELETE()
   ELSE;  lOkDiaC := .F. // No se pudo Bloquear 
alguna Cabecera

   ENDIF
ENDIF
DBSKIP()
 ENDDO
 IF !lOkDiaC; ALERT(No se pudo Bloquear algun documento; Por 
seguridad, Debe repetir el proceso ); ENDIF
 IF !lOkDiaD; ALERT(No se pudo Bloquear algun item de documento; 
Por seguridad, Debe repetir el proceso ); ENDIF

  ENDIF
ELSE
  ALERT('Proceso Terminado; No se pudo Bloquear '+IF(nTipo=1,'Reg. de 
Compras',IF(nTipo=2,'Reg. de Ventas','Arch. de Diario'))+' . . . '); lOk 
:= .F.

ENDIF
return

FUNCTION Bloqueareg()
return .t.

FUNCTION Bloqueadbf()
return .t.
End Code

Output HBFormat:

D:\SyS_GVS\Cont\JA\hrbmingw\bin\hbformat -lFCaseLow=yes depura.prg
Reformatting depura.prg

Error  3 on line 20 : ENDDO

Output HBMK2:

D:\SyS_GVS\Cont\JA\hrbmingw\bin\hbmk2 depura.prg
hbmk2: Processing environment options: -compiler=mingw
Harbour 2.0.0beta3 (Rev. 12923)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'depura.prg'...
Lines 41, Functions/Procedures 3
Generating C source output to 'depura.c'... Done.
D:\SyS_GVS\Cont\JA

. . . and generates EXE

Any help / tip is welcome

TIA

BestRegards
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: HBIDE - An Overview

2009-11-17 Thread Guillermo Varona Silupú

Wich is the actual situation of hbcommand (% complete)
HbQtCommand is a wrapper to compile Harbour/MiniGui programs using HBQT library.
http://sourceforge.net/projects/hbqtcommand/


I really do not know.
Just download the latest SVN, I did some tests and stay there.

BestRegards
GVS

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] How can I tell the make to generate I harbor a specific folder?

2009-11-12 Thread Guillermo Varona Silupú

Haciendo esto me funciono:

I worked doing this:

guille...@guillermo-ubuntu:~/harbour$ export
HB_INSTALL_PREFIX=/home/guillermo/hrbMinGW

Best Regards
GVS


Guillermo Varona Silupú escribió:

ENV: Ubuntu 8.04

[SPA]
¿Cómo puedo indicarle al make para que me genere harbour en una carpeta
especifica?
Yo estoy haciendo esto:

[ENG] By Google
How can I tell the make to generate I harbor a specific folder?
I'm doing this:

guille...@guillermo-ubuntu:~/harbour$ export
HB_INSTALL=/home/guillermo/hrbMinGW
guille...@guillermo-ubuntu:~/harbour$ make install
! Building Harbour 2.0.0beta3 from source - 
http://www.harbour-project.org

! MAKE: make 3.81 /bin/sh install
! HB_HOST_PLAT: linux (x86_64)  HB_SHELL: sh
! HB_PLATFORM: linux (x86_64) (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! Component: 'zlib' found in /usr/include
! Component: 'pcre' found in /home/guillermo/harbour/external/pcre 
(local)

! Component: 'openssl' not found
! Component: 'gpm' not found
! Component: 'slang' not found
! Component: 'curses' not found
! Component: 'x11' found in /usr/include
! Component: 'wattcp/watt-32' not supported on linux platform
! HB_INSTALL_PREFIX automatically set to: /usr/local
! REVISION: 12863M
make[2]: No se hace nada para `install'.
mkdir: no se puede crear el directorio «/usr/local/include/harbour»:
Permiso denegado
! Can't install, path not found: '/usr/local/include/harbour'
make[1]: *** [install] Error 1
make: *** [include.inst] Error 2
guille...@guillermo-ubuntu:~/harbour$


Any Tip?

TIA

Best Regards

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour




___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] How can I tell the make to generate I harbor a specific folder?

2009-11-12 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:

I'd kindly ask to pose these question on users forums.
  

Ok. Thank you very much

Best Regards
GVS

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Starting in the use of Harbor with Ubuntu

2009-11-11 Thread Guillermo Varona Silupú

Ok, Bruno and Barry
Thank you very much

Best Regards
GVS

Barry Jackson escribió:

On 11/11/09 00:44, Bruno Luciani wrote:



2009/11/10 Guillermo Varona Silupú gvar...@ec-red.com
mailto:gvar...@ec-red.com

[SPA]
Iniciandome en el uso de Harbour con Ubuntu
Hola, estoy iniciandome en el uso de Harbour bajo Ubuntu y solicito
su amable atención a las siguientes preguntas:
1. Qué distribución de Linux utilizan, he elejido Ubuntu por que fue
lo primero que pude bajar e instalar. ¿Cuál me recomiendan?
2. Que editor o IDE utilizan, en Windows utilizo xMate, habra algo
similar en Ubuntu


Guillermo Uso Ubuntu sin problemas actualizado a 9.10  compila
descargando del SVN y teniendo instalado  Build essentials
como editor me gusta KATE

Saludos

Bruno


[ENG] By Google
Starting in the use of Harbor with Ubuntu
Hello, I'm starting to use Harbor under Ubuntu and I request your
kind attention to the following questions:
1. What distribution of Linux use, I Elected Ubuntu was the first
thing that I could download and install. What do you recommend?
2. That editor or IDE used in xMate use Windows, there will be
something similar in Ubuntu


I use Ubuntu last version 9.10 without problems , harbour compiles ok
using SVn version , and you need Build Essentials installed

As editor I like Kate


Regards

Bruno


TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org mailto:Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour




___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Mandriva Linux 2010.0 works fine for me. ( New release just out) 
Dolphin file manager in KDE4 has handy terminal feature on F4 and 
likewise I agree, Kate is an excellent editor with sessions saving to 
keep all projects organised.

Barry

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour




___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] How can I tell the make to generate I harbor a specific folder?

2009-11-11 Thread Guillermo Varona Silupú

ENV: Ubuntu 8.04

[SPA]
¿Cómo puedo indicarle al make para que me genere harbour en una carpeta
especifica?
Yo estoy haciendo esto:

[ENG] By Google
How can I tell the make to generate I harbor a specific folder?
I'm doing this:

guille...@guillermo-ubuntu:~/harbour$ export
HB_INSTALL=/home/guillermo/hrbMinGW
guille...@guillermo-ubuntu:~/harbour$ make install
! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh install
! HB_HOST_PLAT: linux (x86_64)  HB_SHELL: sh
! HB_PLATFORM: linux (x86_64) (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! Component: 'zlib' found in /usr/include
! Component: 'pcre' found in /home/guillermo/harbour/external/pcre (local)
! Component: 'openssl' not found
! Component: 'gpm' not found
! Component: 'slang' not found
! Component: 'curses' not found
! Component: 'x11' found in /usr/include
! Component: 'wattcp/watt-32' not supported on linux platform
! HB_INSTALL_PREFIX automatically set to: /usr/local
! REVISION: 12863M
make[2]: No se hace nada para `install'.
mkdir: no se puede crear el directorio «/usr/local/include/harbour»:
Permiso denegado
! Can't install, path not found: '/usr/local/include/harbour'
make[1]: *** [install] Error 1
make: *** [include.inst] Error 2
guille...@guillermo-ubuntu:~/harbour$


Any Tip?

TIA

Best Regards

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Current Record of work areas show different results with debugging

2009-11-09 Thread Guillermo Varona Silupú

[SPA]
Current Record de estado de las areas de trabajo muestra resultados 
diferentes con el debug.

Tengo 2 aplicaciones compiladas con el mismo entorno de trabajo.
Porqué el estado de las areas de trabajo me muestra información de los 
campos en forma diferente en la parte de Current Record.
Mientras que en una me muestra correctamente el nombre del campo, en la 
otra me muestra la expresión FIELDGET: Función

Adjunto pantallazos.
[ENG] By google
Current Record Status of work areas show different results with debugging.
I have 2 applications compiled with the same working environment.
Why the state of my work areas of the fields displays information 
differently on the part of Current Record.
While on a correctly shows me the field name in the other shows me the 
term FIELDGET: Function

Deputy screenshots.

TIA

BestRegards
GVS

File Locate View Run Point Monitor Options Window Help
╔[■]═ XINKEY.PRG File not found 
══╗

║ ┌[■]─ Area ─┬─── Status ───┬ Structure ┐ ║
║ │INDICES │Alias: INDICES Record:59/98 │ARCHIVODBF C 12 0│ ║
║ │DISP │ BOF: No Deleted: No │ARCHIVONTX C 12 0│ ║
║ │DOLAR │ EOF: No Found: No │CLAVE C 80 0│ ║
║ │COPG │Filter: │ │ ║
║ │OPST │ Key: ArchivoDbf + ArchivoNtx │ │ ║
║ │LOGU ├──┤ │ ║
║ │CLPR │ DBFCDX │ │ ║
║ │CUEN │ Workarea Information │ │ ║
║ │BAN_ │ Select Area: 1 │ │ ║
║ │CENC │ Record Size: 105 │ │ ║
║ │FACT │ Header Size: 130 │ │ ║
║ │VTAS │ Field Count: 3 │ │ ║
║ │NUME │ Last Update: 13/09/09 │ │ ║
║ │MAYC │ Index order: 1 │ │ ║
║ │MAYD │ Current Record │ │ ║
╚══│ │ ARCHIVODBF = Rp │ │╝
┌[■│ │ ARCHIVONTX = Rp │ │┐
│ │ │ CLAVE = Orden │ │ │
│ └───┴──┴───┘ │
│ │
└──┘

File Locate View Run Point Monitor Options Window Help
╔[■]═ XINKEY.PRG File not found 
══╗

║ ┌[■]─ Area ─┬─── Status ───┬ Structure ┐ ║
║ │INDICES │Alias: INDICES Record:59/98 │ARCHIVODBF C 12 0│ ║
║ │DISP │ BOF: No Deleted: No │ARCHIVONTX C 12 0│ ║
║ │DOLAR │ EOF: No Found: No │CLAVE C 80 0│ ║
║ │COPG │Filter: │ │ ║
║ │OPST │ Key: ArchivoDbf + ArchivoNtx │ │ ║
║ │LOGU ├──┤ │ ║
║ │CLPR │ DBFCDX │ │ ║
║ │CUEN │ Workarea Information │ │ ║
║ │BAN_ │ Select Area: 1 │ │ ║
║ │CENC │ Record Size: 105 │ │ ║
║ │FACT │ Header Size: 130 │ │ ║
║ │VTAS │ Field Count: 3 │ │ ║
║ │NUME │ Last Update: 13/09/09 │ │ ║
║ │MAYC │ Index order: 1 │ │ ║
║ │MAYD │ Current Record │ │ ║
╚══│ │ ARCHIVODBF = FIELDGET: Función│ │╝
┌[■│ │ ARCHIVONTX = FIELDGET: Función│ │┐
│ │ │ CLAVE = FIELDGET: Función│ │ │
│ └───┴──┴───┘ │
│ │
└──┘




___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [?? Probable Spam] Re: [Harbour] about Netio

2009-11-02 Thread Guillermo Varona Silupú

Alex Strickland escribió:

Viktor Szakáts wrote:


Now I am compiling with the command line (adding hbmemio):
D:\harbour\contrib\hbnetio\tests\hrbmingw\bin\hbmk2 netiotst -lhbmemio


hbmemio and hbnetio are two different things. -lhbmemio not needed.
hbmemio has *nothing* to do with .mem files. It is for use with an RDD 
and the dbf files etc will be stored in memory. hbnetio is used to 
work with an RDD across a network.

Ok. Alex, Thank very much.

BestRegards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] about Netio

2009-11-02 Thread Guillermo Varona Silupú

Petr Chornyj escribió:

Guillermo Varona wrote:
  

Menu.o:Menu.c:(.data+0x12e8): undefined reference to `HB_FUN_NETIO'



Can you see a difference between HB_FUN_NETIO and HB_FUN_HB_NETIO?
  

Sure!
I did this for testing.
I already have somewhat clarified the issue.
Thank you.

BestRegards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: R: [Harbour] How do I know if the button was pressed?

2009-09-17 Thread Guillermo Varona Silupú

Thank you very much Mauricio.
I solved the problem with a mixture of MLEFTDOWN(), MROW() and MCOL()

Best Regarsd
GVS


Maurizio la Cecilia escribió:

I think that when cVar1 get lost his focus and valid clause is evaluated the
pushbutton hit focus but not yet sets the buffer property.
You could try with:

FUNCTION Func1(xVar1, xGetList) 
RETURN xGetList[3]:hasFocus .or. !EMPTY(xVar1) 


Not tested, however, as i don't use cl53 behaviour.
Best regards.
Maurizio la Cecilia   

 

  

-Messaggio originale-
Da: Guillermo Varona Silupú [mailto:gvar...@ec-red.com] 
Inviato: giovedì 17 settembre 2009 0.31

A: Harbour Project Main Developer List.
Oggetto: [Harbour] How do I know if the button was pressed?

In this code:
**
#include Inkey.ch
PROCEDURE Main
LOCAL cVar1 := cVar2 := SPAC(10), oPsw, GetList := {}, lBtn := .T.
SET(_SET_EVENTMASK, INKEY_ALL)
MSETCURSOR(.T.)
SETMODE(25,80)
CLS
@ 10, 10 SAY Entrada1: GET cVar1 VALID Func1(cVar1,GetList)
@ 11, 10 SAY Entrada2: GET cVar2
@ 12, 10 GET lBtn PUSHBUTTON CAPTION  Exit  STATE {|| 
ReadKill(.T.)} 
COLOR W/G,W+/G,G/N,W+/G

READ
return

FUNCTION Func1(xVar1, xGetList)
? xGetList[3]:buffer
wait
RETURN !EMPTY(xVar1)
*
How do I know if the button was pressed?

Buffer is supposed to contain this information, but always returns NIL
The idea is to exit the program by pressing the button, even if this 
cVar1 empty, but the VALID clause does not.


Any help / idea?

TIA
Best Regards
GVS






___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


  


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] How do I know if the button was pressed?

2009-09-16 Thread Guillermo Varona Silupú

In this code:
**
#include Inkey.ch
PROCEDURE Main
LOCAL cVar1 := cVar2 := SPAC(10), oPsw, GetList := {}, lBtn := .T.
SET(_SET_EVENTMASK, INKEY_ALL)
MSETCURSOR(.T.)
SETMODE(25,80)
CLS
@ 10, 10 SAY Entrada1: GET cVar1 VALID Func1(cVar1,GetList)
@ 11, 10 SAY Entrada2: GET cVar2
@ 12, 10 GET lBtn PUSHBUTTON CAPTION  Exit  STATE {|| ReadKill(.T.)} 
COLOR W/G,W+/G,G/N,W+/G

READ
return

FUNCTION Func1(xVar1, xGetList)
? xGetList[3]:buffer
wait
RETURN !EMPTY(xVar1)
*
How do I know if the button was pressed?

Buffer is supposed to contain this information, but always returns NIL
The idea is to exit the program by pressing the button, even if this 
cVar1 empty, but the VALID clause does not.


Any help / idea?

TIA
Best Regards
GVS

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Exist PICTURE for password with GET?

2009-09-08 Thread Guillermo Varona Silupú

Przemyslaw Czerpak escribió:

On Tue, 08 Sep 2009, Guillermo Varona Silupú wrote:
  

PROCEDURE Main
LOCAL cVar1 := cVar2 := SPAC(10), oPsw //, GetList


[...]
  

AADD(GetList, oPsw)


[...]
  

Just an observation:
Why not work with getList LOCAL?



Because it's NIL. You have to initialize it to be an array:
   local GetList := {}
  

Thanks Pzremek.
now work fine.

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Exist PICTURE for password with GET?

2009-09-08 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:

Hi,
Please check the end of source/rtl/tget.prg, there you
can find which parameters need to be passed to hb_get():new()
to create a new instance. The parameters are the same as
for GetNew(), you can find a GetNew() example in tests/rto_get.prg.
Then you can add the created get object to GetList and
use READ.

Thanks Viktor
The example was as follows:

PROCEDURE Main
LOCAL cVar1 := cVar2 := SPAC(10), oPsw //, GetList
SETMODE(25,80)
CLS
@ 10, 10 SAY Entrada con GET Normal: GET cVar1
@ 11, 10 SAY Entrada con PSW ..:
* Creo una nueva instancia
oPsw := HB_GET():new(11, 34, { | x | iif( x == NIL, cVar2, cVar2 := x ) 
}, cVar2,, W+/N,BG/N )

oPsw:hideInput := .T.
AADD(GetList, oPsw)
READ
return

Just an observation:
Why not work with getList LOCAL?
TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Exist PICTURE for password with GET?

2009-09-08 Thread Guillermo Varona Silupú

Thanks Mario.

Best Regards
GVS

Mario H. Sabado escribió:

Hi GVS,

Viktor Szakáts escribió:
  

 Hi,
 Please check the end of source/rtl/tget.prg, there you
 can find which parameters need to be passed to hb_get():new()
 to create a new instance. The parameters are the same as
 for GetNew(), you can find a GetNew() example in tests/rto_get.prg.
 Then you can add the created get object to GetList and
 use READ.
  

Thanks Viktor
The example was as follows:

PROCEDURE Main
LOCAL cVar1 := cVar2 := SPAC(10), oPsw //, GetList
SETMODE(25,80)
CLS
@ 10, 10 SAY Entrada con GET Normal: GET cVar1
@ 11, 10 SAY Entrada con PSW ..:
* Creo una nueva instancia
oPsw := HB_GET():new(11, 34, { | x | iif( x == NIL, cVar2, cVar2 := x ) 
}, cVar2,, W+/N,BG/N )

oPsw:hideInput := .T.
AADD(GetList, oPsw)
READ
return

Just an observation:
Why not work with getList LOCAL?
TIA

Best Regards
GVS


I think GetList should be initialized with empty array (GetList:={})

Regards,
Mario
  



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
  


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Exist PICTURE for password with GET?

2009-09-07 Thread Guillermo Varona Silupú

Hi
¿Alguién tendrá algun ejemplo del uso de la clase HB_GET?

[Powered by Google]
Does anyone have any example of using class HB_GET?

TIA

Best Regars
GVS


gvarona escribió:

Viktor Szakáts escribió:

Harbour has an extended GET class called HB_GET, which
has this functionality. It can be enabled via ::hideInput( .T. )
method call.


Hi Viktor, How use this extended?
I have this, but not work.
PROCEDURE Main
LOCAL cVar := SPAC(10)
oGet := HB_GET()
oGet:name := cVar
oGet:row := 10
oGet:col := 10
oGet:hideInput := .T.
oGet:style := #
? oget:name
? oget:style
wait
READ
READMODAL({oGet})
? cVar
return
Help please
TIA
Best regards
GVS
---
EC Red Internet g...@tis
Inscríbete en www.ec-red.com
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour




___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Cannot start server

2009-09-04 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:

Cannot start server.
I'm using this HBP
#
# $Id: uhttpd2.hbp 11370 2009-06-15 18:22:09Z vszakats $
#

server.prg
-lhbnetio
-mt
-lhbvmmt.a


Never add any Harbour core libs to hbmk2 command lines or hbp files.

Ok. Thanks Viktor.

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Cannot start server

2009-09-01 Thread Guillermo Varona Silupú

dru...@users.sourceforge.net escribió:

. . .
  To create NETIO server is enough to compile and link with MT HVM
  this code:
  

***server.prg

 proc main()
local pListenSocket

pListenSocket := netio_mtserver()
if empty( pListenSocket )
   ? Cannot start server.
else
   wait Press any key to stop NETIO server.
   netio_serverstop( pListenSocket )
   pListenSocket := NIL
endif
 return
  

***- server.prg

Env: WinXP Pro SP3 + Harbour +MinGW

Hi, I'm testing star server, but get this:

Cannot start server.

I'm using this HBP
#
# $Id: uhttpd2.hbp 11370 2009-06-15 18:22:09Z vszakats $
#

server.prg
-lhbnetio
-mt
-lhbvmmt.a

Any TIP?

TIA

Best Regards
GVS


P.D.: Sorry for me bad english

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Cannot start server

2009-09-01 Thread Guillermo Varona Silupú


Ok. reading all post, now work fine

Best Regards
GVS

Guillermo Varona Silupú escribió:

dru...@users.sourceforge.net escribió:

. . .
  To create NETIO server is enough to compile and link with MT HVM
  this code:
  

***server.prg

 proc main()
local pListenSocket

pListenSocket := netio_mtserver()
if empty( pListenSocket )
   ? Cannot start server.
else
   wait Press any key to stop NETIO server.
   netio_serverstop( pListenSocket )
   pListenSocket := NIL
endif
 return
  

***- server.prg

Env: WinXP Pro SP3 + Harbour +MinGW

Hi, I'm testing star server, but get this:

Cannot start server.

I'm using this HBP
#
# $Id: uhttpd2.hbp 11370 2009-06-15 18:22:09Z vszakats $
#

server.prg
-lhbnetio
-mt
-lhbvmmt.a

Any TIP?

TIA

Best Regards
GVS


P.D.: Sorry for me bad english

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour




___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Value of fields in the DBF file, appears: FIELDGET: Function

2009-08-06 Thread Guillermo Varona Silupú

Hi :
In debug mode, why not show the value of fields in the DBF file?.
In its place appears: FIELDGET: Function
┌[■]─ Area ─┬─── Status ───┬ Structure ┐
│INDICES │Alias: MOVR Record:1653/1653│NUM_TRAN N 5 0│
│DISP │ BOF: No Deleted: No │TIP_DOCU C 2 0│
│GRUP │ EOF: No Found: Yes │FEC_DOCR D 8 0│
│DOLAR │Filter: │DOC_RSER C 4 0│
│MAST │ Key: Num_Tran │DOC_RCOR C 10 0│
│CLPR ├──┤DES_DOCR C 60 0│
│CUEN │ Last Update: 06/08/09 │STATUS_R C 1 0│
│NUME │ Index order: 1 │USUARIO C 5 0│
│MOVC │ Current Record │ULT_MODI D 8 0│
│MOVR │ NUM_TRAN = FIELDGET: Función│PUN_PART C 60 0│
│MOVD │ TIP_DOCU = FIELDGET: Función│PUN_LLEG C 60 0│
│OPST │ FEC_DOCR = FIELDGET: Función│FEC_INTR D 8 0│
│CENC │ DOC_RSER = FIELDGET: Función│RUC_DEST C 11 0│
│TIDO │ DOC_RCOR = FIELDGET: Función│RUC_TRAN C 11 0│
│ │ DES_DOCR = FIELDGET: Función│MAR_UNTR C 20 0│
│ │ STATUS_R = FIELDGET: Función│NUM_PLAC C 10 0│
│ │ USUARIO = FIELDGET: Función│NUM_CONS C 15 0│
│ │ ULT_MODI = FIELDGET: Función│NUM_LICE C 15 0│
└───┴──┴───┘


TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] How can create a library with hbmk2?

2009-05-20 Thread Guillermo Varona Silupú

Barry Jackson escribió:

Guillermo Varona Silupú wrote:

Massimo Belgrano escribió:

hbmk2 myprg.PRG myprg2.PRG  -hblib -omylib.lib
Thank you Massimo, I have just discovered in a previous post of yours 
and it works fine.


Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Does this also work?
hbmk2 @myprglist.txt -hblib -omylib.lib

Yes, it works.

I used this:
hbmk2 @abraxas.hbp -b -m -hblib -oAbraxasMinGW

Best Regards
GVS


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] How can create a library with hbmk2?

2009-05-20 Thread Guillermo Varona Silupú

Guillermo Varona Silupú escribió:

Barry Jackson escribió:

Guillermo Varona Silupú wrote:

Massimo Belgrano escribió:

hbmk2 myprg.PRG myprg2.PRG  -hblib -omylib.lib
Thank you Massimo, I have just discovered in a previous post of 
yours and it works fine.


Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Does this also work?
hbmk2 @myprglist.txt -hblib -omylib.lib

Yes, it works.

20/05/2009  08:21 a.m.*_93,528_* LibAbrxMinGw.a


I used this:
hbmk2 @abraxas.hbp -b -m -hblib -oAbraxasMinGW

20/05/2009  08:34 a.m.   _*115,614*_ libAbraxasMinGW.a

Best Regards
GVS



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] How can create a library with hbmk2?

2009-05-20 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:

Does this also work?

hbmk2 @myprglist.txt -hblib -omylib.lib



Yes, it does. Also 'hbmk2 *.prg -hblib -omylib' works.
  


I tried this:

D:\SyS_GVS\ABRAXAS\PRGd:\hrbmingw\bin\hbmk2 *.prg -hblib -oAbrAll
hbmk: Processing configuration: d:\hrbmingw\bin\hbmk.cfg
hbmk: Error: No source files were specified.

and does not work

Best Regards
GVS


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] How can create a library with hbmk2?

2009-05-20 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:

Sorry I cannot reproduce this problem. Pls check if you have .prg
in your dir and using latest version.
  

In my folder (dir) i have:

D:\SyS_GVS\ABRAXAS\PRGdir
El volumen de la unidad D es ACERDATA
El número de serie del volumen es: B4D2-293B
Directorio de D:\SyS_GVS\ABRAXAS\PRG
20/05/2009  08:52 a.m.DIR  .
20/05/2009  08:52 a.m.DIR  ..
02/02/2009  01:22 p.m.   468 ABORRAR.PRG
02/02/2009  01:22 p.m. 1,453 ABREDBF.PRG
. . .
02/02/2009  01:22 p.m.   215 VARREP.PRG
02/02/2009  01:22 p.m.   916 XINKEY.PRG
107 archivos 90,972 bytes
  2 dirs  208,762,658,816 bytes libres
D:\SyS_GVS\ABRAXAS\PRG

And the version de harbour is:

D:\SyS_GVS\ABRAXAS\PRG\hrbMinGW\bin\harbour
Harbour 1.1.0dev (Rev. 11086)
Copyright (c) 1999-2009, http://www.harbour-project.org/
. . .
D:\SyS_GVS\ABRAXAS\PRGcd \harbour


Best Regards
GVS


On Wed, May 20, 2009 at 3:58 PM, Guillermo Varona Silupú
gvar...@ec-red.com wrote:
  

Viktor Szakáts escribió:

Does this also work?

hbmk2 @myprglist.txt -hblib -omylib.lib


Yes, it does. Also 'hbmk2 *.prg -hblib -omylib' works.


I tried this:

D:\SyS_GVS\ABRAXAS\PRGd:\hrbmingw\bin\hbmk2 *.prg -hblib -oAbrAll
hbmk: Processing configuration: d:\hrbmingw\bin\hbmk.cfg
hbmk: Error: No source files were specified.

and does not work

Best Regards
GVS



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] How can create a library with hbmk2?

2009-05-19 Thread Guillermo Varona Silupú

Massimo Belgrano escribió:

hbmk2 myprg.PRG myprg2.PRG  -hblib -omylib.lib
Thank you Massimo, I have just discovered in a previous post of yours 
and it works fine.


Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[10862] trunk/harbour

2009-04-15 Thread Guillermo Varona Silupú

vouch...@users.sourceforge.net escribió:

. . .
  SUNUP   : A pure Clipper Applctn should run without problems.
  
I have a small application in console mode with pure clipper, I 
understand that I can make it look like QT application in a graphical 
mode (GUI), or am I wrong.

How can I use QT?
What should I add in my application?

TIA
Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] SF.net SVN: harbour-project:[10862] trunk/harbour

2009-04-15 Thread Guillermo Varona Silupú

Thanks Massimo, this is a good introduction for me
Best Regards
GVS

Massimo Belgrano escribió:

Hi Guliemo
i post a reply for that that i have know, accept my partial I reply

The basic tool is qt
Qt is a cross-platform application development framework, widely used
for the development of GUI programs, and also used for developing
non-GUI programs such as console tools and servers. Qt is most notably
used in KDE, Opera, Google Earth, Skype, Qt Extended, Adobe Photoshop
Album, VirtualBox and OPIE. It is produced by the Norwegian company Qt
Software, formerly known as Trolltech, a wholly owned subsidiary of
Nokia since June 17, 2008.

HBQT.LIB (near completed) implement a basic qt primitive and require
writing gui code from scratch. See how in blog of  one of Author of
hbqt Marcos Gambeta
http://www.magsoftinfo.com.br/blog/

GTQTC.LIB (working) Implement the CUI so you can use qt with your
console application simply add same row and linking this gt.
Final application is console application based on qt
see contrib\gtqtc\test\demoqtc.prg for better understand and
gtqtc.lib is compatible with gtwvt so you can also verify the gtwvt
version c:\harbour\tests\wvwtext.prg

GTQTG.LIB  (not jet implemented) Implement Hibrid CUI/GUI. Existing
program will run with very little modification and will be extended
using GUI command
Final application is Gui with a console application
gtqtc will be highly compatible with actual contriv gtwvg
an Xbase++ compatible class will be used for having a portable syntax
between different gui
a gtwvw compatible syntax will be done





2009/4/15 Guillermo Varona Silupú gvar...@ec-red.com:
  

vouch...@users.sourceforge.net escribió:


. . .
 SUNUP   : A pure Clipper Applctn should run without problems.

  

I have a small application in console mode with pure clipper, I understand
that I can make it look like QT application in a graphical mode (GUI), or am
I wrong.
How can I use QT?
What should I add in my application?



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Xmate and MinGW Env for Applns

2009-03-02 Thread Guillermo Varona Silupú

Pritpal Bedi escribió:

Hello Everybody
Does anybody have xmate project .env file for MinGW ?
  

I am using this:

[Environment]
Description 1=Harbour + MinGW + DOS
Description 2=
Description 3=
PRG Compiler ver=
C compiler ver=
Subsystem=
Author=GVS
Last update=12/05/2008

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\HarbourMinGW
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /es2 /a /b /i%HB_INC_INSTALL%
Option prefix=/

[C]
C_INSTALL=C:\MinGW
C_COMP_COMMAND=%C_BIN_INSTALL%\gcc.Exe%CRLF% -I%HB_INC_INSTALL%%CRLF% 
-mno-cygwin -Wall -c %C% -o%OBJ%
C_LIB_COMMAND=%C_BIN_INSTALL%\ar.Exe -M  %RSP%
C_LINK_COMMAND=%C_BIN_INSTALL%\gcc.Exe -o%EXE% -Wall -mno-cygwin  -mconsole 
%LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\windres.exe -i %RC% -o %RES%
C_DLL_COMMAND=
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%HB_LIB_INSTALL%\libxhb.a=1
%HB_LIB_INSTALL%\libgtcgi.a=2
%HB_LIB_INSTALL%\libgtgui.a=3
%HB_LIB_INSTALL%\libgtpca.a=4
%HB_LIB_INSTALL%\libgtstd.a=5
%HB_LIB_INSTALL%\libgtwin.a=6
%HB_LIB_INSTALL%\libgtwvg.a=7
%HB_LIB_INSTALL%\libgtwvt.a=8
%HB_LIB_INSTALL%\libhbbmcdx.a=9
%HB_LIB_INSTALL%\libhbbtree.a=10
%HB_LIB_INSTALL%\libhbclipsm.a=11
%HB_LIB_INSTALL%\libhbcommon.a=12
%HB_LIB_INSTALL%\libhbcpage.a=13
%HB_LIB_INSTALL%\libhbcplr.a=14
%HB_LIB_INSTALL%\libhbct.a=15
%HB_LIB_INSTALL%\libhbdebug.a=16
%HB_LIB_INSTALL%\libhbgt.a=17
%HB_LIB_INSTALL%\libhbhsx.a=18
%HB_LIB_INSTALL%\libhblang.a=19
%HB_LIB_INSTALL%\libhbmacro.a=20
%HB_LIB_INSTALL%\libhbmainstd.a=21
%HB_LIB_INSTALL%\libhbmisc.a=22
%HB_LIB_INSTALL%\libhbnf.a=23
%HB_LIB_INSTALL%\libhbodbc.a=24
%HB_LIB_INSTALL%\libhbpcre.a=25
%HB_LIB_INSTALL%\libhbpp.a=26
%HB_LIB_INSTALL%\libhbrdd.a=27
%HB_LIB_INSTALL%\libhbrtl.a=28
%HB_LIB_INSTALL%\libhbsix.a=29
%HB_LIB_INSTALL%\libhbtip.a=30
%HB_LIB_INSTALL%\libhbusrrdd.a=31
%HB_LIB_INSTALL%\libhbvm.a=32
%HB_LIB_INSTALL%\libhbw32.a=33
%HB_LIB_INSTALL%\librddado.a=34
%HB_LIB_INSTALL%\librddcdx.a=35
%HB_LIB_INSTALL%\librddfpt.a=36
%HB_LIB_INSTALL%\librddntx.a=37
%HB_LIB_INSTALL%\LibAbraxasMinGW.A=38
%C_LIB_INSTALL%\libolesvr32.a=39
%C_LIB_INSTALL%\libole32.a=40
%C_LIB_INSTALL%\liboleacc.a=41
%C_LIB_INSTALL%\liboleaut32.a=42
%C_LIB_INSTALL%\libolecli32.a=43
%C_LIB_INSTALL%\liboledlg.a=44
%C_LIB_INSTALL%\libolepro32.a=45
%C_LIB_INSTALL%\libuuid.a=46
%C_LIB_INSTALL%\libwinspool.a=47
%HB_LIB_INSTALL%\libhbsqlit3.a=48




Best Regards
GVS



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Xmate and MinGW Env for Applns

2009-03-02 Thread Guillermo Varona Silupú

Pritpal Bedi escribió:

. . .
[Harbour] 
HB_INSTALL=c:\hrb_dist\mingw

HB_COMMAND=%HB_BIN_INSTALL%\Harbour.exe %PRG% /m /es2 /a /b /n /gc3 /w1
/i%HB_INC_INSTALL% 
Option prefix=/ 

[C] 
C_INSTALL=C:\MinGW 
C_COMP_COMMAND=%C_BIN_INSTALL%\gcc.exe%CRLF% -I%HB_INC_INSTALL%%CRLF% -Wall
-W -O3 -march=i586 -mtune=pentiumpro -c %C% -o%OBJ% 
C_LIB_COMMAND=%C_BIN_INSTALL%\ar.exe -M  %RSP% 
C_LINK_COMMAND=%C_BIN_INSTALL%\gcc.exe -o%EXE% -Wall -W -O3 -march=i586
-mtune=pentiumpro -mwindows %LNK% 
C_RC_COMMAND=%C_BIN_INSTALL%\windres.exe -i %RC% -o %RES% 
C_DLL_COMMAND= 
Option prefix=- 

[Files]  
Changed


%HB_LIB_INSTALL%\libhbmt.a=32   =
   %HB_LIB_INSTALL%\libhbvmmt.a=32 
Added

--
%C_LIB_INSTALL%\libgdi32.a=47 
%C_LIB_INSTALL%\libcomctl32.a=47 
%C_LIB_INSTALL%\libcomdlg32.a=47 

The .exe is created and executs properly 
( I can see it in task manager ) but 
I do not see it on the screen. It just appears in task

manager and then terminates. It appears as if
it is honoring GTNUL.lib instead of GTWVG.
Can you guide which switches should be added/modified?
  

Hi Pritpal, I've done the modifications, but i got this:
*
Proyecto: Tests, Entorno: Hb_MinGW_WVG:
[1]:gcc.exe -oTests.Exe -Wall -W -O3 -march=i586-mtune=pentiumpro 
-mwindows Tests.gcl
D:\SyS_GVS\Stk\CIPSA\Obj\demowvg.o:demowvg.c:(.data+0x1d48): undefined 
reference to `HB_FUN_WVG_BOXGET'
D:\SyS_GVS\Stk\CIPSA\Obj\demowvg.o:demowvg.c:(.data+0x1d58): undefined 
reference to `HB_FUN_WVG_BOXRAISED'
D:\SyS_GVS\Stk\CIPSA\Obj\demowvg.o:demowvg.c:(.data+0x1d68): undefined 
reference to `HB_FUN_WVG_BOXRECESSED'
D:\SyS_GVS\Stk\CIPSA\Obj\demowvg.o:demowvg.c:(.data+0x1d78): undefined 
reference to `HB_FUN_WVG_BOXGROUPRAISED'
D:\SyS_GVS\Stk\CIPSA\Obj\demowvg.o:demowvg.c:(.data+0x1dc8): undefined 
reference to `HB_FUN_HB_GT_WVT'
C:\HarbourMinGW\Lib/libgtwvg.a(wvgwin.o):wvgwin.c:(.text+0x2a9b): 
undefined reference to `SetDCBrushColor'
C:\HarbourMinGW\Lib/libgtwvg.a(wvgwin.o):wvgwin.c:(.text+0x2acb): 
undefined reference to `SetDCPenColor'

collect2: ld returned 1 exit status
***

My new .env it's this:

[Environment]
Description 1=Harbour + MinGW + DOS
Description 2=
Description 3=
PRG Compiler ver=
C compiler ver=
Subsystem=
Author=GVS
Last update=03/02/2009

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\HarbourMinGW
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc3 /w1 /es2 /a /b 
/i%HB_INC_INSTALL%

Option prefix=/

[C]
C_INSTALL=C:\MinGW
C_COMP_COMMAND=%C_BIN_INSTALL%\gcc.exe%CRLF% -I%HB_INC_INSTALL%%CRLF% 
-Wall%CRLF%-W -O3 -march=i586 -mtune=pentiumpro -c %C% -o%OBJ%

C_LIB_COMMAND=%C_BIN_INSTALL%\ar.Exe -M  %RSP%
C_LINK_COMMAND=%C_BIN_INSTALL%\gcc.exe -o%EXE% -Wall -W -O3 
-march=i586%CRLF%-mtune=pentiumpro -mwindows %LNK%

C_RC_COMMAND=%C_BIN_INSTALL%\windres.exe -i %RC% -o %RES%
C_DLL_COMMAND=
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%HB_LIB_INSTALL%\libxhb.a=1
%HB_LIB_INSTALL%\libgtcgi.a=2
%HB_LIB_INSTALL%\libgtgui.a=3
%HB_LIB_INSTALL%\libgtpca.a=4
%HB_LIB_INSTALL%\libgtstd.a=5
%HB_LIB_INSTALL%\libhbbmcdx.a=6
%HB_LIB_INSTALL%\libhbbtree.a=7
%HB_LIB_INSTALL%\libhbclipsm.a=8
%HB_LIB_INSTALL%\libhbcommon.a=9
%HB_LIB_INSTALL%\libhbcpage.a=10
%HB_LIB_INSTALL%\libhbcplr.a=11
%HB_LIB_INSTALL%\libhbct.a=12
%HB_LIB_INSTALL%\libhbdebug.a=13
%HB_LIB_INSTALL%\libhbgt.a=14
%HB_LIB_INSTALL%\libhbhsx.a=15
%HB_LIB_INSTALL%\libhblang.a=16
%HB_LIB_INSTALL%\libhbmacro.a=17
%HB_LIB_INSTALL%\libhbmainstd.a=18
%HB_LIB_INSTALL%\libhbmisc.a=19
%HB_LIB_INSTALL%\libhbnf.a=20
%HB_LIB_INSTALL%\libhbodbc.a=21
%HB_LIB_INSTALL%\libhbpcre.a=22
%HB_LIB_INSTALL%\libhbpp.a=23
%HB_LIB_INSTALL%\libhbrdd.a=24
%HB_LIB_INSTALL%\libhbrtl.a=25
%HB_LIB_INSTALL%\libhbsix.a=26
%HB_LIB_INSTALL%\libhbtip.a=27
%HB_LIB_INSTALL%\libhbusrrdd.a=28
%HB_LIB_INSTALL%\libhbvmmt.a=29
%HB_LIB_INSTALL%\libhbwin.a=30
%HB_LIB_INSTALL%\librddado.a=31
%HB_LIB_INSTALL%\librddcdx.a=32
%HB_LIB_INSTALL%\librddfpt.a=33
%HB_LIB_INSTALL%\librddntx.a=34
%HB_LIB_INSTALL%\LibAbraxasMinGW.A=35
%C_LIB_INSTALL%\libolesvr32.a=36
%C_LIB_INSTALL%\libole32.a=37
%C_LIB_INSTALL%\liboleacc.a=38
%C_LIB_INSTALL%\liboleaut32.a=39
%C_LIB_INSTALL%\libolecli32.a=40
%C_LIB_INSTALL%\liboledlg.a=41
%C_LIB_INSTALL%\libolepro32.a=42
%C_LIB_INSTALL%\libuuid.a=43
%C_LIB_INSTALL%\libwinspool.a=44
%HB_LIB_INSTALL%\libhbsqlit3.a=45
%HB_LIB_INSTALL%\libgtwvg.a=46
%C_LIB_INSTALL%\libgdi32.a=47
%C_LIB_INSTALL%\libcomctl32.a=48
%C_LIB_INSTALL%\libcomdlg32.a=49

BestRegards
GVS



[Environment]
Description 1=Harbour + MinGW + DOS
Description 2=
Description 3=
PRG Compiler ver=
C compiler ver=
Subsystem=
Author=GVS
Last update=03/02/2009

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\HarbourMinGW
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc3 /w1 /es2 /a /b 
/i%HB_INC_INSTALL%
Option prefix=/

[C]
C_INSTALL=C:\MinGW
C_COMP_COMMAND=%C_BIN_INSTALL%\gcc.exe%CRLF% 

Re: [Harbour] Xmate and MinGW Env for Applns

2009-03-02 Thread Guillermo Varona Silupú

Pritpal Bedi escribió:

. . .
You are to rebuild gtwvg.lib afresh with latest SVN.
  

Yes, it's harbour.exe:
D:\SyS_GVS\Stk\CIPSAc:\harbourmingw\bin\harbour
Harbour 1.1.0dev (Rev. 10507)
Copyright (c) 1999-2009, http://www.harbour-project.org/

/*
* $Id: ChangeLog 10507 2009-03-02 17:49:33Z vszakats $
*/

So what exactly did you change ? 
I see no change in the switches. Even after your new script 
exe is build properly and appears to be executed but nothing

comes up on screen.
In fact, I have not made any changes, just wanted to get to the point it 
has reached you, from there for testing, but even I make EXE



Further investigations suggest that 'void hb_winmainArgInit()' in
harbour/source/vm/cmdarg.c is not being executed and hence 
'BOOL hb_winmainArgGet()' always return FALSE. So the GT 
initialization is failing somewhere.
  

Ups!!!, These things are already older :-), I am a simple user Harbour :-(

Best Regards
GVS



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error Building Harbour from SVN

2009-02-23 Thread Guillermo Varona Silupú

Hi:

Trying buil Harbour from last SVN, I got this:

D:\harbourmake_gnu
../../wvgwin.c: In function `HB_FUN_WVG_TREEVIEW_ADDITEM':
../../wvgwin.c:1617: error: structure has no member named `item'
../../wvgwin.c:1618: error: structure has no member named `item'
../../wvgwin.c:1619: error: structure has no member named `item'
../../wvgwin.c:1623: error: structure has no member named `item'
../../wvgwin.c:1625: error: structure has no member named `item'
../../wvgwin.c: At top level:
../../wvgwin.c:2852: warning: 'WVG_WndProc_par' defined but not used
make[3]: *** [wvgwin.o] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [gtwvg] Error 2
make: *** [contrib] Error 2

Any TIP?

TIA

Salu2,
GVS


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Out-of-Box usable Harbour Distribution with XMate Project Builder

2009-02-03 Thread Guillermo Varona Silupú

Viktor Szakáts escribió:
On Tue, Feb 3, 2009 at 9:17 AM, Massimo Belgrano mbelgr...@deltain.it 
mailto:mbelgr...@deltain.it wrote:



A distribution ready to use is a very good idea because Xmate is
the best editor
Borland is most used c compiler on windows platform


For the whole picture it's worth mentioning that BCC is 
the worst mainstream compiler, end-of-line product, 
generates slow code and buggy. It's only upside is the 
fastest compiling speed.

What is the most suitable C compiler for Windows XP?

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Making a Hello World! with gtwvg contrib

2009-02-01 Thread Guillermo Varona Silupú

Thank you very much Massimo, now works fine xMate

Best Regards
GVS


Massimo Belgrano escribió:

i use this harbour.env for a multigt app
xmate is the best tool for windows platform  , so i hope that same 
make implement his make desing 


[Environment]
Description 1=Borland + Harbour
Description 2=for multi console applications
Description 3=
PRG Compiler ver=Hb 1.00
C compiler ver=bcc 5.51
Subsystem=gtWin
Author=Belgrano Massimo
Last update=09/23/2008

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\HARBOUR
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc3 /w0 /es2 /b 
/i%HB_INC_INSTALL%

Option prefix=/

[C]
C_INSTALL=C:\xharbour\BCC55
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe %CRLF% -c -O2 -OS -d -5 -6 
-a8 %CRLF% -I%HB_INC_INSTALL%;%C_INC_INSTALL% %CRLF% -n%OBJDIR% %C%

C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -ap -Tpe /I%DBGDIR% 
/L%HB_LIB_INSTALL% %cr...@%lnk%

C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r  -fo%RES%  %RC%
C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpd -M 
-L%C_LIB_INSTALL% @%LNK%

Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
%HB_LIB_INSTALL%\hbcplr.lib=2
%HB_LIB_INSTALL%\hbrtl.lib=3
%HB_LIB_INSTALL%\hbvm.lib=4
%HB_LIB_INSTALL%\hblang.lib=5
%HB_LIB_INSTALL%\hbcpage.lib=6
%HB_LIB_INSTALL%\hbmacro.lib=7
%HB_LIB_INSTALL%\hbrdd.lib=8
%HB_LIB_INSTALL%\rddntx.lib=9
%HB_LIB_INSTALL%\rddcdx.lib=10
%HB_LIB_INSTALL%\rddfpt.lib=11
%HB_LIB_INSTALL%\hbsix.lib=12
%HB_LIB_INSTALL%\hbcommon.lib=13
%HB_LIB_INSTALL%\hbdebug.lib=14
%HB_LIB_INSTALL%\hbpp.lib=15
%HB_LIB_INSTALL%\gtgui.lib=16
%HB_LIB_INSTALL%\gtwvt.lib=17
%HB_LIB_INSTALL%\gtwvg.lib=18
%HB_LIB_INSTALL%\gtwin.lib=19
%HB_LIB_INSTALL%\gtstd.lib=20
%HB_LIB_INSTALL%\hbpcre.lib=21
%HB_LIB_INSTALL%\hbct.lib=22
%HB_LIB_INSTALL%\hbmisc.lib=23
%HB_LIB_INSTALL%\hbnf.lib=24
%HB_LIB_INSTALL%\hbzlib.lib=25
%HB_LIB_INSTALL%\HBMZIP.LIB=26
%HB_LIB_INSTALL%\hbusrrdd.lib=27
%HB_LIB_INSTALL%\hbwIN.lib=28
%C_LIB_INSTALL%\IMPORT32.LIB=29
%HB_LIB_INSTALL%\xhb.lib=30
%C_LIB_INSTALL%\cw32.lib=31

[DLL Files]
%HB_LIB_INSTALL%\dllmain.lib=1
%HB_LIB_INSTALL%\harbour.lib=2
%C_LIB_INSTALL%\C0W32.OBJ=3
%C_LIB_INSTALL%\CW32.LIB=4
%C_LIB_INSTALL%\IMPORT32.LIB=5


2009/2/1 Guillermo Varona Silupú gvar...@ec-red.com 
mailto:gvar...@ec-red.com


Pritpal Bedi escribió:

. . .
Try harbour/tests/wvtext.prg and compile it with -d__GTWVG__ and link with
GTWVG.lib.

It is a pure console application and works as is with GTWVG.
  

Ok. Thanks Pritpal.

In principle, I just need my console application looks like an MS
Windows, my example is thus:

PROCEDURE Main()
   LOCAL nVar := 10
   *Wvt_SetGui( .t. )
   @ 10,10 SAY Hola Mundo GET nVar
   READ
   RETURN

PROCEDURE HB_GTSYS()
#ifdef __GTWVG__
   REQUEST HB_GT_WVG_DEFAULT
#else
   REQUEST HB_GT_WVT_DEFAULT
   REQUEST HB_GT_WIN
#endif
   RETURN

Now I need to try an application that has several PRG, Does anyone
have any more to compile BAT PRG?
Currently I use for my application xMate Console ENVIRONMENT and
have a file for compiling with MinGW + Harbor,
Does anyone have some for ENV xMate PRG using to compile several
GTWVG?

In Spanish:
En principio, solo necesito que mi aplicación consola se vea como
una ventana de MS Windows, mi ejemplo quedo asi:
. . .
Ahora necesito llevar esto a una aplicación que tengo con varios
PRG, ¿Alguién tendrá algun BAT para compilar varios PRG?
Actualmente utilizo xMate para mi aplicación de Consola y tengo un
archivo ENVIRONMENT para compilar con Harbour + MinGW,
¿Alguién tendrá algun ENV para xMate para compilar varios PRG?

TIA
Best Regards



___
Harbour mailing list
Harbour@harbour-project.org mailto:Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour




--
Massimo Belgrano

Albo Nazionale Informatici Professionisti 2620
Socio 2843 Associazione Informatici prof.

Analisi e sviluppo software per Lan e Web
Consulenza informatica - Formazione
Delta Informatica S.r.l.  http://www.deltain.it
Via Torelli,31 - 28100 Novara - Tel: 0321/30281


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
  


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Making a Hello World! with gtwvg contrib

2009-01-31 Thread Guillermo Varona Silupú

Hi
I'm trying to use this small PRG gtwvg:

PROCEDURE Main()
Wvt_SetGui( .t. )
@ 10,10 SAY Hola Mundo
RETURN

Generates EXE, and run and get a GPF in the console as follows:

Unrecoverable error 6005: Exception error:
Exception Code:C005
Exception Address:0040D99A
EAX: EBX: ECX:003F4F14 EDX:
ESI: EDI:0007 EBP:0013FDE8
CS:EIP:001B:0040D99A SS:ESP:0023:0013FDE0
DS:0023 ES:0023 FS:003B GS:
Flags:00010246
CS:EIP: 8B B3 54 0D 00 00 68 80 00 00 00 6A 01 E8 94 D3
SS:ESP:  0049C1BC 0013FE08 0042AF9F 004AEF14 0001  
   0013FF24 00424100 0001   
0049C1AC

C stack:
EIP: EBP: Frame: OldEBP, RetAddr, Params...
0040D99A 0013FDE8 0013FE08 0042AF9F 004AEF14 0001   
 
0042AF9F 0013FE08 0013FF24 00424100 0001   0049C1AC 
004AF568 003F6960 0042081D 
00424100 0013FF24 0013FF50 00401180 0049C1F0 0049C1AC 0042AF9F 0001 
   

00401180 0013FF50 0013FF68 00423458  00152387  00152387
00423458 0013FF68 0013FF88 00440FA4 0001  0049C13C 00152387 
0015 00154EB0
00440FA4 0013FF88 0013FFB8 0049933F 0040  00152387 000A 
0016  7FFDE000 7FFDE000
0049933F 0013FFB8 0013FFF0  0049C13C 7C817067 0016  
7FFDE000 8054B6ED 0013FFC8 84C53020

Modules:
0x0040 0x000C3000 
D:\harbourB32\contrib\gtwvg\tests\demogvs.$☻0x7C91 0x0

00B5000 C:\WINDOWS\system32\ntdll.dll
0x7C80 0x00103000 C:\WINDOWS\system32\kernel32.dll
0x58C3 0x0009A000 C:\WINDOWS\system32\COMCTL32.DLL
0x77DA 0x000AC000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E5 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
0x77FC 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x77EF 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E39 0x00091000 C:\WINDOWS\system32\USER32.dll
0x7636 0x0004A000 C:\WINDOWS\system32\COMDLG32.DLL
0x7E6A 0x00821000 C:\WINDOWS\system32\SHELL32.dll
0x77BE 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x77F4 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x774B 0x0013D000 C:\WINDOWS\system32\OLE32.DLL
0x5F1F 0x00017000 C:\WINDOWS\system32\OLEPRO32.DLL
0x770F 0x0008B000 C:\WINDOWS\system32\OLEAUT32.dll
0x7634 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x773A 0x00103000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Co$☻
Called from WVT_SETGUI(0)
Called from MAIN(10) in demogvs.prg

How do I use GTWVG?
I've seen DEMOWVG.PRG but it seems a little confusing because there are 
many things there.
I understand that I can compile my GTWVG PRG in console mode so they can 
look with windows MS Windows, is that correct?
What are the commands / functions of minimal gtwvg that I use to work 
properly the little Hello World?

Is there a DOC for this contrib?

TIA

**
In Spanish:
Estoy probando éste pequeño PRG para utilizar gtwvg:

Genero el EXE, ejecuto y obtengo un GPF y en la consola lo siguiente:

. . .

¿Cómo se usa GTWVG?

He visto DEMOWVG.PRG pero me parece algo confuso por que hay muchas 
cosas alli.
Tengo entendido que con GTWVG puedo compilar mis PRG en modo consola 
para que puedan lucir con ventanas tipo MS Windows, ¿Es correcto?
¿Cuáles son los comandos/funciones minimas de gtwvg que debo utilizar 
para que funcione correctamente el pequeño Hola Mundo?

¿Existe alguna DOC de esta contrib?

Best Regards
GVS


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Making a Hello World! with gtwvg contrib

2009-01-31 Thread Guillermo Varona Silupú

Pritpal Bedi escribió:

. . .
Try harbour/tests/wvtext.prg and compile it with -d__GTWVG__ and link with
GTWVG.lib.

It is a pure console application and works as is with GTWVG.
  

Ok. Thanks Pritpal.

In principle, I just need my console application looks like an MS 
Windows, my example is thus:


PROCEDURE Main()
  LOCAL nVar := 10
  *Wvt_SetGui( .t. )
  @ 10,10 SAY Hola Mundo GET nVar
  READ
  RETURN

PROCEDURE HB_GTSYS()
#ifdef __GTWVG__
  REQUEST HB_GT_WVG_DEFAULT
#else
  REQUEST HB_GT_WVT_DEFAULT
  REQUEST HB_GT_WIN
#endif
  RETURN

Now I need to try an application that has several PRG, Does anyone have 
any more to compile BAT PRG?
Currently I use for my application xMate Console ENVIRONMENT and have a 
file for compiling with MinGW + Harbor,

Does anyone have some for ENV xMate PRG using to compile several GTWVG?

In Spanish:
En principio, solo necesito que mi aplicación consola se vea como una 
ventana de MS Windows, mi ejemplo quedo asi:

. . .
Ahora necesito llevar esto a una aplicación que tengo con varios PRG, 
¿Alguién tendrá algun BAT para compilar varios PRG?
Actualmente utilizo xMate para mi aplicación de Consola y tengo un 
archivo ENVIRONMENT para compilar con Harbour + MinGW,

¿Alguién tendrá algun ENV para xMate para compilar varios PRG?

TIA
Best Regards


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] How to generate ERROR.LOG file with details of the failure of run-time errors?

2009-01-07 Thread Guillermo Varona Silupú

In xHarbour ever happens a runtime error, it generates a file named
Error.log contains:

*** Error log file

Date : 14/04/2008
Time : 11:44:38
Available Memory : 626036
Multi Threading  : No
VM Optimization  : 0
Application  : Z:\CU\XSYSCU.EXE
Operating System : Windows XP Professional 5.01.2600 Service Pack 2
Compiler : Borland C++ 5.5.1
xHarbour Version : xHarbour build 0.99.51 Intl. (SimpLex)
Build Date   : Nov 11 2005 19:09:49
-- Environmental Information
--
Exact is : Off
Fixed is : Off
Decimals is at ..: 2
Date Format is ..: DD/MM/
Epoch is : 1900
Path is .:
Default is ..:
Exclusive is : Off
SoftSeek is .: Off
Unique is ...: Off
Deleted is ..: On
Cancel is ...: On
Debug is : False
Color is : N+/W,B+/BG,N/N,N/N,N+/W,R+/N,R/G,W+/B
Cursor is ...: 1
Console is ..: On
Alternate is : Off
AltFile is ..:
Device is ...: SCREEN
Printer is ..: False
PrintFile is : PRN
Margin is ...: 0
Bell is .: Off
Confirm is ..: Off
Escape is ...: On
Insert is ...: Off
Intensity is : On
Scoreboard is ...: Off
Delimeters is ...: Off
Delimchars is ...: ::
Wrap is .: On
Message is ..: 23
MCenter is ..: On
===Detailed Work Area
Items

 Internal Error Handling Information
+
Subsystem Call ..: BASE
System Code .: 1002
Default Status ..: False
Description .: Alias does not exist
Operation ...: FUENTE
Arguments ...:
Involved File ...:
Dos Error Code ..: 0
 Trace Through:

RESTOBRA  : 996 in Module: Util.prg
(b)CREA_MENU  :  82 in Module:
EXECUTE   : 432 in Module:
MENUMODAL : 208 in Module: Mm.prg
MAIN  : 256 in Module: Menu.prg

## Video Screen Dump
##

++
|ÀÄÄÙ|
|SyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA SyS-CU
GOBIERNO RE|
|ESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA SyS-CU
GOBIERNO R|
|RESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA SyS-CU
GOBIERNO |
| RESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA SyS-CU
GOBIERNO|
|O RESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA
SyS-CU GOBIERN|
|NO RESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA
SyS-CU GOBIER|
|RNO RESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA
SyS-CU GOBIE|
|ERNO RESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL PIURA
SyS-CU GOBI|
|IERNO RESyS-CU GOBIEɻL PIURA
SyS-CU GOB|
|BIERNO RESyS-CU GOBIº SISTEMA DE COSTOS UNITARIOS - SyS-CUýºAL PIURA
SyS-CU GO|
|ÚÄ´ Restore de Obras (Recupera de Respaldos)
ÃÄ¿|
|³ 


³|
|ÃÄÄ´|
|³ Indique Unidad/Ruta/NomArch
U:\Ruta1\Ruta2\...\RutaN\NomArch:  ³|
|³
E:470 


³|
|ÀÄÄÙ|
|S-CU GOBIERNO RESyS-CU GOBIERNO REGIONAL PIURA SyS-CU GOBIERNO REGIONAL
PIURA Sy|
|Error BASE/1002  Alias does not exist:
FUENTE   |
| 


|
|Error at ...: RESTOBRA(996) in Module:
Util.prg |
|Called from : (b)CREA_MENU(82) in
Module:   |
|Called from : EXECUTE(432) in
Module:   |
|Called from : MENUMODAL(208) in Module:
Mm.prg  |
|Called from : MAIN(256) in Module:
Menu.prg |
++
**

Can I do this in Harbor?

TIA
Best Regards
GVS


*** Error log file 

Date : 14/04/2008
Time : 11:44:38
Available Memory : 626036
Multi Threading  : No
VM Optimization  : 0
Application  : Z:\CU\XSYSCU.EXE
Operating System : Windows XP Professional 5.01.2600 Service Pack 2
Compiler : Borland C++ 5.5.1
xHarbour Version : xHarbour build 0.99.51 Intl. (SimpLex)
Build Date   : Nov 11 2005 19:09:49

-- Environmental Information --

Exact is : Off
Fixed is : Off
Decimals is at ..: 2
Date Format is ..: DD/MM/
Epoch is : 1900
Path is .: 
Default is ..: 
Exclusive is : Off
SoftSeek is .: Off
Unique is ...: Off
Deleted is ..: On

Re: [Harbour] How to generate ERROR.LOG file with details of the failure of run-time errors?

2009-01-07 Thread Guillermo Varona Silupú

Teo Fonrouge escribió:

On Wednesday 07 January 2009 07:07:49 Guillermo Varona Silupú wrote:
  

In xHarbour ever happens a runtime error, it generates a file named
Error.log contains:

*** Error log file



[snip]
  

+--
--+ **

Can I do this in Harbor?



Hello Guillermo,

To get that long-long error log in Harbour you need to implement it on the 
harbour's errorsys.prg. Check how xHarbour does it in their errorsys.prg


Maybe you just need to substitute the harbour's errorsys.prg file with the 
xHarbour one.
  

Ok. Thanks. try to implement

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Printer list

2008-11-11 Thread Guillermo Varona Silupú

Szakáts Viktor escribió:

Hi,

Check GETPRINTERS() in hbwin.lib.

In this PRG:
-
function main()
  setmode(25,80)
  aPrn := GETPRINTERS()
  cPrn := GetDefaultPrinter()
  aPor := PRINTERPORTTONAME()
  ? aPrn
  wait
  return nil
-
I have identified the following functions:
aPrn := GETPRINTERS(), give me this:
APRN[1] \\Estudio0393\Epson FX-2180
APRN[2] \\Estudios0596\HP DesignJet 1055CM by HP
APRN[3] Xerox Phaser 3420 PCL 6
APRN[4] PDFCreator
APRN[5] Microsoft Office Document Image Writer
APRN[6] Adobe PDF

cPrn := GetDefaultPrinter(), give me this:
Xerox Phaser 3420 PCL 6

aPor := PRINTERPORTTONAME(), give me this:

What does this function?

How can I obtain a list of ports used by printers (aPrn)?

TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Printer list

2008-11-10 Thread Guillermo Varona Silupú

Szakáts Viktor escribió:

Hi,
Check GETPRINTERS() in hbwin.lib.

Hi Viktor,

ENV: WinXP+Harbour from SVN+MinGW

I have this version of Harbor:
--
C:\HarbourMinGW\binharbour
Harbour 1.0.1dev Intl. (Rev. 9229)
Copyright (c) 1999-2008, http://www.harbour-project.org/
--
and here is not hbwin, What is equivalent to hbwin in this version?

Well, I've built a version from the current SVN and I get these messages:
--
D:\harbourmake_gnu
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lhbmainstd

collect2: ld returned 1 exit status
make[3]: *** [hbrun.exe] Error 1
make[2]: *** [descend] Error 2
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lhbmainstd

collect2: ld returned 1 exit status
make[3]: *** [hbtest.exe] Error 1
make[2]: *** [descend] Error 2
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lhbmainstd

collect2: ld returned 1 exit status
make[3]: *** [hbdoc.exe] Error 1
make[2]: *** [descend] Error 2
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lhbmainstd

collect2: ld returned 1 exit status
make[3]: *** [hbmake.exe] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [first] Error 2
D:\harbourc:
--
What do these messages?
Can I use the build?
But if I generate in Harbour.exe and LIBS (including hbwin.a).

When compiling my PRG, which has only this:
--
function main ()
   aPrn: GETPRINTERS = ()
   wait
   RETURN NIL
--
I get these messages:
--
Proyecto: tst_CT, Entorno: H_SVN_MinGW:
[1]:Harbour.Exe tst_Prn.prg  /m /w0 /es2 /a /b /iC:\HRBSVN~1\Include 
/oObj\tst_Prn.c

Harbour 1.1.0dev (Rev. 9894)
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'tst_Prn.prg'...
Lines 99, Functions/Procedures 2
Generating C source output to 'Obj\tst_Prn.c'... Done.
[1]:gcc.Exe -IC:\HRBSVN~1\Include -mno-cygwin -Wall -c tst_Prn.c -otst_Prn.o
[1]:gcc.Exe -otst_CT.Exe -Wall -mno-cygwin  -mconsole tst_CT.gcl
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x10f): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x171): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x1e6): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x1f8): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x408): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x485): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x5c2): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x61b): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x813): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x867): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x880): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x965): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x9a2): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x9bf): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x9dc): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0xbf1): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0xc53): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0xd0c): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0xd41): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0xdbb): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0xf42): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0xfa4): 
undefined reference to [EMAIL PROTECTED]'
C:\HrbSVNMinGW\Lib/libhbwin.a(win_prn2.o):win_prn2.c:(.text+0x1058): 
undefined reference to [EMAIL PROTECTED]'

Re: [Harbour] Printer list

2008-11-10 Thread Guillermo Varona Silupú

Szakáts Viktor escribió:

Hi Guillermo,

I have this version of Harbor:
--
C:\HarbourMinGW\binharbour
Harbour 1.0.1dev Intl. (Rev. 9229)
Copyright (c) 1999-2008, http://www.harbour-project.org/
--
and here is not hbwin, What is equivalent to hbwin in this version?


It was called hbw32 lib in = 1.0.1.

Thanks Viktor, Solved!!!, add LIB libwinspool.a.

--
D:\harbourmake_gnu
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lhbmainstd

Well, I've built a version from the current SVN and I get these messages:

Difficult to tell. I'd recommend starting with a
clean Harbour source tree, and to try with this command
after putting msys, then mingw bin dirs in your PATH:

'sh make_gnu.sh install'

This works here with 4.1.2, but should also with 3.4.5.


But I am using Windows XP + Harbour (SVN) + MinGW, and this, ('sh 
make_gnu.sh install' ), is for Linux.

What would it be for WinXP?

TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Printer list

2008-11-09 Thread Guillermo Varona Silupú

Hi
Is there any role that I return the printer list (names and ports they 
use)?

and the default printer

I use: WinXP SP3 + Harbour + MinGW

Best Regards.

GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] test . . . not read

2008-09-04 Thread Guillermo Varona Silupú

GVS

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] 2008-08-31 10:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-08-31 Thread Guillermo Varona Silupú

Hi Viktor:

testole.prg even not working, so I followed the debugger

STATIC PROCEDURE Exm_MSExcel()
  LOCAL oExcel
  LOCAL oWorkBook
  LOCAL oWorkSheet
  LOCAL oAS
  BEGIN SEQUENCE WITH {|oErr| Break( oErr )}
 oExcel := CreateObject( Excel.Application )
 BEGIN SEQUENCE WITH {|oErr| Break( oErr )}
oWorkBook := oExcel:WorkBooks:Add()
FOR EACH oWorkSheet IN oWorkBook:WorkSheets
   ? oWorkSheet:Name // _Line 139: Here fails, and then 
jump to END SECUENCE_



TIA
Best Regards
GVS



Szakáts Viktor escribió:

2008-08-31 10:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbole/oleauto.prg
   * contrib/hbw32/w32_tole.prg
 * MessageBox() calls converted to Alert()s.
   A #translate added for the to be reconverted to MessageBox(), 
   since I'm not sure why should we use MessageBox()es here?
   IMO it'd be better to throw RTEs, or handle these cases more 
   natively. Opinions?


   * contrib/hbole/oleauto.prg
 + Modified to generate RTE when the object could not 
   be created, so that it works more like OLE in hbw32.lib, 
   and the test doesn't crash in this case. I don't have 
   Excel, and this is what I could fix without it.


   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_ole.c
 ! Typos, minor formatting.

   * common.mak
   * source/hbpcre/Makefile
   * source/hbpcre/cnv_hb2o.bat
   * source/hbpcre/cnv_o2hb.bat
   - source/hbpcre/ucpinter.h
   - source/hbpcre/ucptable.h
   - source/hbpcre/pcrefind.c
   + source/hbpcre/pcreucd.c
   * source/hbpcre/pcrevutf.c
   * source/hbpcre/pcre.h
   * source/hbpcre/pcreconf.c
   * source/hbpcre/pcreinfo.c
   * source/hbpcre/pcremktb.c
   * source/hbpcre/config.h
   * source/hbpcre/pcrenewl.c
   * source/hbpcre/pcreoutf.c
   * source/hbpcre/chartabs.c
   * source/hbpcre/pcrerefc.c
   * source/hbpcre/pcreget.c
   * source/hbpcre/pcrefinf.c
   * source/hbpcre/pcretryf.c
   * source/hbpcre/pcreexec.c
   * source/hbpcre/pcreinal.h
   * source/hbpcre/pcretabs.c
   * source/hbpcre/pcredfa.c
   * source/hbpcre/pcrever.c
   * source/hbpcre/pcrecomp.c
   * source/hbpcre/pcrexcls.c
   * source/hbpcre/pcrestud.c
   * source/hbpcre/ucp.h
 + Updated to PCRE 7.8 RC1
   (will be updated to final pretty soon)
   This version contains the small patches we 
   so far had locally in Harbour. Thanks to 
   Philip Hazel for applying them.

--
Brgds,
Viktor

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


  


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Fail in \harbour\contrib\hbole\tests\testole.prg

2008-08-30 Thread Guillermo Varona Silupú

Hi folks,
something is happening with MS Excel part of this example, not working, 
they could review please.


Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] 2008-08-24 20:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-08-25 Thread Guillermo Varona Silupú

Thanks Viktor, now work fine.

Best Regards
GVS

Szakáts Viktor escribió:

2008-08-24 20:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbole/ole2.c
 ! Fixed GPF reported by Guillermo.
   (introduced in 1.0.0rc2 when switching from parnl to 
   parptr as 64-bit cleanup, two calls were missed from 
   the update).

 ! Fixed another potential problem.
--
Brgds,
Viktor

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


---
Texto añadido por Panda IS 2008:

 Este mensaje NO ha sido clasificado como SPAM. Si se trata de un mensaje de correo no 
solicitado (SPAM), haz clic en el siguiente vínculo para reclasificarlo: 
http://localhost:6083/Panda?ID=pav_745SPAM=truepath=C:\Documents%20and%20Settings\Usuario\Configuración%20local\Datos%20de%20programa\Panda%20Software\AntiSpam
---


  



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error of Application Exception testing D:\harbour\contrib\hbole\tests\testole.prg

2008-08-24 Thread Guillermo Varona Silupú




Hello:
Testing D:\harbour\contrib\hbole\tests\testole.prg, compile ok, but
when you run, get this:

With Excel:


With Word


What was I missing?
TIA
Best Regards.
GVS


I use:
Env.: WinXP SP2 + MinGW + Harbour 1.0.0
xMate with this ENV:
[Environment]
Description 1=Harbour + MinGW + DOS
Description 2=
Description 3=
PRG Compiler ver=
C compiler ver=
Subsystem=
Author=GVS
Last update=08/24/2008

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=D:\harbourMinGW
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /b
/i%HB_INC_INSTALL%
Option prefix=/

[C]
C_INSTALL=C:\MinGW
C_COMP_COMMAND=%C_BIN_INSTALL%\gcc.Exe%CRLF% -I%HB_INC_INSTALL%
-I%C_INC_INSTALL%%CRLF% -mno-cygwin -Wall -c %C% -o%OBJ%
C_LIB_COMMAND=%C_BIN_INSTALL%\ar.Exe -M  %RSP%
C_LINK_COMMAND=%C_BIN_INSTALL%\gcc.Exe -o%EXE% -Wall -mno-cygwin
-mwindows -I%C_INC_INSTALL% %LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\windres.exe -i %RC% -o %RES%
C_DLL_COMMAND=
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%HB_LIB_INSTALL%\LibAbraxasMinGW.A=1
%HB_LIB_INSTALL%\libhbole.a=2
%HB_LIB_INSTALL%\libgtcgi.a=3
%HB_LIB_INSTALL%\libgtgui.a=4
%HB_LIB_INSTALL%\libgtpca.a=5
%HB_LIB_INSTALL%\libgtstd.a=6
%HB_LIB_INSTALL%\libgtwin.a=7
%HB_LIB_INSTALL%\libgtwvg.a=8
%HB_LIB_INSTALL%\libgtwvt.a=9
%HB_LIB_INSTALL%\libhbbmcdx.a=10
%HB_LIB_INSTALL%\libhbbtree.a=11
%HB_LIB_INSTALL%\libhbclipsm.a=12
%HB_LIB_INSTALL%\libhbcommon.a=13
%HB_LIB_INSTALL%\libhbcpage.a=14
%HB_LIB_INSTALL%\libhbcplr.a=15
%HB_LIB_INSTALL%\libhbct.a=16
%HB_LIB_INSTALL%\libhbdebug.a=17
%HB_LIB_INSTALL%\libhbgt.a=18
%HB_LIB_INSTALL%\libhbhsx.a=19
%HB_LIB_INSTALL%\libhblang.a=20
%HB_LIB_INSTALL%\libhbmacro.a=21
%HB_LIB_INSTALL%\libhbmainstd.a=22
%HB_LIB_INSTALL%\libhbmisc.a=23
%HB_LIB_INSTALL%\libhbnf.a=24
%HB_LIB_INSTALL%\libhbodbc.a=25
%HB_LIB_INSTALL%\libhbpcre.a=26
%HB_LIB_INSTALL%\libhbpp.a=27
%HB_LIB_INSTALL%\libxhb.a=28
%HB_LIB_INSTALL%\libhbrdd.a=29
%HB_LIB_INSTALL%\libhbrtl.a=30
%HB_LIB_INSTALL%\libhbsix.a=31
%HB_LIB_INSTALL%\libhbtip.a=32
%HB_LIB_INSTALL%\libhbusrrdd.a=33
%HB_LIB_INSTALL%\libhbvm.a=34
%HB_LIB_INSTALL%\libhbw32.a=35
%HB_LIB_INSTALL%\librddado.a=36
%HB_LIB_INSTALL%\librddcdx.a=37
%HB_LIB_INSTALL%\librddfpt.a=38
%HB_LIB_INSTALL%\librddntx.a=39
%C_LIB_INSTALL%\liboleaut32.a=40
%C_LIB_INSTALL%\libolesvr32.a=41
%C_LIB_INSTALL%\libole32.a=42
%C_LIB_INSTALL%\liboleacc.a=43
%C_LIB_INSTALL%\libolecli32.a=44
%C_LIB_INSTALL%\liboledlg.a=45
%C_LIB_INSTALL%\libolepro32.a=46
%C_LIB_INSTALL%\libuuid.a=47
%C_LIB_INSTALL%\libcomctl32.a=48
%C_LIB_INSTALL%\libcomdlg32.a=49
%C_LIB_INSTALL%\libobjc.a=50
%HB_LIB_INSTALL%\libhbsqlit3.a=51



___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] 2008-08-07 17:20 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-08-08 Thread Guillermo Varona Silupú

Pritpal Bedi escribió:

2008-08-07 17:20 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])
  * harbour/source/rtl/achoice.prg
- Removed K_MOUSEMOVE functionality.
  

That sad,:-( this was very pretty, but is not compatible :-((.

Thanks Pritpal and Thank Victor.

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] 2008-08-07 17:20 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-08-08 Thread Guillermo Varona Silupú

Szakáts Viktor escribió:

Hi Guillermo,

You can easily embed the whole customized achoice.prg
code in your own local lib or app, with Pritpal's
extension, since whole achoice.prg is public domain
code, so you don't even have to make a notice, just
use it.


Thank you Viktor is a very good idea


Przemyslaw Czerpak escribió:

. . .
Creating code which depends on simple mouse move events is not
good idea because it will not work with terminal GTs which receives
mouse events from remote terminals and simple mouse move when no
mouse key is pressed is not reported by most of them. I do not
remember any terminal which sends such events.

Thank Przemek by the explanation and warnings, although I'm just a 
programmer who only look at the programming PC's


Best Regards,
GVS

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Error updating from SVN

2008-08-07 Thread Guillermo Varona Silupú

Hi:
Today morning I was able to do an update, but at this moment I am 
leaving these messages:


Command: Update 
Error: OPTIONS de  
Error: 
'https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour':   

Error: Could not resolve hostname `harbour-project.svn.sourceforge.net': 
El nombre  
Error: solicitado es válido y se ha encontrado en la base de datos, pero 
no tiene  
Error: asociados los datos correctos que se intentan resolver. 
Error:  (https://harbour-project.svn.sourceforge.net) 
Finished!:  


Any Hint?

Best Regards
GVS


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error updating from SVN

2008-08-07 Thread Guillermo Varona Silupú

Sorry,
please forget this, because I update.

Best Regard
GVS

Guillermo Varona Silupú escribió:

Hi:
Today morning I was able to do an update, but at this moment I am 
leaving these messages:


Command: Update Error: OPTIONS de  Error: 
'https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour':   

Error: Could not resolve hostname 
`harbour-project.svn.sourceforge.net': El nombre  Error: solicitado es 
válido y se ha encontrado en la base de datos, pero no tiene  Error: 
asociados los datos correctos que se intentan resolver. Error:  
(https://harbour-project.svn.sourceforge.net) Finished!: 
Any Hint?


Best Regards
GVS


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Information from ESET Smart Security, version of virus 
signature database 3324 (20080804) __


The message was checked by ESET Smart Security.

http://www.eset.com





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Mouse not work with ACHOICE()

2008-08-05 Thread Guillermo Varona Silupú

Hello, I've verified that also works in xHarbour the mouse.
Can we fix this in harbour?

Best Regards
GVS

P.D.: Sorry for my bad english.

Guillermo Varona Silupú escribió:

This Code work fine in clipper with the mouse:

#include inkey.ch// Key definitions
FUNCTION MAIN
  LOCAL aOpc := {Opc. 1,Opc. 2,Opc. 3}, nOpc
  SET( _SET_EVENTMASK, INKEY_ALL )
  cls
  nOpc := ACHOICE(1,1,10,20,aOpc)
  ? nOpc
  RETURN NIL

In harbour not work the mouse.

Best Regards.
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Information from ESET Smart Security, version of virus 
signature database 3317 (20080801) __


The message was checked by ESET Smart Security.

http://www.eset.com





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Mouse not work with ACHOICE()

2008-08-01 Thread Guillermo Varona Silupú

This Code work fine in clipper with the mouse:

#include inkey.ch// Key definitions
FUNCTION MAIN
  LOCAL aOpc := {Opc. 1,Opc. 2,Opc. 3}, nOpc
  SET( _SET_EVENTMASK, INKEY_ALL )
  cls
  nOpc := ACHOICE(1,1,10,20,aOpc)
  ? nOpc
  RETURN NIL

In harbour not work the mouse.

Best Regards.
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Re: How can get date of creation the a folder in Windows?

2008-07-19 Thread Guillermo Varona Silupú

Przemyslaw Czerpak escribió:

On Sat, 12 Jul 2008, Guillermo Varona wrote:

Any tip / hint for this?

How can get the date of creation the folder in Windows?
DIRECTORY () returns me to change the date of the folder.


source/rtl/hbffind.c[623]:
   if( FileTimeToLocalFileTime( info-pFindFileData.ftLastWriteTime, ft ) 
change to:
   if( FileTimeToLocalFileTime( info-pFindFileData.ftCreationTime, ft ) 



Thank you, it worked perfect!
The only thing I'm going to have to make my own version of Harbour.

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Function ACHOICE() with mouse

2008-07-12 Thread Guillermo Varona Silupú

Hello

Can I use the mouse with ACHOICE ()?
If yes, How?

Best Regards
GVS

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] How can get date of creation the a folder in Windows?

2008-07-03 Thread Guillermo Varona Silupú

Hi:
How can get the date of creation the folder in Windows?
DIRECTORY () returns me to change the date of the folder.

Best Regards
GVS

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] More on Win32 Gui app behavior.

2008-06-24 Thread Guillermo Varona Silupú

I think that is one parameter:
- mwindows or
- mconsole
in the C compiler

Best Regards
GVS
Szakáts Viktor escribió:

Hi Roberto,

GTGUI

Brgds,
Viktor

On 2008.06.24., at 20:02, Roberto Lopez wrote:


Hi all,

Sorry. It was my mistake, since I was linking gtwin.

Anyway, not linking gtwin, generates an error (undefined reference) 
since it is referenced by gtsys (hbrtl).


What are the correct libraries to link to produce a Win32 GUI app 
(without console)?


TIA.

Roberto.
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Information from ESET Smart Security, version of virus 
signature database 3214 (20080624) __


The message was checked by ESET Smart Security.

http://www.eset.com





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Testing wvtext.prg

2008-06-16 Thread Guillermo Varona Silupú

Ok. Thanks.

Best Regards
GVS

Massimo Belgrano escribió:

Yes from harbour\doc\gtapi

gtwvt  - GT driver for MS-Windows. It creates its own GUI window
 instead of using MS-console window. It allows to change
 font, window size, etc.
 Supported only by MS-WINDOWS (W95 or higher) builds.
 is a pure console implementation of traditional Clipper terminal 
 taking Windows API as its base console IO protocols. Its OI are 
 rendered in a Windows window and hence all of MSDN is available 
 for use with GTWVT.
 To let the memory refreshed, I must remind 
 everybody that it is a superb work of Peter Rees contributed 
 to xHarbour on 22nd December 2003.


gtxwc  - GT driver for X-Window. It's like GTWVT but for nixes.
 Additionaly it has set of predefined vector characters
 (box and arrowd drawing characters) which can be used
 instead of the one defined in font. It means that you
 will have all boxes and arrows you know from DOS ans CP437
 even if you chose font which does not have them. Additionally
 it support some simple graphic output. See tests/gfx.prg
 for simple program which demonstrates it.
 Supported by POSIX systems (mostly different *nixes)


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guillermo Varona 
Silupú
Sent: Friday, June 13, 2008 8:25 PM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] Testing wvtext.prg

Massimo Belgrano escribió:
  

I don't use minigw so I can post my setting
set HB_ARCHITECTURE=w32
set HB_COMPILER=bcc32
set HB_USER_LIBS=gtwvt.lib 
SET CFLAGS= -tW -a8 -OS -O2 -5 -6 


Have you added a bad library?
  


Al parecer, falta es una LIBS, pero no se cuales.
Apparently, missing LIBS, but not whom.
Question: WVT is only for Windows?

Best Regards
GVS

  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guillermo Varona 
Silupú
Sent: Friday, June 13, 2008 12:13 AM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] Testing wvtext.prg

Guillermo Varona Silupú escribió:
  


How can build wvtext.exe.
What LIB missing?
I get it's messages of error:

Proyecto: tst_CT, Entorno: MinGW_H_DOS_GVS:
[1]:gcc.Exe -otst_CT.Exe -Wall -mno-cygwin  -mconsole tst_CT.gcl
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x56f): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x583): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x928): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x949): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x961): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x977): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xe13): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xe2b): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xe40): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1ad1): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1af8): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1b28): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x2765): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x278b): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x27a1): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x2866): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x309d): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a11): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a3a): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a79): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a95): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4b8a): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4be5): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4e63): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text

[Harbour] Testing wvtext.prg

2008-06-12 Thread Guillermo Varona Silupú

How can build wvtext.exe.
What LIB missing?
I get it's messages of error:

Proyecto: tst_CT, Entorno: MinGW_H_DOS_GVS:
[1]:gcc.Exe -otst_CT.Exe -Wall -mno-cygwin  -mconsole tst_CT.gcl
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x56f): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x583): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x928): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x949): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x961): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x977): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x98c): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xdfa): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xe13): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xe2b): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xe40): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0xed3): undefined 
reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1a81): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1aa7): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1ad1): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1af8): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1b28): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1b51): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1b5f): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x1b6d): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x2765): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x278b): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x27a1): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x2866): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x28b1): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x3085): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x309d): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x30b2): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x3660): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x3a64): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a11): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a29): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a3a): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a52): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a79): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4a95): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4aaa): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4abf): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4acd): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4adb): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4b61): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4b79): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4b8a): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4ba2): 
undefined reference to [EMAIL PROTECTED]'
C:\HarbourMinGW\Lib/libgtwvt.a(gtwvt.o):gtwvt.c:(.text+0x4bc9): 
undefined reference to [EMAIL PROTECTED]'

Re: [Harbour] 2008-06-05 03:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-05 Thread Guillermo Varona Silupú

Hi Viktor

Szakáts Viktor escribió:

2008-06-05 03:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbsqlit3/hbsqlit3.c
 * Suppressed GCC warnings in foreign code.
   Only works for GCC 4.2.x and above. 
   Please test.
  


How can get GCC 4.2.x (for WinXP SP2)?, I have now this:

D:\harbourgcc -dumpversion
3.4.5
D:\harbour

TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] harbour source snapshot size

2008-06-05 Thread Guillermo Varona Silupú
Hola Alejandro, lo que se puede hacer es utilizar la opcion de exportar  
del SVN (TortoiseSVN-Exportar) y obtendras una copia de harbour libre 
de archivos del SVN, que pesa mas o menos 31.9 MB, efectivamente, como 
tu manifiestas esta es la cuarta parte de la carpeta donde esta SVN que 
pesa en estos momentos aqui en mi maquina 123MB.


Salu2,
GVS


Alejandro de Garate escribió:
I know we are very close to a new release, but I want to ask if posible 
to get a solution for the download size of the harbour source snapshot in the meanwhile.


What I mean is to get rid of of the unused files belonging to SVN from the real harbour source code. 


It increments more than 3 times the size of source code. See the old links

http://lists.harbour-project.org/pipermail/harbour/2007-October/003824.html
http://lists.harbour-project.org/pipermail/harbour/2007-October/003870.html

TIA

Alejandro

_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Information from ESET Smart Security, version of virus signature 
database 3162 (20080605) __

The message was checked by ESET Smart Security.

http://www.eset.com



  


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] 2008-06-04 20:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-04 Thread Guillermo Varona Silupú

Szakáts Viktor escribió:

2008-06-04 20:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbsqlit3/hbsqlit3.c
 ! Fix for GCC.
  
Hello, I'm doing tests with hbsqlite3, when the genre LIB throws me 
several Warnings, but it generates the LIB and work examples.

What do these warnings?
TIA
Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] 2008-06-04 20:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-04 Thread Guillermo Varona Silupú

Szakáts Viktor escribió:

2008-06-04 20:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbsqlit3/hbsqlit3.c
 ! Fix for GCC.
  

Hello, I'm doing tests with hbsqlite3, when the genre LIB throws me
several Warnings, but it generates the LIB and work examples.
What do these warnings?
TIA
Best Regards
GVS

Here I put some warnings:

D:\harbour\contrib\hbsqlit3mingw32-make
D:\harbour\contrib\hbsqlit3if not exist w32\. md w32
D:\harbour\contrib\hbsqlit3if not exist w32\mingw32\. md w32\mingw32
D:\harbour\contrib\hbsqlit3if not exist ..\..\lib\w32\. md .\..\lib\w32
D:\harbour\contrib\hbsqlit3if not exist ..\..\lib\w32\mingw32\. md
..\..\lib\w3 2\mingw32
mingw32-make[1]: Entering directory
'D:/harbour/contrib/hbsqlit3/w32/mingw32'
gcc -I. -I../../../../include -mno-cygwin -Wall -W  -c ../../hbsqlit3.c
-ohbsqlit3.o In file included from ../../hbsqlit3.c:46:
../../sqlite3/sqlite3.c: In function `parseModifier':
../../sqlite3/sqlite3.c:9948: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: In function `strftimeFunc':
../../sqlite3/sqlite3.c:10305: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: At top level:
../../sqlite3/sqlite3.c:10384: warning: unused parameter 'argc'
../../sqlite3/sqlite3.c:10386: warning: unused parameter 'argv'
../../sqlite3/sqlite3.c:10397: warning: unused parameter 'argc'
../../sqlite3/sqlite3.c:10399: warning: unused parameter 'argv'
../../sqlite3/sqlite3.c:10410: warning: unused parameter 'argc'
../../sqlite3/sqlite3.c:10412: warning: unused parameter 'argv'
../../sqlite3/sqlite3.c: In function `sqlite3RegisterDateTimeFunctions':
../../sqlite3/sqlite3.c:10486: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: In function `sqlite3_mutex_alloc':
../../sqlite3/sqlite3.c:13648: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: At top level:
../../sqlite3/sqlite3.c:13698: warning: unused parameter 'p'
../../sqlite3/sqlite3.c:13774: warning: unused parameter 'NotUsed'
../../sqlite3/sqlite3.c:13775: warning: unused parameter 'inUse'
../../sqlite3/sqlite3.c:13775: warning: unused parameter 'inUse'
../../sqlite3/sqlite3.c:13807: warning: unused parameter 'n'
../../sqlite3/sqlite3.c: In function `appendSpace':
../../sqlite3/sqlite3.c:14166: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: In function `vxprintf':
../../sqlite3/sqlite3.c:14331: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: In function `sqlite3SafetyCheckOk':
../../sqlite3/sqlite3.c:16950: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:16951: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: In function `sqlite3SafetyCheckSickOrOk':
../../sqlite3/sqlite3.c:16959: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:16960: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: At top level:
../../sqlite3/sqlite3.c:22512: warning: unused parameter 'flags'
../../sqlite3/sqlite3.c:22803: warning: unused parameter 'id'
../../sqlite3/sqlite3.c:22810: warning: unused parameter 'id'
../../sqlite3/sqlite3.c:22861: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c: In function `winDelete':
../../sqlite3/sqlite3.c:23001: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:23009: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:23014: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: At top level:
../../sqlite3/sqlite3.c:22986: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:22989: warning: unused parameter 'syncDir'
../../sqlite3/sqlite3.c:23021: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:23060: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:23114: warning: unused parameter 'nFull'
../../sqlite3/sqlite3.c:23178: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:23196: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:23216: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:23226: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c: In function `winRandomness':
../../sqlite3/sqlite3.c:23242: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:23242: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:23248: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:23253: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c:23258: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: At top level:
../../sqlite3/sqlite3.c:23240: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:23271: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c:23289: warning: unused parameter 'pVfs'
../../sqlite3/sqlite3.c: In function `sqlite3BitvecSet':
../../sqlite3/sqlite3.c:23511: warning: comparison between signed and
unsigned
../../sqlite3/sqlite3.c: In function 

Re: [Harbour] 2008-06-04 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-04 Thread Guillermo Varona Silupú

Szakáts Viktor escribió:

2008-06-04 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbsqlit2/hbsqlit2.c
 * Removed commented debug code.
 * Code cleanup, optimizations.
 ! GPFs fixed in many function, when no db was open.
 ! Automatically closing previous db when opening a new one.
 ! hb_sqlite2_db initialized with NULL.
--
  


Here da mistake and does not allow creating the LIB.

Firstly gives this error:
D:\harbour\contrib\hbsqlit2MINGW32-MAKE
makefile:46: ../../config/lib.c: No such file or directory
MINGW32-MAKE: *** No rule to make target `../../config/lib.c'.  Stop.

This is solved by changing this line of Makefile:
include $(TOP)$(ROOT)config/lib.cf

After this, I get these messages and not establishing LIB:

D:\harbour\contrib\hbsqlit2MINGW32-MAKE
D:\harbour\contrib\hbsqlit2if not exist w32\. md w32
D:\harbour\contrib\hbsqlit2if not exist w32\mingw32\. md w32\mingw32
D:\harbour\contrib\hbsqlit2if not exist ..\..\lib\w32\. md ..\..\lib\w32
D:\harbour\contrib\hbsqlit2if not exist ..\..\lib\w32\mingw32\. md 
..\..\lib\w32\mingw32
MINGW32-MAKE[1]: Entering directory 
`D:/harbour/contrib/hbsqlit2/w32/mingw32'

gcc -I. -I../../../../include -mno-cygwin -Wall -W  -c ../../func.c -ofunc.o
In file included from ../../func.c:26:
../../os.h:134: error: conflicting types for 'off_t'
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h:41: 
error:

previous declaration of 'off_t' was here
../../func.c:198: warning: unused parameter 'argc'
../../func.c:198: warning: unused parameter 'argv'
../../func.c:208: warning: unused parameter 'arg'
../../func.c:208: warning: unused parameter 'argv'
../../func.c:217: warning: unused parameter 'arg'
../../func.c:217: warning: unused parameter 'argv'
../../func.c:226: warning: unused parameter 'arg'
../../func.c:227: warning: unused parameter 'argv'

../../func.c:227: warning: unused parameter 'argv'
../../func.c:241: warning: unused parameter 'arg'
../../func.c:257: warning: unused parameter 'arg'
../../func.c:269: warning: unused parameter 'argc'
../../func.c:279: warning: unused parameter 'argc'
../../func.c:279: warning: unused parameter 'argv'
../../func.c: In function `minmaxStep':
../../func.c:536: warning: comparison between signed and unsigned
../../func.c: In function `sqliteRegisterBuiltinFunctions':
../../func.c:625: warning: comparison between signed and unsigned
../../func.c:638: warning: comparison between signed and unsigned
../../func.c:649: warning: comparison between signed and unsigned
MINGW32-MAKE[1]: *** [func.o] Error 1
MINGW32-MAKE[1]: Leaving directory `D:/harbour/contrib/hbsqlit2/w32/mingw32'
MINGW32-MAKE: *** [descend] Error 2

D:\harbour\contrib\hbsqlit2

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Show symbol of the square root in console application

2008-06-02 Thread Guillermo Varona Silupú

Any suggestions/tip for this?

TIA

Best Regards
GVS

Guillermo Varona Silupú escribió:

Hi
I have a small console application in which I want to show the symbol 
of the square root, but the screen shows me at number 1 as superscript.

What should I set to display the symbol of the square root?

Env.: WinXP SP2 + Harbour + MinGW

TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Information from ESET Smart Security, version of virus 
signature database 3152 (20080602) __


The message was checked by ESET Smart Security.

http://www.eset.com





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Show symbol of the square root in console application

2008-06-02 Thread Guillermo Varona Silupú

Przemyslaw Czerpak escribió:

On Mon, 02 Jun 2008, Guillermo Varona Silupú wrote:
  

Any suggestions/tip for this?

I have a small console application in which I want to show the symbol 
of the square root, but the screen shows me at number 1 as superscript.

What should I set to display the symbol of the square root?
Env.: WinXP SP2 + Harbour + MinGW
  

It depends on used GT and font.
What GT driver do you use?
  

Using the GT and font default. I do not set any GT and font.
How do I know that GT and font that I am using?

TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Show symbol of the square root in console application

2008-06-02 Thread Guillermo Varona Silupú

Przemyslaw Czerpak escribió:

On Mon, 02 Jun 2008, Guillermo Varona Silupú wrote:

Hi Guillermo,

  

It depends on used GT and font.
What GT driver do you use?
  

Using the GT and font default. I do not set any GT and font.
How do I know that GT and font that I am using?



to check GT driver you can run you program with //info switch, f.e:
   your_app //info
or add to your code:
   ? hb_gtVersion()
  

Ok. Thank you Przmek.

This is the GT used:

D:\Tst_CTtst_ct //info
Harbour Terminal: Win32 buffered console
Harbour devel build 1.1-1 Intl. (Rev. 8358)
Windows XP 5.1.2600 Service Pack 2
DS avail=19KB  OS avail=2064124KB  EMM avail=0KB  MemStat:On

the default GT for Windows is GTWIN. The font used by GTWIN
is out of Harbour control. You can try to set it for your
console window by setting/changing its properties and/or
installing font with glyphs you want to use. Maybe some
windows users will help you and describe details. The default
font and encoding used by console window depends on windows
version and national setting. It's not Harbour problem.
  

Again, Thank you Przmek, it became clear to me.

Best Regars
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] have harbour support for SQLite?

2008-05-31 Thread Guillermo Varona Silupú

Hi Viktor and Petr
In fact, there are more than what I thought, I start studying

Thanks you very much

Best Regards
GVS

Szakáts Viktor escribió:

Hi Guillermo,

It's quite easy to handle this lib as a local contrib,
compiles without any problems.

It also compiles fine with 2.8.16 which is the latest
of the 2.x series of SQLite. For 3.x it would need some
more serious rework, because the API changed quite a bit.
(I guess the majority of the Harbour layer logic could
be kept though.)

Here's a zip which you can just unzip as contrib/hbsqlite2
and use it like the other contribs:

http://www.syenar.hu/harbour/hbsqlite2.zip

[ NOTE: The build process of sqlite itself is not
integrated yet - you need to run !make_sqlite_bcc.bat -,
and is only implemented for BCC. ]

IMO, SQLITE is perfect to store smaller amount of
local information (like replacing .ini files for
example), but it's not suited to store real multiuser
databases in the first place, since concurrent access
doesn't scale well, nor does it work in all environments.
This is true for both 2.x and 3.x. For these purposes,
even 2.x is quite useful (IMO).

Brgds,
Viktor

On 2008.05.31., at 14:17, Guillermo Varona Silupú wrote:


Hi Viktor.
Thanks you for responding
I was looking for what Alexander Garate, very interesting, but rather 
outdated, is based on the version 2.8.6, as I said earlier, it would 
be nice to have it within the contrib to see if anyone is encouraged.


Best Regards
GVS

Szakáts Viktor escribió:

Alejandro de Garate wrote one which is available
on the internet.

Google for: 'sqlite harbour alejandro'

[ I have no real life experience with this package though,
but it compiles fine. ]

Brgds,
Viktor

On 2008.05.31., at 6:03, Guillermo Varona Silupú wrote:


Does Harbour Support for SQLite?
Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Información de NOD32, revisión 3148 (20080530) __

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Información de NOD32, revisión 3148 (20080530) __

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Show symbol of the square root in console application

2008-05-31 Thread Guillermo Varona Silupú

Hi
I have a small console application in which I want to show the symbol of 
the square root, but the screen shows me at number 1 as superscript.

What should I set to display the symbol of the square root?

Env.: WinXP SP2 + Harbour + MinGW

TIA

Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Using GTWVG

2008-05-22 Thread Guillermo Varona Silupú

Well, Well, start with something very simple like hello world example:
What should I do to show that this example with the GUI GTWVG?

Procedures Main
? Hello World
Wait
RETURN


What command GTWVT should be added to Hello World is in GUI mode?
WVT_Core()?
WVT_SetGUI(.T.)?

TIA
Best Regards
GVS
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Using GTWVG

2008-05-21 Thread Guillermo Varona Silupú
Ok. I've added two libs of MinGW (libcomctl32.a and libcomdlg32.a) and 
now compile Ok.

Thx.
Best Regards
GVS





Guillermo Varona Silupú escribió:

Hi:
I am using the LibGTWVG and get this error:

Proyecto: xCont, Entorno: Hb_MinGW_DOS:
[1]:Harbour.Exe Menu.prg  /m /es2 /a /b /iC:\MinGW\include
/iD:\HARBOU~1\Include /oObj\Menu.c
Harbour devel build 1.1-1 Intl. (Rev. 8439)
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'Menu.prg'...
Lines 912, Functions/Procedures 6
Generating C source output to 'Obj\Menu.c'... Done.
[1]:gcc.Exe -IC:\MinGW\include -ID:\HARBOU~1\Include -IC:\MinGW\Include
-mno-cygwin -Wall -c Menu.c -oMenu.o
[1]:gcc.Exe -oxCont.Exe -Wall -mno-cygwin  -mwindows -IC:\MinGW\Include
xCont.gcl
D:\harbourMinGW\Lib/libgtwvg.a(gtwvg.o):gtwvg.c:(.text+0x26e5):
undefined reference to [EMAIL PROTECTED]'
D:\harbourMinGW\Lib/libgtwvg.a(gtwvg.o):gtwvg.c:(.text+0x2c79):
undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status

Environment: WinXP SP2 + MinGW
Any tip?

TIA

Best Regards
GVS

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


__ Información de NOD32, revisión 3118 (20080521) __

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Using GTWVG

2008-05-21 Thread Guillermo Varona Silupú

Guillermo Varona Silupú escribió:
Ok. I've added two libs of MinGW (libcomctl32.a and libcomdlg32.a) and 
now compile Ok.

But does nothing.
This is the process of compilation:

Proyecto: demowvg, Entorno: Hb_MinGW_DOS:
[1]:Harbour.Exe demowvg.prg  /m /es2 /a /b /iD:\HARBOU~1\Include
/oObj\demowvg.c
Harbour devel build 1.1-1 Intl. (Rev. 8439)
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'demowvg.prg'...
Lines 3758, Functions/Procedures 45
Generating C source output to 'Obj\demowvg.c'... Done.
[1]:gcc.Exe -ID:\HARBOU~1\Include -IC:\MinGW\Include -mno-cygwin -Wall
-c demowvg.c -odemowvg.o
[1]:gcc.Exe -odemowvg.Exe -Wall -mno-cygwin  -mwindows
-IC:\MinGW\Include demowvg.gcl

File demowvg.gcl:

INPUT (D:\harbour\contrib\gtwvg\tests\Obj\demowvg.o)
SEARCH_DIR (D:\harbourMinGW\Lib)
SEARCH_DIR (C:\MinGW\Lib)
GROUP ( -lhbole -lgtcgi -lgtgui -lgtpca -lgtstd -lgtwin -lgtwvg -lgtwvt
-lhbbmcdx -lhbbtree -lhbclipsm -lhbcommon -lhbcpage -lhbcplr -lhbct
-lhbdebug -lhbgt -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmisc -lhbnf
-lhbodbc -lhbpcre -lhbpp -lxhb -lhbrdd -lhbrtl -lhbsix -lhbtip
-lhbusrrdd -lhbvm -lhbw32 -lrddado -lrddcdx -lrddfpt -lrddntx -loleaut32
-lolesvr32 -lole32 -loleacc -lolecli32 -loledlg -lolepro32 -luuid
-lcomctl32 -lcomdlg32)

Environment: WinXP SP2 + MinGW
Any tip?

TIA

Best Regards
GVS


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


  1   2   >