Search found 464 matches

by xProgrammer
Tue Jan 26, 2010 8:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: Interfacing with Dicom sistems
Replies: 41
Views: 12226

Re: Interfacing with Dicom sistems

Hi all

Presumably we should start by writing and testing a C-Echo-Rq and C-Echo-Rsp (ie DICOM-ping) and working on functions to format / reformat the various data elements.

Regards
xProgrammer
by xProgrammer
Mon Jan 25, 2010 2:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: Interfacing with Dicom sistems
Replies: 41
Views: 12226

Re: Interfacing with Dicom sistems

Hi all Since the DICOM communication protocol sits on top of the TCP/IP stack (line FTP, HTTP etc), it should be possible to implement in [x]Harbour. (I have written a data base client-server database server in xHarbour). How complicated the DICOM protocol would be to implement I don't know as I don...
by xProgrammer
Thu Jan 21, 2010 9:23 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Interfacing with Dicom sistems
Replies: 41
Views: 12226

Re: Interfacing with Dicom sistems

Hi I haven't as yet but I am writing software for nuclear medicine and all the new cameras support DICOM so it will be an issue into the future for me. What sort of time frame are you looking at? Happy to co-operate and share information and / or code. Will have 3 DICOM cameras by June this year. 1 ...
by xProgrammer
Thu Jan 21, 2010 9:17 pm
Forum: FiveLinux / FiveDroid (Android)
Topic: Making Descend() available.
Replies: 2
Views: 950

Re: Making Descend() available.

Thanks, that's a lot neater.

xProgrammer
by xProgrammer
Thu Jan 21, 2010 1:28 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Making Descend() available.
Replies: 2
Views: 950

Making Descend() available.

I am writing code that builds table structures and indexes (and if desired populates them with data) from xml files. The code failed when the key expression included the Descend() function giving the following message: Error BASE/1001 Undefined function: DESCEND I got around the problem (after some ...
by xProgrammer
Thu Jan 21, 2010 1:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: If you use TXmlDocument:FindFirst()
Replies: 1
Views: 488

If you use TXmlDocument:FindFirst()

Hi all I just tracked down a problem with some code I wrote using TXmlDocument:FindFirst() function. The xml data looked like this: <TABLE> <TABLE-NAME>Whatever</TABLE-NAME> FindFirst( "TABLE-NAME" ) was not nil but its cData property was nil whereas it should be "Whatever". It t...
by xProgrammer
Wed Nov 04, 2009 2:47 am
Forum: FiveLinux / FiveDroid (Android)
Topic: 64 bit Linux
Replies: 2
Views: 930

Re: 64 bit Linux

Resolved I had run sudo apt-get install libgpm-dev but libgpm.so was only in /usr/lib. With a libgpm.so in /usr/lib64 all went well. (Just do not know how it got there when it didn't show up before). In summary, as well as downloading the from the xHarbour site I had to install the following: bison ...
by xProgrammer
Tue Nov 03, 2009 12:22 pm
Forum: FiveLinux / FiveDroid (Android)
Topic: A little GTK trick that may help
Replies: 1
Views: 745

A little GTK trick that may help

I came across this GTK trick whilst writing xHarbour code to compile and link am xHarbour application. I was (trying to) update a status bar as each module was compiled and linked, but all I ever saw was the final message. GTK event processing can get queued up behind other processes which consume l...
by xProgrammer
Tue Nov 03, 2009 9:18 am
Forum: FiveLinux / FiveDroid (Android)
Topic: 64 bit Linux
Replies: 2
Views: 930

64 bit Linux

I am trying to get my code running on 64 bit Ubuntu 9.10. That means I have tbuild harbour and / or xHarbour as 64 bit. I can build Harbour successfully (I think) but Harbour doesn't seem to have the Inet classes I need for my applications to work I have never been able to build xHarbour from source...
by xProgrammer
Mon Oct 05, 2009 12:32 pm
Forum: FiveLinux / FiveDroid (Android)
Topic: Automating Compile and Link
Replies: 9
Views: 2904

Re: Automating Compile and Link

Hi Antonio Whilst the compile and link code is not nice and clean as yet, the generator can now take an application definition (as an xml file), generate the .prg code, compile that code and link it to produce an executable and run the executable it has produced all in a single process. I have code ...
by xProgrammer
Mon Oct 05, 2009 3:29 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Automating Compile and Link
Replies: 9
Views: 2904

Re: Automating Compile and Link

Hi Antonio Current Structure of Compile and LInk back end is: Class SSFile => encapsulates a file and its attributes, especially date and time Updated Class SSPRGFile => derived from SSFile. Adds behaviour specific to .prg files, mainly extension Class SSCFile => derived from SSFile. Adds behaviour ...
by xProgrammer
Mon Oct 05, 2009 3:12 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Automating Compile and Link
Replies: 9
Views: 2904

Re: Automating Compile and Link

Hi Antonio I am building the engine to automatically build applications produced by my code generator. Currently my code generator builds a shell script that can build the application. But that is an extra step which I am working on eliminating. Originally my code generator was based on a series of ...
by xProgrammer
Sun Oct 04, 2009 8:41 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Automating Compile and Link
Replies: 9
Views: 2904

Re: Automating Compile and Link

Hi Antonio Thanks for the wonderfully prompt reply. I was in the middle of finding a solution without having to go to C, but I'll keep that option in mind. It's a nice outcome from this searching for a solution that I can do a single call to pkg-config and use it for each individual file to be compi...
by xProgrammer
Sun Oct 04, 2009 8:29 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Automating Compile and Link
Replies: 9
Views: 2904

Re: Automating Compile and Link

I have pretty much solved this one. The first problem I found was that the new process didn't seem to inherit the current working directory so I replaced the include files that were specified with relative names by absolute names. I wrote code to get the information returned by pkg-config from a sep...
by xProgrammer
Sun Oct 04, 2009 4:48 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Automating Compile and Link
Replies: 9
Views: 2904

Re: Automating Compile and Link

This works, but isn't ideal: FUNCTION CompileC( str_CName )   // RETURN ExecuteProcess( "gcc " + str_CName + ".c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`" )   RUN ( "gcc " + str_CName + ".c -c -I./../include -I./../../xharbour/inc...