Search found 464 matches

by xProgrammer
Tue Mar 15, 2011 12:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: A Client-Server Data Base Server in Harbour
Replies: 11
Views: 2932

Re: A Client-Server Data Base Server in Harbour

Herewith an example of the code related to a particular data base. Note that the queries and the list of fields to be returned are created as objects the code to do this is generated by a series of #xcommands contained in DBQuery.ch // DBEmphasis.prg #include "rapids.ch" #include "DBE...
by xProgrammer
Mon Mar 14, 2011 11:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: A Client-Server Data Base Server in Harbour
Replies: 11
Views: 2932

Re: A Client-Server Data Base Server in Harbour

I also use defines with respect to the particular data base being served. This is a real example, and the one referenced in the code in the first post in this thread: DBEmphasis.ch // DBEmphasis.ch #include "rapids.ch" // work area defines #define wa_PT_PATIENT          1 #define wa_FL_FIL...
by xProgrammer
Mon Mar 14, 2011 11:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: A Client-Server Data Base Server in Harbour
Replies: 11
Views: 2932

Re: A Client-Server Data Base Server in Harbour

The include file rapids.ch provides defines that are independant of the data base being used including defines usede to transfer error and error class back from the server to the client. // rapids.ch #define CRLF   Chr(10)           // change this for use with Windows etc // #define QUERY_GET_LIST_T...
by xProgrammer
Mon Mar 14, 2011 11:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: A Client-Server Data Base Server in Harbour
Replies: 11
Views: 2932

A Client-Server Data Base Server in Harbour

Hi all A while ago, in response to a post about data bases, I mentioned my Harbour based client-server architecture data base. I promised to post in response to a request and this thread will fulfill that promise, albeit a bit later than I originally promised. Herewith is the main .prg file. It real...
by xProgrammer
Mon Mar 07, 2011 6:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: XML Reader
Replies: 7
Views: 2108

Re: XML Reader

Hi Roman

I am using Harbour 2.0.0 (which most definitely has the xhb library) but I am using it under 64 bit Linux so I can't answer your latest question in any detail. But I am sure Antonio can.

Regards
Doug
by xProgrammer
Sun Mar 06, 2011 12:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: XML Reader
Replies: 7
Views: 2108

Re: XML Reader

Hi Roman

My understanding is that as you are using xHarbour rather than Harbour you wouldn't have and wouldn't need xhb.lib because it is a Harbour library to provide Harbour users with xHarbour compatability.

Regards
Doug
by xProgrammer
Thu Mar 03, 2011 10:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: ADS or similar products
Replies: 21
Views: 4660

Re: ADS or similar products

Hi Enrico, Massimo Thanks for your kind thoughts. Mum is now home and so far coping quite well. Will post code tomorrow time permitting. It probably needs some explanation with it. Like so many projects it grew out of a simple "proof of concept" but as the project has dvelkoped the simple ...
by xProgrammer
Wed Mar 02, 2011 11:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: ADS or similar products
Replies: 21
Views: 4660

Re: ADS or similar products

Hi Randal, Marco

Bear with me for a day or two and I'll post my solution. It's late at night and I have to get Mum out of hospital and settled back home tomorrow after her fall.

Regards
Doug
by xProgrammer
Tue Mar 01, 2011 3:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: XML Reader
Replies: 7
Views: 2108

Re: XML Reader

Hi Roman

I use TXml_Document class a lot in my Harbour code and have found it to be very good. Make sure you also check out the TXML_Iter* classes. It's really quite powerful and easy to use.

Regards
Doug
by xProgrammer
Tue Mar 01, 2011 2:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: ADS or similar products
Replies: 21
Views: 4660

Re: ADS or similar products

Hi Marco You can actually do client server with [x}Harbour code alone. It doesn't give you all the features you may get with an SQL based product but it is very fast and easy to understand. I did exactly that when faced with the exact same situation that you seem to be facing. I used IP sockets as m...
by xProgrammer
Tue Aug 24, 2010 8:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: [OT] DICOM 4 Harbour
Replies: 5
Views: 1467

Re: [OT] DICOM 4 Harbour

Just adding to my previous post. You possibly want to check out what SOP Classes your DICOM device supports. Not sure if you need / want: 1.2.840.10008.5.1.4.1.2.1.1 Patient Root Query/Retrieve - FIND 1.2.840.10008.5.1.4.1.2.1.2 Patient Root Query/Retrieve - MOVE 1.2.840.10008.5.1.4.1.2.1.3 Patient ...
by xProgrammer
Tue Aug 24, 2010 7:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: [OT] DICOM 4 Harbour
Replies: 5
Views: 1467

Re: [OT] DICOM 4 Harbour

Hi Massimo, Kleyber This is part of what is required to do that. All DICOM exchanges over a network start with an A-ASSOCIATE-RQ / A-ASSOCIATE-AC and finish with an A-RELEASE_RQ / A-RELEASE_RP. To do what you want (and what I want) requires also the bit in the middle - command and data exchange usin...
by xProgrammer
Mon Aug 23, 2010 11:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: [OT] DICOM 4 Harbour
Replies: 5
Views: 1467

[OT] DICOM 4 Harbour

Just to let those few who are interested in DICOM (Digital Imaging and Communications in Medicine) that as time permits I have been making progress with my Harbour based DICOM software. To date I have code that will do the following: Parse a DICOM file (currently in explicit VR little endian syntax ...
by xProgrammer
Mon Aug 02, 2010 12:37 pm
Forum: FiveLinux / FiveDroid (Android)
Topic: FiveLinux on Ubuntu
Replies: 24
Views: 18754

Re: FiveLinux on Ubuntu

Hi Antonio and all I note that http://www.harbour-project.org has a .deb package for download (but not 64 bit). If you install it your include files will be in: /usr/include/harbour and your library files will be in: /usr/lib/harbour which is very different from the traditional location of these fil...
by xProgrammer
Thu Jul 22, 2010 12:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read directory on a FTP-connection
Replies: 6
Views: 1031

Re: Read directory on a FTP-connection

Hi Marc and others I have found a few issues with the FTP class. The FTP server always gives a numeric response code which is not always handled appropriately - when you get a remote directory list the response code is added to the end of the list. There is a problem with the transfer of 0 byte leng...