Re: [Harbour] Re: dlmalloc on OS/2

2010-03-08 Thread Maurilio Longo
Przemyslaw,

I'm, at the moment, sharing them between DOS Clipper/XPP/Harbour, so, HBNETIO
is not a solution to my problem, even if I'd like a lot to use it!

Maurilio.


Przemysław Czerpak wrote:
 On Fri, 05 Mar 2010, Maurilio Longo wrote:
 
 Hi,
 
 2.c) Can you prepare to manage 64bit file support ? I think yes
  So you will be ready for future  :-)
 It requires a lot more changes than DosFindFirst()
 2.d) I know you are aware of every movement which happen in OS/2 world,
 and maybe you tested already, ... but maybe no
  Days ago I removed NETBIOS over TCP/IP and installed .wpi files for
 Samba 3.0.37, from NetLabs
  ( Samba Server version 3.0.37 for eComStation (OS/2) 1.0.3 )
 - Migrated shares
 - Everything is working fine to/from OS/2 and WinXPPSP2, Linux Mandriva
 - Problems with shares/visibility between OS/2 and rest are gone
 I have problems with client access (OS/2 accessing a share), my server is
 samba, but on OpenSolaris.
 
 Please remember that for sharing DBFs HBNETIO can be used in such case.
 It give to client 64bit file API if it's supported on the server side
 (it doesn't matter what is the client OS) and resolves the problems with
 syncing locks used by different programs working on different OS-es.
 
 best regards,
 Przemek
 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour
 

-- 
 __
|  |  | |__| Maurilio Longo
|_|_|_|| farmaconsult s.r.l.


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


R: [Harbour] hbIDE and Intellisense

2010-03-08 Thread Maurizio la Cecilia
Hi Pritpal, IMHO a xMate like support is needed and sufficient.
The foundations are in the intellihelp.txt file of xMate, also displayable
from xMate editor from menu item help-supplemental
informations-intellihelp.txt
Best regards and thanks for your strong work about hbQt and hbIDE.

Maurizio la Cecilia   
 

 -Messaggio originale-
 Da: harbour-boun...@harbour-project.org 
 [mailto:harbour-boun...@harbour-project.org] Per conto di Pritpal Bedi
 Inviato: lunedì 8 marzo 2010 3.43
 A: harbour@harbour-project.org
 Oggetto: [Harbour] hbIDE and Intellisense
 
 
 Hi All
 
 I am a step forward in basic constructs needed for 
 some intellisense concepts, but I am not sure what bunch 
 can be defined as intellisense.
 
 Can you post what is expected in a source editor in this 
 context. I do not want to build foundation which may require
 deep changes in the future.
 
 Waiting to hear from you.
 
 
 -
  enjoy hbIDEing...
 Pritpal Bedi 
 _a_student_of_software_analysis__design_
 -- 
 View this message in context: 
 http://n2.nabble.com/hbIDE-and-Intellisense-tp4693108p4693108.html
 Sent from the harbour-devel mailing list archive at Nabble.com.
 ___
 Harbour mailing list (attachment size limit: 40KB)
 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


Re: [Harbour] hbIDE and Intellisense

2010-03-08 Thread Massimo Belgrano
ntelliSense comprises the following options:List Members ,Parameter
Info,Quick Info , Complete Word , Automatic Brace Matchin .and.
particularry:
Lists of methods and accessors that drop down alongside a class or object
access descriptions of functions, particularly their parameter lists.

intellisense need accessing an automatically generated in-memory
database of classes, variable names and other constructs defined in or
referenced by the application being edited

Follow same intresting link
an open source project about intellisense
http://insenvim.sourceforge.net/
intellisense in visual fox pro
http://msdn.microsoft.com/en-us/library/aa979091(VS.71).aspx
intellisense in 2010
http://weblogs.asp.net/scottgu/archive/2009/10/22/vs-2010-code-intellisense-improvements-vs-2010-and-net-4-0-series.aspx


2010/3/8 Pritpal Bedi bediprit...@hotmail.com:

 Hi All

 I am a step forward in basic constructs needed for
 some intellisense concepts, but I am not sure what bunch
 can be defined as intellisense.

 Can you post what is expected in a source editor in this
 context. I do not want to build foundation which may require
 deep changes in the future.

 Waiting to hear from you.


 -
                 enjoy hbIDEing...
                    Pritpal Bedi
 _a_student_of_software_analysis__design_
 --
 View this message in context: 
 http://n2.nabble.com/hbIDE-and-Intellisense-tp4693108p4693108.html
 Sent from the harbour-devel mailing list archive at Nabble.com.
 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour




-- 
Massimo Belgrano

Iscritto all'albo dei CTU presso il Tribunale di Novara per materia Informatica
Delta Informatica S.r.l. (http://www.deltain.it/) (+39 0321 455962)
Analisi e sviluppo software per Lan e Web -  Consulenza informatica - Formazione
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Building Harbour from SVN

2010-03-08 Thread Massimo Belgrano
Hi sergio
as you can read in c:\harbour\install you need something like:

 set WindowsSDKDir=%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\
 call %ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
 win-make

remember add library that you need
  set HB_WITH_QT=C:\Qt\include


2010/3/8 Sérgio Kondo cig...@hotmail.com:
 Hi all,
 Where I found instruction to build harbour from SVN version? I like build
 using MSVC8.
 Thansks
 Sérgio Kondo




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


Re: [Harbour] Re: dlmalloc on OS/2

2010-03-08 Thread Massimo Belgrano
The good news is that not is easy port your Clipper source to harbour
and porting your XPP source to harbour you can use  HBNETIO


2010/3/8 Maurilio Longo maurilio.lo...@libero.it:
 Przemyslaw,

 I'm, at the moment, sharing them between DOS Clipper/XPP/Harbour, so, HBNETIO
 is not a solution to my problem, even if I'd like a lot to use it!

 Maurilio.




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


Re: [Harbour] Re: dlmalloc on OS/2

2010-03-08 Thread Maurilio Longo
Massimo,

I'm sure it's easy, it's just we can't do it .)

Maurilio.

Massimo Belgrano wrote:
 The good news is that not is easy port your Clipper source to harbour
 and porting your XPP source to harbour you can use  HBNETIO
 
 
 2010/3/8 Maurilio Longo maurilio.lo...@libero.it:
 Przemyslaw,

 I'm, at the moment, sharing them between DOS Clipper/XPP/Harbour, so, HBNETIO
 is not a solution to my problem, even if I'd like a lot to use it!

 Maurilio.

 
 
 

-- 
 __
|  |  | |__| Maurilio Longo
|_|_|_|| farmaconsult s.r.l.


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


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

2010-03-08 Thread vszakats
Revision: 14105
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14105view=rev
Author:   vszakats
Date: 2010-03-08 08:51:06 + (Mon, 08 Mar 2010)

Log Message:
---
2010-03-08 09:48 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * contrib/hbqt/gtqtc/gtqtcs.hbc
  * contrib/hbqt/gtqtc/gtqtc.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
+ Updated static .hbc file for OS/2
% Removed little redundancy in libpaths= lines.
% Deleted qtwebkit and qtnetwork references from gtqt*.hbc files.

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbqt/gtqtc/gtqtc.hbc
trunk/harbour/contrib/hbqt/gtqtc/gtqtcs.hbc
trunk/harbour/contrib/hbqt/hbqt.hbc
trunk/harbour/contrib/hbqt/hbqts.hbc


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] test

2010-03-08 Thread ViaOpen - Fernando Mancera
Hello,

 

Is a test.

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


Re: [Harbour] dlmalloc on OS/2

2010-03-08 Thread Przemysław Czerpak
On Mon, 08 Mar 2010, Maurilio Longo wrote:

Hi,

 Przemysław Czerpak wrote:
  The description suggests that files with attribute READONLY or ARCHIVE are
  not shown if MAY bits are not set. It's not Clipper compatible behavior.
  So it should be definitely fixed or the description is wrong.
 I think description is wrong, see
 MUST_HAVE_ARCHIVED (0x2000)
 Must-Have Archive bit; excludes files without the archive bit set if bit 13 is
 set to 1. Files may have the Archive bit set if bit 13 is set to 0.
 and
 
 FILE_ARCHIVED (0x0020)
 May-Have Archive bit; includes files with the Archive bit set if bit 5 is set
 to 1. Excludes files with the Archive bit set if bit 5 is set to 0.
 
 I've also done a little test on a shared volume, all files with 'A' and one
 with 'R' flag set, Directory() returns the name of them all.
 
 So, docs are wrong :)

I believe that you are right but test on shared volumes is not an answer
because it may depend on host system behavior which can be different then
native OS2 one so it would be nice if you can verify it for native local
volumes too. Just to be sure :)

  I think that we should clean current file IO code and use only native
  OS2 API instead of current mixed OS2 and CRTL calls. We can also add
  support for 64bit file API if it's available in OS2.
 Yes, using APIs only could be a good thing, at least for code quality.

I can try to help in this process but final tests have to be done by real
OS2 users.
Seems that the following files should be updated:
   filesys.c (hb_fsOpen(), hb_fsCreate(), hb_fsCreateEx(), hb_fsClose(),
  hb_fsSetDevMode()?, hb_fsIsDevice()?
  hb_fsGetFileTime(), hb_fsEof(),
  hb_fsRead(), hb_fsWrite(), hb_fsReadLarge(), hb_fsWriteLarge(),
  hb_fsReadAt() (64bit offsets support),
  hb_fsWriteAt() (64bit offsets support),
  hb_fsTruncAt() (64bit offsets support),
  hb_fsLockLarge() (64bit offsets support),
  hb_fsSeekLarge() (64bit offsets support),
  hb_fsDelete(), hb_fsRename(), hb_fsMkDir(), hb_fsChDir(),
  hb_fsRmDir()
   fstemp.c
   fssize.c (it should be updated also for native MS-Win builds to eliminate
 CRTL stat() function)
   hbffind.c (hb_fsFindNextLow() (64bit file size support))

Do you seen any potential problems in switching to native OS2 API in above
functions?

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


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

2010-03-08 Thread vszakats
Revision: 14106
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14106view=rev
Author:   vszakats
Date: 2010-03-08 11:32:16 + (Mon, 08 Mar 2010)

Log Message:
---
2010-03-08 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
+ Added comment about the reason why GetDiskFreeSpaceEx()
  is called dynamically (win95 first edition support).
+ Added support for HB_NO_WIN95 build-time flag to drop
  Win95 compatibility. Unfortunately current dynamic load
  trick fails with UNICOWS, returning zero for disk
  space related calls in this scenario. If we drop the
  dynamic call, we lose support for Win95 first edition,
  but these functions will work properly on Win95b/98/ME
  in return. I'm still thinking about it, but maybe it's
  better to drop Win95 first edition support altogether
  and make newer versions work properly. Any opinions?

  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_wingdi_font.c
! Fixed to use WIDE/ANSI versions of dynamically executed
  functions according to UNICODE setting.

  * bin/hb-mkdyn.sh
  * bin/hb-func.sh
  * utils/hbmk2/hbmk2.prg
  * config/win/global.mk
! Stepping back to link against wsock32 instead of ws2_32.
  The only reason is Win95 (even OSR2) compatibility.
  This is a little bit less efficient unfortunately.

  * src/rtl/hbsocket.c
! Fixed to use WSAioctl via dynamic call for non WinCE
  builds, and if HB_NO_WIN95 macro is no defined.
  WSAioctl is present in ws2_32.dll, which .dll isn't
  available on Win95.
; Not tested since I don't know how to test it, pls
  review and test.
; NOTE: There seem to exist a package which add ws2_32 
support for Win95, but I couldn't find it, if 
someone has, we can drop this ugly trick and 
simply document the requirement.

  * src/rtl/gtwin/gtwin.c
* Formatting.

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/bin/hb-func.sh
trunk/harbour/bin/hb-mkdyn.sh
trunk/harbour/config/win/global.mk
trunk/harbour/contrib/hbwin/wapi_winbase.c
trunk/harbour/contrib/hbwin/wapi_wingdi_font.c
trunk/harbour/src/rtl/diskspac.c
trunk/harbour/src/rtl/disksphb.c
trunk/harbour/src/rtl/gtwin/gtwin.c
trunk/harbour/src/rtl/hbsocket.c
trunk/harbour/utils/hbmk2/hbmk2.prg


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2010-03-08 Thread alich
Hi Victor,

 ; NOTE: There seem to exist a package which add ws2_32 
 support for Win95, but I couldn't find it, if 
 someone has, we can drop this ugly trick and 
 simply document the requirement.
   

Maybe it is this: https://www.ibtc.de/pub/wsock2w95.zip

Best Regards,
Ruediger

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


Re: [Harbour] hbIDE and Intellisense

2010-03-08 Thread Bruno Luciani
MAy be could you take a look to KATE editor behavior

it is my reference in Linux  and use QT4

Bruno



2010/3/7 Pritpal Bedi bediprit...@hotmail.com


 Hi All

 I am a step forward in basic constructs needed for
 some intellisense concepts, but I am not sure what bunch
 can be defined as intellisense.

 Can you post what is expected in a source editor in this
 context. I do not want to build foundation which may require
 deep changes in the future.

 Waiting to hear from you.


 -
 enjoy hbIDEing...
Pritpal Bedi
 _a_student_of_software_analysis__design_
 --
 View this message in context:
 http://n2.nabble.com/hbIDE-and-Intellisense-tp4693108p4693108.html
 Sent from the harbour-devel mailing list archive at Nabble.com.
 ___
 Harbour mailing list (attachment size limit: 40KB)
 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


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

2010-03-08 Thread Viktor Szakáts
Hi Ruediger,

; NOTE: There seem to exist a package which add ws2_32 
support for Win95, but I couldn't find it, if 
someone has, we can drop this ugly trick and 
simply document the requirement.
 
 
 Maybe it is this: https://www.ibtc.de/pub/wsock2w95.zip

This is it, thank you very much.

Here's an MS link for this update:
   http://support.microsoft.com/kb/182108/EN-US/

I'll add instructions and revert to use ws2_32.
(I hope this also works for first edition (retail/OEM) 
Win95 versions.)

Brgds,
Viktor

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


RE: [Harbour] wich Remote Gui Protocols for harbour?

2010-03-08 Thread Horodyski Marek (PZUZ)
-Original Message-
From: Massimo Belgrano [mailto:mbelgr...@deltain.it] 
Sent: Saturday, March 06, 2010 9:31 AM
To: Harbour Project Main Developer List.
Subject: [Harbour] wich Remote Gui Protocols for harbour?

There is a project named Vedga (former Glan,

[...]


imo Maj be a intresting solution with harbour, who extending the gtnet
idea from gt to qt
Please post here any info and experiences on  Remote Gui
*-

I see that no one speaks. And some working GUI application on the server
side should be developed. WEB / GTNET / VEDGA?

Regards,
Marek Horodyski

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


Re: [Harbour] hbIDE and Intellisense

2010-03-08 Thread Massimo Belgrano
Hi Bruno
IMO ,Visual studio is better example

2010/3/8 Bruno Luciani bruno.luci...@gmail.com:
 MAy be could you take a look to KATE editor behavior

 it is my reference in Linux  and use QT4

 Bruno



 2010/3/7 Pritpal Bedi bediprit...@hotmail.com

 Hi All

 I am a step forward in basic constructs needed for
 some intellisense concepts, but I am not sure what bunch
 can be defined as intellisense.

 Can you post what is expected in a source editor in this
 context. I do not want to build foundation which may require
 deep changes in the future.

 Waiting to hear from you.





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


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

2010-03-08 Thread vszakats
Revision: 14107
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14107view=rev
Author:   vszakats
Date: 2010-03-08 14:40:49 + (Mon, 08 Mar 2010)

Log Message:
---
2010-03-08 15:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * src/rtl/hbsocket.c
  * bin/hb-mkdyn.sh
  * bin/hb-func.sh
  * utils/hbmk2/hbmk2.prg
  * config/win/global.mk
+ Restored to work with ws2_32.dll. (instead of wsock32)

  * INSTALL
+ Added information on Win9x/ME support.

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/INSTALL
trunk/harbour/bin/hb-func.sh
trunk/harbour/bin/hb-mkdyn.sh
trunk/harbour/config/win/global.mk
trunk/harbour/src/rtl/hbsocket.c
trunk/harbour/utils/hbmk2/hbmk2.prg


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] hbIDE and Intellisense

2010-03-08 Thread Bruno Luciani
Yes but , Kate use the Same Library as HBIDE and  you can see the QT4
posibilities

Bruno


2010/3/8 Massimo Belgrano mbelgr...@deltain.it

 Hi Bruno
 IMO ,Visual studio is better example

 2010/3/8 Bruno Luciani bruno.luci...@gmail.com:
  MAy be could you take a look to KATE editor behavior
 
  it is my reference in Linux  and use QT4
 
  Bruno
 
 
 
  2010/3/7 Pritpal Bedi bediprit...@hotmail.com
 
  Hi All
 
  I am a step forward in basic constructs needed for
  some intellisense concepts, but I am not sure what bunch
  can be defined as intellisense.
 
  Can you post what is expected in a source editor in this
  context. I do not want to build foundation which may require
  deep changes in the future.
 
  Waiting to hear from you.
 
 
 


 --
 Massimo Belgrano
 ___
 Harbour mailing list (attachment size limit: 40KB)
 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: How can i Print BMP?

2010-03-08 Thread Massimo Belgrano
I try resolve with imagemagik using command line convert (via shell)
convert G:\myimage.bmp -rotate 180 -resize 400x250 -density 300x300
c:\aa.pcl
  ?  ?? chr(K_ESC) ..
  x_prnfile=g:\clip52\lavori\massimo\arca\AA.pcl
  TYPE X_PRNFILE to print
The image break during printing and page eject
may be that type is not able find end of file (26)



2010/3/1 Massimo Belgrano mbelgr...@deltain.it:
 I need the capability print a bmp inside a harbour application
 who print plc . is a old clipper application

 I Have found a routine who Print .PCX To Laserjet, but need BMP


 I search a conversion BMP2PCX or printing BMP in pcl
 (I need also rotate image)


 http://www.karland.com/code/clipper/
 function LoadPCX(cFile)

   
 //
   // AUTHOR:     Denis A. Sarrazin (Tue 10-11-1994)
   // PURPOSE:    to load the PCX into a special array
   // PARAMETERS: cFile -- the name of the PCX file to load
   // RETURNS:    array (see list of #define in MINIPCX.CH and format below)
   // NOTES:      Format of a .PCX header shown below:
   //
   //        Byte  Item            Size Description/Comments
   //          --- 
 -
   //        0     Manufacturer      1  Constant Flag  10 = ZSoft .PCX
   //        1     Version           1  Version information:
   //                                     0 = Version 2.5
   //                                     2 = Version 2.8 w/palette information
   //                                     3 = Version 2.8 w/o palette
 information
   //                                     5 = Version 3.0
   //        2     Encoding          1  1 = .PCX run length encoding
   //        3     Bits per pixel    1  Number of bits/pixel per plane
   //        4     Window            8  Picture Dimensions
   //                                     (Xmin, Ymin) - (Xmax - Ymax)
   //                                     in pixels, inclusive
   //        12    HRes              2  Horizontal Resolution of creating 
 device
   //        14    VRes              2  Vertical Resolution of creating device
   //        16    Colormap         48  Color palette setting, see text
   //        64    Reserved          1
   //        65    NPlanes           1  Number of color planes
   //        66    Bytes per Line    2  Number of bytes per scan line per
   //                                     color plane (always even for
 .PCX files)
   //        68    Palette Info      2  How to interpret palette - 1 = 
 color/BW,
   //                                                              2 = 
 grayscale
   //        70    Filler           58  blank to fill out 128 byte header
   //
   //        IMPORTANT:
   //          All sizes are measured in BYTES.
   //          All variables of size 2 are integers.
   //
   
 //
   local aPCX
   local cBuffer
   local hPCX
   local nRead
   local nFileLength

   if !file(cFile)

      aPCX := {}

   else

      aPCX        := array(PCX_LENGTH)
      hPCX        := fopen(cFile)
      nFileLength := FLEN(hPCX)

      cBuffer := space(HEADER_SIZE)
      nRead   := fread(hPCX,@cBuffer,HEADER_SIZE)           // load PCX header

      aPCX[ PCX_MANUFACTURER ]   := asc(substr(cBuffer,1,1))
      aPCX[ PCX_VERSION ]        := asc(substr(cBuffer,2,1))
      aPCX[ PCX_ENCODING ]       := asc(substr(cBuffer,3,1))
      aPCX[ PCX_BITS_PER_PIXEL ] := asc(substr(cBuffer,4,1))
      aPCX[ PCX_WINDOW ]         := {bin2i(substr(cBuffer,5,2)),;
                                          bin2i(substr(cBuffer,7,2)),;
                                          bin2i(substr(cBuffer,9,2)),;
                                          bin2i(substr(cBuffer,11,2))}
      aPCX[ PCX_HRES ]           := bin2i(substr(cBuffer,13,2))
      aPCX[ PCX_VRES ]           := bin2i(substr(cBuffer,15,2))
      aPCX[ PCX_COLORMAP ]       := substr(cbuffer,17,48)
      aPCX[ PCX_RESERVED ]       := asc(substr(cBuffer,65,1))
      aPCX[ PCX_NPLANES ]        := asc(substr(cBuffer,66,1))
      aPCX[ PCX_BYTES_PER_LINE ] := bin2i(substr(cBuffer,67,2))
      aPCX[ PCX_PALETTE_INFO ]   := bin2i(substr(cBuffer,69,2))
      aPCX[ PCX_FILLER ]         := substr(cBuffer,71,58)

      cBuffer := space(nFileLength - HEADER_SIZE)
      nRead   := fread(hPCX,@cBuffer,nFileLength - HEADER_SIZE)
      if (nRead != (nFileLength - HEADER_SIZE))
         messaggio(Attenzione  File TROPPO GRANDE,T)
      endif

      aPCX[ PCX_PIXELS ] := cBuffer

      fclose(hPCX)

   endif

 return (aPCX)



 procedure PrintPCX(nRow,nCol,aPCX)
   
 //
   // AUTHOR:     Denis A. Sarrazin (Tue 10-11-1994)
   // PURPOSE:
   // PARAMETERS:
   // RETURNS:
   // EXAMPLES:
   
 //
   local nNumCol     := 

Re: [Harbour] hbIDE and Intellisense

2010-03-08 Thread Massimo Belgrano
you using kate with?

2010/3/8 Bruno Luciani bruno.luci...@gmail.com:

 Yes but , Kate use the Same Library as HBIDE and  you can see the QT4
 posibilities

 Bruno


 2010/3/8 Massimo Belgrano mbelgr...@deltain.it

 Hi Bruno
 IMO ,Visual studio is better example

 2010/3/8 Bruno Luciani bruno.luci...@gmail.com:
  MAy be could you take a look to KATE editor behavior
 
  it is my reference in Linux  and use QT4
 
  Bruno
 
 
 
  2010/3/7 Pritpal Bedi bediprit...@hotmail.com
 
  Hi All
 
  I am a step forward in basic constructs needed for
  some intellisense concepts, but I am not sure what bunch
  can be defined as intellisense.
 
  Can you post what is expected in a source editor in this
  context. I do not want to build foundation which may require
  deep changes in the future.
 
  Waiting to hear from you.
 
 
 


 --





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


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

2010-03-08 Thread vszakats
Revision: 14108
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14108view=rev
Author:   vszakats
Date: 2010-03-08 15:15:06 + (Mon, 08 Mar 2010)

Log Message:
---
2010-03-08 16:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * src/rtl/diskspac.c
  * src/rtl/disksphb.c
  * contrib/hbwin/wapi_winbase.c
+ Added trick to make dynamic calls to WIDE API functions via
  UNICOWS.DLL in UNICODE (default) builds when running on Win9x
  systems. This fixes DISKSPACE(), HB_DISKSPACE() and
  WAPI_GETLONGPATHNAME() in this scenario. (IOW this patch
  makes these calls work in UNICOWS situations)

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbwin/wapi_winbase.c
trunk/harbour/src/rtl/diskspac.c
trunk/harbour/src/rtl/disksphb.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] hbIDE and Intellisense

2010-03-08 Thread Bruno Luciani
As a simple code editor

http://www.postimage.org/image.php?v=aV8wq1i

http://www.postimage.org/image.php?v=PqjT7R9

Here you can see two features that I like

highlighting of a piece of code ( IF - ENDIF )

and when I writing a function , prediction and auto completion with
functions in prg

May be I am understand wrong  what are you talking about ?

in that case my apologize  about that.


Bruno

2010/3/8 Massimo Belgrano mbelgr...@deltain.it

 you using kate with?

 2010/3/8 Bruno Luciani bruno.luci...@gmail.com:
 
  Yes but , Kate use the Same Library as HBIDE and  you can see the QT4
  posibilities
 
  Bruno
 
 
  2010/3/8 Massimo Belgrano mbelgr...@deltain.it
 
  Hi Bruno
  IMO ,Visual studio is better example
 
  2010/3/8 Bruno Luciani bruno.luci...@gmail.com:
   MAy be could you take a look to KATE editor behavior
  
   it is my reference in Linux  and use QT4
  
   Bruno
  
  
  
   2010/3/7 Pritpal Bedi bediprit...@hotmail.com
  
   Hi All
  
   I am a step forward in basic constructs needed for
   some intellisense concepts, but I am not sure what bunch
   can be defined as intellisense.
  
   Can you post what is expected in a source editor in this
   context. I do not want to build foundation which may require
   deep changes in the future.
  
   Waiting to hear from you.
  
  
  
 
 
  --
 
 



 --
 Massimo Belgrano
 ___
 Harbour mailing list (attachment size limit: 40KB)
 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] Corruption on Dbf tables

2010-03-08 Thread Antonio Martinez
Hi to all,

a question:

Why a .dbf table goes to corrupted ?

Perhaps, break energy ?
Perhaps, shutdown computer (user) ?
Perhaps, Clipper and Harbour using the same dbf tables ?
Perhaps, Windows protocols (SMB) against system file based ?
Perhaps, ?



Regards




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


Re: [Harbour] Corruption on Dbf tables

2010-03-08 Thread Bruno Luciani
Database or indexes ?

Bruno

2010/3/8 Antonio Martinez alcis...@arrakis.es

 Hi to all,

 a question:

 Why a .dbf table goes to corrupted ?

 Perhaps, break energy ?
 Perhaps, shutdown computer (user) ?
 Perhaps, Clipper and Harbour using the same dbf tables ?
 Perhaps, Windows protocols (SMB) against system file based ?
 Perhaps, ?



 Regards




 ___
 Harbour mailing list (attachment size limit: 40KB)
 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] Error GPF with hbnetio

2010-03-08 Thread Rossine

Hello Przemek,

The function that is occurring the GPF is netio_serverstop()

Using the example below generates GPF. I include this lines:

[LINES]

   set pathto .\
   SET DEFAULT TO .\

   hb_curdrive( C: )
   dirchange( .\ )

[ENDLINES]

[CODE]
/*
 * $Id: netiotst.prg 13603 2010-01-16 01:13:05Z vszakats $
 */

/*
 * Harbour Project source code:
 *demonstration/test code for alternative RDD IO API which uses own
 *very simple TCP/IP file server.
 *
 * Copyright 2009 Przemyslaw Czerpak druzus / at / priv.onet.pl
 * www - http://www.harbour-project.org
 *
 */

/* net:127.0.0.1:2941:topsecret:data/_tst_ */

#define DBSERVER  127.0.0.1
#define DBPORT2941
#define DBPASSWD  topsecret
#define DBDIR data
#define DBFILE_tst_

#define DBNAMEnet: + DBSERVER + : + hb_ntos( DBPORT ) + : + ;
  DBPASSWD + : + DBDIR + / + DBFILE

request DBFCDX

request HB_DIREXISTS
request MAKEDIR

proc main()
   local pSockSrv, lExists

   set exclusive off
   rddSetDefault( DBFCDX )

   set pathto .\
   SET DEFAULT TO .\

   hb_curdrive( C: )
   dirchange( .\ )

   pSockSrv := netio_mtserver( DBPORT,,, /* RPC */ .T., DBPASSWD )
   if empty( pSockSrv )
  ? Cannot start NETIO server !!!
  wait Press any key to exit...
  quit
   endif

   ? NETIO server activated.
   hb_idleSleep( 0.1 )
   wait

   ?
   ? NETIO_CONNECT():, netio_connect( DBSERVER, DBPORT, , DBPASSWD )
   ?

   lExists := netio_funcexec( HB_DirExists, ./data )
   ? Directory './data', iif( !lExists, not exists, exists )
   if !lExists
  ? Creating directory './data' -, ;
   iif( netio_funcexec( MakeDir, ./data ) == -1, error, OK )
   endif

   createdb( DBNAME )
   testdb( DBNAME )
   wait

   ?
   ? table exists:, dbExists( DBNAME )
   wait

   ?
   ? delete table with indexes:, dbDrop( DBNAME )
   ? table exists:, dbExists( DBNAME )
   wait

   ? NETIO_DISCONNECT():, netio_disconnect( DBSERVER, DBPORT )

   ?
   ? stopping the server...
   netio_serverstop( pSockSrv, .t. )
return

proc createdb( cName )
   local n

   dbCreate( cName, {{F1, C, 20, 0},;
 {F2, M,  4, 0},;
 {F3, N, 10, 2},;
 {F4, T,  8, 0}} )
   ? create neterr:, neterr(), hb_osError()
   use (cName)
   ? use neterr:, neterr(), hb_osError()
   while lastrec()  100
  dbAppend()
  n := recno() - 1
  field-F1 := chr( n % 26 + asc( A ) ) +   + time()
  field-F2 := field-F1
  field-F3 := n / 100
  field-F4 := hb_dateTime()
   enddo
   index on field-F1 tag T1
   index on field-F3 tag T3
   index on field-F4 tag T4
   close
   ?
return

proc testdb( cName )
   local i, j
   use (cName)
   ? used:, used()
   ? nterr:, neterr()
   ? alias:, alias()
   ? lastrec:, lastrec()
   ? ordCount:, ordCount()
   for i:=1 to ordCount()
  ordSetFocus( i )
  ? i, name:, ordName(), key:, ordKey(), keycount:, ordKeyCount()
   next
   ordSetFocus( 1 )
   dbgotop()
   while !eof()
  if ! field-F1 == field-F2
 ? error at record:, recno()
 ?   ! ' + field-F1 + ' == ' + field-F2 + '
  endif
  dbSkip()
   enddo
   wait
   i := row()
   j := col()
   dbgotop()
   browse()
   setpos( i, j )
   close
return

[ENDCODE]

Am I doing something wrong ?

Best Regards,

Rossine.

-- 
View this message in context: 
http://old.nabble.com/Error-GPF-with-hbnetio-tp27824003p27824003.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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


[Harbour] Trying to run test hbpgsql, Error Argument error:PQEXEC

2010-03-08 Thread jparada

Hi,

I compile the example test.prg of hbpgsql\tests, like this:

hbmk2 test.prg-Lc:\postgresql\8.4\lib and when I run test displays the
error:

Error BASE/2020 Argument error: PQEXEC
Called from PQEXEC (0)
Called from MAIN (40)

BTW, why when I try to run the test I have to copy the following dll files.

libpq.dll, krb5_32.dll, libeay32.dll, libiconv-2.dll, ssleay32.dll

If I did not copy these files to the folder hbpgsql\test, then I get errors
like:

Not found the ordinal 127 in the dynamic link library libpq.dll, or,

Not Found The procedure entry point in dynamic link library
libiconv_set_relocation_prefix libiconv-2.dll.

And so on, depending on the missing dll file.

This is my environment: Harbor Rev. 14108, PostgreSQL 8.4, Windows Vista

Please any help on these two topics.

Thanks

Regards
Javier Parada
-- 
View this message in context: 
http://old.nabble.com/Trying-to-run-test-hbpgsql%2C-Error-Argument-error%3APQEXEC-tp27825075p27825075.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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


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

2010-03-08 Thread vszakats
Revision: 14109
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14109view=rev
Author:   vszakats
Date: 2010-03-08 18:08:39 + (Mon, 08 Mar 2010)

Log Message:
---
2010-03-08 19:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * contrib/hbpgsql/tests/test.prg
! Fixed missing connection parameters from PQ API calls.

  * contrib/hbpgsql/tests/stress.prg
* Formatting.

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbpgsql/tests/stress.prg
trunk/harbour/contrib/hbpgsql/tests/test.prg


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Trying to run test hbpgsql, Error Argument error:PQEXEC

2010-03-08 Thread Viktor Szakáts
 I compile the example test.prg of hbpgsql\tests, like this:
 
 hbmk2 test.prg-Lc:\postgresql\8.4\lib and when I run test displays the
 error:
 
 Error BASE/2020 Argument error: PQEXEC
 Called from PQEXEC (0)
 Called from MAIN (40)

Thanks, these were bugs in test code. They never 
worked, but it's only now that such problems are 
detected by hbpgsql code.

 BTW, why when I try to run the test I have to copy the following dll files.
 
 libpq.dll, krb5_32.dll, libeay32.dll, libiconv-2.dll, ssleay32.dll
 
 If I did not copy these files to the folder hbpgsql\test, then I get errors
 like:
 
 Not found the ordinal 127 in the dynamic link library libpq.dll, or,

You have sort out the .dlls you use on your system.
libpq.dll must match the import lib you used when 
linking the test app and building Harbour, and the 
other dependent .dlls must match the requirements 
of lippq.dll.

Probably you have multiple of these in your .dll 
search path (PATH, local dir), hence the confusion.

Brgds,
Viktor

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


[Harbour] Re: Corruption on Dbf tables

2010-03-08 Thread Antonio Martinez
Bruno,

.Dbf files 


regards


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


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

2010-03-08 Thread druzus
Revision: 14110
  
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14110view=rev
Author:   druzus
Date: 2010-03-08 18:33:49 + (Mon, 08 Mar 2010)

Log Message:
---
2010-03-08 19:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/src/vm/macro.c
! fixed buffer overflow caused by wrong pointer type
  ( 'HB_ULONG*' instead of 'int *' )

  * harbour/src/vm/set.c
! fixed bug in MT mode - when new thread was created then _SET_PATH
  setting was not cloned but wrongly shared with parent thread - many
  thanks to Rossine for the information

Modified Paths:
--
trunk/harbour/ChangeLog
trunk/harbour/src/vm/macro.c
trunk/harbour/src/vm/set.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error GPF with hbnetio

2010-03-08 Thread Przemysław Czerpak
On Mon, 08 Mar 2010, Rossine wrote:

Hi,

 The function that is occurring the GPF is netio_serverstop()
 Using the example below generates GPF. I include this lines:
 [LINES]
set pathto .\
SET DEFAULT TO .\
hb_curdrive( C: )
dirchange( .\ )
 [ENDLINES]
 [CODE]
[...]
 [ENDCODE]
 Am I doing something wrong ?

Nothing.
It was a bug in MT HVM code which existed from the beginning
but so far no one exploited it.
decoded _SET_PATH structure was wrongly shared between child
threads without cloning. I have just fixed it.
Thank you very much for the information and code example.

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


[Harbour] MT statics vs public

2010-03-08 Thread Lorenzo Fiorini
I am moving my apps desktop apps to web interface.

Since the UI is in another process ( the browser ) is somewhat
difficult to manage wait states so MT is becoming almost necessary.

I've successfully implemented MT in my httpserver and the results are
great, but http apps are made to be ( almost ) stateless while desktop
apps are full of vars that remember selections, global and user
setting, preferences and so on.

Following the CL5 guidelines I've heavily used module wide static vars
and set/get functions to access them but in a MT statics are difficult
to share so the idea is to use a big public hash as a session
holder where every static become a key with a value and share it
between threads.

What do you think?

Do you see other paths?

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


[Harbour] Re: MT statics vs public

2010-03-08 Thread Pritpal Bedi


Lorenzo Fiorini wrote:
 
 Following the CL5 guidelines I've heavily used module wide static vars
 and set/get functions to access them but in a MT statics are difficult
 to share so the idea ...
 

Static variable as declared as STATIC are shared among threads.
Static variables declared as THREAD STATIC have thread wide scope.

I simply use both notations to distinguish the usage.

Przemek will shed more light on this topic, for sure.




-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/MT-statics-vs-public-tp4697551p4697740.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error GPF with hbnetio

2010-03-08 Thread Rossine

Hi Przemek,


Przemysław Czerpak wrote:
 
 It was a bug in MT HVM code which existed from the beginning
 but so far no one exploited it.
 decoded _SET_PATH structure was wrongly shared between child
 threads without cloning. I have just fixed it.
 

OK :)

Work´s fine now :)

Many thank´s for this great tool :)

Best Regards,

Rossine.

-- 
View this message in context: 
http://old.nabble.com/Error-GPF-with-hbnetio-tp27824003p27826644.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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


[Harbour] Re: Error GPF with hbnetio

2010-03-08 Thread AbeB


Rossine wrote:
 
 
 Hi Przemek,
 
 
 Przemysław Czerpak wrote:
 
 It was a bug in MT HVM code which existed from the beginning
 but so far no one exploited it.
 decoded _SET_PATH structure was wrongly shared between child
 threads without cloning. I have just fixed it.
 
 
 OK :)
 
 Work´s fine now :)
 
 Many thank´s for this great tool :)
 
 Best Regards,
 
 Rossine.
 
 
 

Hi Przemek,

This tool it just GREAT.

I'm using it on a WinCE handheld accessing file on a Novel Netware Server.

Please post more often, i don't read your messages, I _study_ them! :-)

Thanks a zillion,
Abe


-- 
View this message in context: 
http://n2.nabble.com/Error-GPF-with-hbnetio-tp4696506p4697914.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Trying to run test hbpgsql, Error Argument error:PQEXEC

2010-03-08 Thread jparada



 You have sort out the .dlls you use on your system.
 libpq.dll must match the import lib you used when 
 linking the test app and building Harbour, and the 
 other dependent .dlls must match the requirements 
 of lippq.dll.
 
 Probably you have multiple of these in your .dll 
 search path (PATH, local dir), hence the confusion.
 

Thanks for the trick Viktor, now everything works well

Regards
Javier Parada
-- 
View this message in context: 
http://old.nabble.com/Trying-to-run-test-hbpgsql%2C-Error-Argument-error%3APQEXEC-tp27825075p27826919.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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


[Harbour] Re: Error GPF with hbnetio

2010-03-08 Thread Pritpal Bedi


AbeB wrote:
 
 Please post more often, i don't read your messages, I _study_ them! :-)
 

Very _WELL_ expressed feeling.


-
 enjoy hbIDEing...
Pritpal Bedi 
_a_student_of_software_analysis__design_
-- 
View this message in context: 
http://n2.nabble.com/Error-GPF-with-hbnetio-tp4696506p4698022.html
Sent from the harbour-devel mailing list archive at Nabble.com.
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Can harbour print to STDOUT?

2010-03-08 Thread smu johnson
Hi,

I've googled for something relevant in the dev archives, but haven't found
anything that really is related to my question.

Can harbour print to the STDOUT?  My cute program below does not:

FUNC MAIN()

  PARAM cOne, cTwo

  ? cOne
  ? cTwo

RETURN

Trying to capture the output by piping it in cmd.exe in Windows just won't
do it, as it probably has it's own console writing calls that are beyond my
brain capacity.

Thank you



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


Re: [Harbour] Can harbour print to STDOUT?

2010-03-08 Thread Xavi

Can harbour print to the STDOUT?  ...


hbmk2 program.prg -gtstd
program.exe out.txt

--
Xavi

El 09/03/2010 2:59, smu johnson escribió:

Hi,

I've googled for something relevant in the dev archives, but haven't
found anything that really is related to my question.

Can harbour print to the STDOUT?  My cute program below does not:

FUNC MAIN()

   PARAM cOne, cTwo

   ? cOne
   ? cTwo

RETURN

Trying to capture the output by piping it in cmd.exe in Windows just
won't do it, as it probably has it's own console writing calls that are
beyond my brain capacity.

Thank you



--
smu johnson smujohn...@gmail.com mailto:smujohn...@gmail.com


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


Re: [Harbour] hbIDE and Intellisense

2010-03-08 Thread marco bra
Bruno thank for the suggestion.

On my GNU Linux Ubuntu computers i usually use vi terminal editor and
sometimes gedit with the highlight mode set as  c is a good idea to use
kate (kate is the kde Desktop Environment default installed editor)  to edit
qt related sources files on Gnome (my preferred Desktop Environment) i will
test it .

Just quickly installed now with sudo apt-get install kate terminal
command... ;-)
I discover kate have a source/clipper highlight mode (xHarbour).

I think hbide source editor will be the best to edit Harbour sources files
in a GUI framework.

Best regards to all.
-- 
Linux Infinite Freedom
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: MT statics vs public

2010-03-08 Thread Lorenzo Fiorini
On Mon, Mar 8, 2010 at 8:45 PM, Pritpal Bedi bediprit...@hotmail.com wrote:

 Static variable as declared as STATIC are shared among threads.
 Static variables declared as THREAD STATIC have thread wide scope.

Many thanks, but I was referring more to the programming style.
In my market desktop is fading away and everything is getting mobile and remote.

When I can deploy gtxwc/gttrm apps on a Linux server everything is
easy, fast and cheap since gtxwc/X11 is supported by Linux, Mac and
Windows and gttrm/putty runs on devices like barcode reader ( usually
Win Ce ) or smartphones. But is getting hard to sell text interface
and I need to port my whole applications portfolio to web without
rewrite it from scratch.

So I am trying to migrate to development patterns ( multi-tier, MVC,
application, session ) that can be used local ( UI, app logic and
data in the same domain ) or remote ( UI on the user device and app
logic and data elsewhere ).

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