Search found 464 matches
- Sun Oct 04, 2009 4:39 am
- Forum: FiveLinux / FiveDroid (Android)
- Topic: Automating Compile and Link
- Replies: 9
- Views: 2904
Automating Compile and Link
Hi Antonio I am trying to be able to compile and link code from within a code generator I am writing. I can run the xHarbour compile step (ie .prg to .c) fine with: FUNCTION CompilePRG( str_PRGName ) LOCAL int_CompileReturn ? "Compiling " + str_PRGName + ".prg to " + str_PRGNa...
- Thu Jul 09, 2009 8:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Returning an array from C code
- Replies: 2
- Views: 410
Re: Returning an array from C code
Thanks Antonio
Code is most instructive. Should be put to good use shortly. First target will be native CUPS support. If done as a class it would presumably be TCUPS (teacups)?
Regards
Doug
Code is most instructive. Should be put to good use shortly. First target will be native CUPS support. If done as a class it would presumably be TCUPS (teacups)?
Regards
Doug
- Thu Jul 09, 2009 11:26 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Returning an array from C code
- Replies: 2
- Views: 410
Returning an array from C code
Hi all I need to return an array (or perhaps write to an (x)Harbour array) from a C function where I have something like char **things I need to iterate through things like this (given that there are int num_things of things: for ( loop_counter = 0; loop_counter < num_things; loop_counter++ ) { // d...
- Thu Jul 02, 2009 1:34 am
- Forum: FiveLinux / FiveDroid (Android)
- Topic: Five Linux and Sound
- Replies: 1
- Views: 835
Five Linux and Sound
This board is looking a little quiet with no new posts in more than 6 months. I have a need to record voice for subsequent transcription and there wasn't a Linux package available that I could see that fitted my needs (gnome-voice-recorder didn't have pause functionality, Audacity made the process t...
- Sat Jun 27, 2009 7:15 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to monitor a network directory?
- Replies: 17
- Views: 3701
Re: How to monitor a network directory?
Hi Otto >From the ECR the directory() function or file() function needs 4 sec to notice that the ldb-file is deleted. >The IPAQ notice this within milliseconds. Curious! You are polling for the non-existence of a file from both the ECR and the IPAQs I assume. If the IPAQ consistently notices that th...
- Fri May 29, 2009 10:26 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to interact with Flash component of a web page
- Replies: 0
- Views: 290
How to interact with Flash component of a web page
Hi all Using TIPClientHTTP one can interact with a web page where data is posted back to the server. But I want to interact with a web page where data is input into an embedded flash object where a Calculate button is then hit and an answer inserted. Does anyone out there know of a way of doing this...
- Mon May 11, 2009 1:12 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Client Server Database Access the xBase Way
- Replies: 39
- Views: 10827
Re: Client Server Database Access the xBase Way
Hi Carles I have meant to post a reply here for many days now but have been very busy with upgrades, visitors etc. I want to reuse this technique for another project and will post here shortly, probably in a new thread. Sorry its taking so long but I want to review and possibly neaten up my code. Re...
- Wed Apr 29, 2009 9:12 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Client Server Database Access the xBase Way
- Replies: 39
- Views: 10827
Many Other Applications Possible
Hi all I just thought I should add that this technique can be used for many different purposes other than just database access. Pretty much anytime you want a process performed on another computer (or the same computer for that matter) with (optionally) information returned to the originating comput...
- Tue Apr 28, 2009 9:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Client Server Database Access the xBase Way
- Replies: 39
- Views: 10827
Re: Client Server Database Access the xBase Way
Hi Boris Yes, I am currently running 10 copies of my executable on the server each listening on a different port. I know its not very elegant and is not extremely scalable but I wanted to get up and running and it works. Threaded code would be the answer and indeed the code is designed to go threade...
- Tue Apr 28, 2009 12:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Client Server Database Access the xBase Way
- Replies: 39
- Views: 10827
Re: Client Server Database Access the xBase Way
Hello Boris Greetings from Australia. Very pleased to read your comments. Code has been working reliably for me for many months now. My server and clients are all Linux but recently I needed to be able to access some data generated and stored on a Windows PC and I could use almost exactly the same c...
- Thu Apr 02, 2009 10:54 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBase documentor
- Replies: 11
- Views: 1913
Re: xBase documentor
> 1. Draw vertical lines to show control / flow structures I started thinking about how one might best do this in a nice structured, flexible way. If I was to write it my primary focus would be Linux and postscript printing but it wouldn't be too hard to do a Windows version. Just thinking about wha...
- Wed Apr 01, 2009 12:05 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
- Replies: 14
- Views: 4301
Re: Speedtest CLIPPER vs. xHarbour - COMMIT
Thanks for the info. Now we all know why and whatwe can do about it.
Regards
Doug
Regards
Doug
- Wed Apr 01, 2009 12:03 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBase documentor
- Replies: 11
- Views: 1913
Re: xBase documentor
Hi Uwe I can remember writing one back in the dBase III days (pre Clipper) which used the IBM extended character graphics to draw vertical lines with little horizontal bits at keywords such as IF ELSE ENDIF. Good for finding bugs when one was starting out and running as an interpreter. Clipper arriv...
- Wed Apr 01, 2009 11:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FileStr()
- Replies: 5
- Views: 665
Re: FileStr()
OOps! I meant FileStr() NOT StrFile()! I was just calling as follows: FileData := FileStr( FileName ) That is I omitted parameter 2 (nBytes) so it should read the entire file (and does so under Linux) but under Windows seems to only read the first 30K or so. Sorry about mixing up FileStr() and StrFi...
- Wed Apr 01, 2009 11:02 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FileStr()
- Replies: 5
- Views: 665
FileStr()
Hi all I have just had to write some code to run on a Windows box. I wrote the code on a linux machine where it ran fine and then compiled under Windows. It compiled and ran but errored out. The problem turned out to be theFileStr() function which on Linux seemed to cope with fair sized files (certa...