Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  

Try `stty 0' -- it works much better.


programming / comp.lang.xharbour / latest

Looking to hire (contract) xHarbour Developer/s

comp.lang.xharbour

Posted: 4 Days 19 Hours ago by: Clayton Companies

NJ based corporation with several apps in xHarbour and associated languages looking for either an independent contractor (or company) for mods, database and conversion work for immediate needs and for an on-going long term relationship.

Re: Indexing with MT

comp.lang.xharbour

Posted: 9 Days 10 Hours ago by: CV

Dan I used two different threads using TWO different files and indexes. Doing the same process over the same file at the same time is non-sense. Regards ©

Re: Indexing with MT

comp.lang.xharbour

Posted: 9 Days 12 Hours ago by: Daniele

Well, I did not believe the two threads indexing the same file would have succeeded. I was thinking of 2 different files! I learned something. :-) You are welcome. Dan

Re: hbmake does not work, it gives a errors, from xharbour 32bit

comp.lang.xharbour

Posted: 10 Days 19 Hours ago by: reina...@gmail.com

Hi Claudio, the problem was already solved. Thanks for the help

Re: Indexing with MT

comp.lang.xharbour

Posted: 10 Days 19 Hours ago by: CV

Hi everyone, Dan specially I don't know why, but the very same program that previously DOESN'T work, now works properly. I didn't change a line, tried to test it yesterday and ... WORKS. A mistery. Thank you for the code! Regards Claud

Re: hbmake does not work, it gives a errors, from xharbour 32bit

comp.lang.xharbour

Posted: 10 Days 19 Hours ago by: CV

Hi Reynaldo Maybe you should use quotes: "C:\Program Files (x86)\Embarcadero\Studio\20.0\BIN\ilink32.exe" @makefile.lnk to start the linker in your batch file. Regards, Claudio Voskian

Re: hbmake does not work, it gives a errors, from xharbour 32bit

comp.lang.xharbour

Posted: 11 Days 4 Hours ago by: reina...@gmail.com

I am trying use xharbour version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20201212) Copyright 1999-2020, http://www.xharbour.org http://www.harbour-project.org/ Reynaldo Henrique

hbmake does not work, it gives a errors, from xharbour 32bit

comp.lang.xharbour

Posted: 11 Days 5 Hours ago by: reina...@gmail.com

C:\Program Files (x86)\Embarcadero\Studio\20.0\BIN\ilink32 @makefile.lnk 'C:\Program' is not recognized as a built-in command or external, an operable program or a batch file. Thanks for the help in advance. Reynaldo Henrique

Re: ("Outlook.Application")

comp.lang.xharbour

Posted: 11 Days 13 Hours ago by: CV

hi It needs to use a fully qualified pathname like drive:\directory\subdir\file.ext as in C:\Temp\MyDir\MyPdf.pdf Regards Claudio Voskian

Re: ("Outlook.Application")

comp.lang.xharbour

Posted: 11 Days 21 Hours ago by: timepro timesheet

if !empty(attch);oMsg:Attachments:add(Attch);end && CRASHES HERE earlier code pdfname='\tax\pdffiles\'+pdfname but after i added diskname() [pdfname=diskname()+':\tax\pdffiles\'+pdfname ] it works fine... is diskname() mandatory, eve

Re: Indexing with MT

comp.lang.xharbour

Posted: 12 Days 16 Hours ago by: CV

Dan It was a copy and paste with missing lines, I have the wait "" before the end of the main routine, and there are 2 indexing functions for different databases (while I just copied one for the example, the other is identical). When I

Re: Indexing with MT

comp.lang.xharbour

Posted: 12 Days 19 Hours ago by: Daniele

So you start the thread and then exit. How can it work? StartThread(@index1()) wait "Press a key" return Anyway, such a code is just for testing, eh. Dan

MINUS...in excel (a la SUM)

comp.lang.xharbour

Posted: 13 Days 3 Hours ago by: timepro timesheet

syntax to minus cellX from cellY and write the value in cellZ my sum func: for xx=xs1 to xs2 oSheet:Cells(xrow,xx):Value="=SUM("+oSheet:Range(oSheet:Cells(nstart,xx),oSheet:Cells(xrow-1,xx)):Address( .F.,.F.)+")" next how to copy/repli

Re: ("Outlook.Application")

comp.lang.xharbour

Posted: 13 Days 3 Hours ago by: timepro timesheet

Attch is not nil. if !empty(attch);oMsg:Attachments:add(Attch);end && CRASHES HERE (attch is never empty)

Re: Indexing with MT

comp.lang.xharbour

Posted: 13 Days 7 Hours ago by: CV

Hi everyone After some testings and adapting the code to xharbour, I just receive an error in a windows message box: "hb_xrealloc can't reallocate memory." With this text written in the console: Unrecoverable error 9009: Unrecoverable e

Re: Indexing with MT

comp.lang.xharbour

Posted: 14 Days 6 Hours ago by: CV

Hi Dan! Thank you for the code, but: how is it supposed to open "exclusively" the same file in two threads? That is, this instruction should be common to both threads, but executed only once before starting anything else: Anyway I will t

Re: Indexing with MT

comp.lang.xharbour

Posted: 14 Days 12 Hours ago by: Daniele

Try it yourself adapting this pseudocode: #ifdef __XHARBOUR__ #xtranslate hb_threadStart( <x,...> ) => StartThread( <x> ) #endif #include "hbthread.ch" procedure main .... // test monothread start_time:=seconds() ? "start single thre

Re: Indexing with MT

comp.lang.xharbour

Posted: 14 Days 18 Hours ago by: CV

Ella Thank you for your explanation. No VM machines on that server, plenty of ram, enough speed in disk access.... almost no limits in hardware. The only limit is the available time frame to rebuild indexes in case it is needed. How abo

Re: Indexing with MT

comp.lang.xharbour

Posted: 15 Days ago by: Ella Stern

Suggestion: explain to the admin that - the indexing process needs a dedicated physical machine (NOT a VM) with a minimal Windows OS image (32 bits version) processor with many L1/L2 memory and high pace, 3 GB RAM, no Internet access, no e

Re: Indexing with MT

comp.lang.xharbour

Posted: 15 Days 11 Hours ago by: CV

Ella, David Thank you for your answers. The computer acting as server runs windows server, is a really fast one (12 o 16 cores), the disk is a solid state drive and has 32 gb memory, so there are almost no hardware limits. Thinking abo

Re: Indexing with MT

comp.lang.xharbour

Posted: 15 Days 17 Hours ago by: Ella Stern

Table indexing is about using intensively as much as possible RAM memory in order to build aka tree structure, and saving the three to the hard disk. When the index is too big to fit completely into the local RAM, the algorithm performs

Re: Indexing with MT

comp.lang.xharbour

Posted: 15 Days 19 Hours ago by: dlzc

On Thursday, July 15, 2021 at 4:56:55 PM UTC-7, CV wrote: .... Do you want one thread per index per database (will be slower, since the disk will be thrashing more), or just one thread per database (easier)? Either sequence is a linear

Indexing with MT

comp.lang.xharbour

Posted: 16 Days 8 Hours ago by: CV

Hi everyone I wish to know how a simple program that builds indexes for database files can be compiled/run using MT, so, given a computer with multiple cores run in parallel at least two or three indexing operations over different databas

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 16 Days 14 Hours ago by: Mel Smith

Hi Reynaldo: As I noted in a private email, I hope you can share your build script with us all. Because we like to see the various ways we all build apps. Thanks, and Glad you got your 64-bit app working. -Mel

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 16 Days 14 Hours ago by: reina...@gmail.com

Now I've discovered the error: I can compile now. It generated the executable. I needed to change the build script. Thanks for the help. Reynaldo Henrique

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 16 Days 15 Hours ago by: reina...@gmail.com

Now I can download the file. I just download it. after instal xharbour, it gives an error message: Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc. Fatal: Unable to open file 'COMMON.LIB' bcc64.exe: er

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 16 Days 15 Hours ago by: Mel Smith

Your address is hidden here. Just send me an email to support@whosaway.com with your current externl IP Address for me to finalize the download access. -Mel

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 16 Days 16 Hours ago by: reina...@gmail.com

My e-mail address is reinaldohf@gmail.com Reynaldo Henrique

Re: ("Outlook.Application")

comp.lang.xharbour

Posted: 16 Days 17 Hours ago by: Reinaldo

How about testing if Attch is Nil? Reinaldo. On Thursday, July 15, 2021 at 7:46:29 AM UTC-4, Ella Stern wrote:

Re: ("Outlook.Application")

comp.lang.xharbour

Posted: 16 Days 20 Hours ago by: Ella Stern

https://docs.microsoft.com/en-US/outlook/troubleshoot/performance/outlook-not-responding-error-or-outlook-freezes On Thursday, July 15, 2021 at 12:18:43 PM UTC+3, timec...@gmail.com wrote:

("Outlook.Application")

comp.lang.xharbour

Posted: 16 Days 23 Hours ago by: timepro timesheet

at some endusers my app crashes at line#28. but, at most users, that exact same app works fine. tia *********** func oemail(o1) *********** 1 o1=if(empty(pcount()),'O',o1) 2 if upper(substr(os(),9,2))='XP'.or.upper(substr(os(),9,2))=

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 17 Days 6 Hours ago by: Mel Smith

Hi Reynaldo: I just did some 'guessing', and I now have you authorized to download. But, I still need your email address to complete the registration. -Mel

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 17 Days 6 Hours ago by: Mel Smith

Hi Reynaldo: As my site suggests, please email me your external IP address, and I'll authorize download access. I noted that you attempted to download BCC first, and then tried MinGW. So, after I'm able to authorize download acce

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 17 Days 6 Hours ago by: reina...@gmail.com

I tried to download from your site, but it gives an error: The requested URL /files/hb3264_bin_mingw_plus_2104281802.zip was not found on this server. Reynaldo Henrique

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 17 Days 6 Hours ago by: reina...@gmail.com

xHarbour 1.2.3 Intl. (SimpLex) (Build 20201212) and bcc740 Reynaldo Henrique

Re: How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 17 Days 10 Hours ago by: Mel Smith

Hi Reynaldo: Which build/version of xHarbour are you using to build with. I have a BCC7364 version 10264 available on my site (whosaway.com) to download/use if you wish. In any case, what error did you get when when you used *your*

How to compila sources using xharbour 64 bits?

comp.lang.xharbour

Posted: 18 Days 9 Hours ago by: reina...@gmail.com

Hi guys, I'm not able to compile to 64 bits using xharbour 64 bits. I thank Reynaldo Henrique

Re: Converting array to string

comp.lang.xharbour

Posted: 18 Days 11 Hours ago by: dlzc

https://groups.google.com/g/comp.lang.xharbour/c/WiguItHVeOg/m/kM532U6Y3eMJ

Re: Converting array to string

comp.lang.xharbour

Posted: 20 Days 22 Hours ago by: rodrego sandino

Thank you very much my dear brother it works ....you help me a lot...thank you very much. i have other question for you please ...how i can convert text file to PDF file in xHarbour ?

Win32Prn - Print rotated text

comp.lang.xharbour

Posted: 25 Days 12 Hours ago by: Claudio H

Hi Is it possible to print rotated text with Win32Prn? If so, can anybody show how? Thanks! Claudio H

Re: Converting array to string

comp.lang.xharbour

Posted: 25 Days 13 Hours ago by: rodrego sandino

ok..... how can i make blob object in xharbour ?and how i deal with them? please can you explain that with example?

Re: Converting array to string

comp.lang.xharbour

Posted: 25 Days 13 Hours ago by: rodrego sandino

can you explain that with simple example? so the i can understand it easly

Re: Short file names

comp.lang.xharbour

Posted: 25 Days 23 Hours ago by: Marco

Thanks it works!

Re: Converting array to string

comp.lang.xharbour

Posted: 26 Days 3 Hours ago by: Daniele

To answer the OP, it would be possible then to use hb_Base64Encode() to fill the array with "chunks" of the original file encoded as pure ASCII. To reconstruct the file every line of the array will be decoded with hb_Base64Decode(). Dan

Re: Converting array to string

comp.lang.xharbour

Posted: 26 Days 4 Hours ago by: Daniele

I was not aware of the fact that memoread() reads everything and can handle binary files. I never used it that way. Good to know that it is a very robust function! but when i put the string in an array and try to reconstruct the str

Re: Converting array to string

comp.lang.xharbour

Posted: 26 Days 11 Hours ago by: Ella Stern

"... but when i put the string in an array and try to reconstruct the string again in order to rebuild the image again it fails that is why i ask in the beginning how to convert an array of string to a single string..." In xHarbour the A

Re: Converting array to string

comp.lang.xharbour

Posted: 26 Days 11 Hours ago by: rodrego sandino

I had reconstruct the image as you said by using FRead and Fwrite . but i want to ask you question as you said before that MEMOREAD and MEMOWRITE are used to read text files only but i have used them to read image files before and it work

Re: Converting array to string

comp.lang.xharbour

Posted: 26 Days 15 Hours ago by: rodrego sandino

Thank you very much for your nice answer my dear brother ,so how i can reconstruct the image after i read with FRead() function as you saied?

Re: Converting array to string

comp.lang.xharbour

Posted: 29 Days 1 Hour ago by: Daniele

Your approach is completely wrong, sorry. You are trying to read a jpg image as a text with memoread(), this can't work. Back to basics: memoread() reads text files. A text file contains a limited range of bytes, used to store text,

49 recent articles found.

rocksolid light 0.7.0
clearneti2ptor