Page 3 of 5

Re: NETIO HMG 3.0.0

Posted: Mon Oct 26, 2009 5:49 pm
by karweru
Someone please help me out. I've offloaded all versions of hmg, then downloaded and installed hmg3 test 9. I'm then compiling from the IDE the project in C:\hmg\SAMPLES\NETIO.02\HmgNetIOServer. It compiles ok but evry time i run it i get the message "can't run server". I'm i missing something? Kindly assist

Regards
Gilbert

Re: NETIO HMG 3.0.0

Posted: Mon Oct 26, 2009 5:53 pm
by sudip
Hello Friends,
Thanks a lot. I just tested with Netio. It works fine. I like it :) Now, will it works on index file (.CDX) file also?
With best regards.
Sudip

Re: NETIO HMG 3.0.0

Posted: Mon Oct 26, 2009 5:57 pm
by sudip
karweru wrote:Someone please help me out. I've offloaded all versions of hmg, then downloaded and installed hmg3 test 9. I'm then compiling from the IDE the project in C:\hmg\SAMPLES\NETIO.02\HmgNetIOServer. It compiles ok but evry time i run it i get the message "can't run server". I'm i missing something? Kindly assist

Regards
Gilbert
Hello Gilbert,
I am also facing the same problem :(
With best regards.
Sudip

Re: NETIO HMG 3.0.0

Posted: Mon Oct 26, 2009 7:20 pm
by gfilatov
sudip wrote:
karweru wrote:Someone please help me out. I've offloaded all versions of hmg, then downloaded and installed hmg3 test 9. I'm then compiling from the IDE the project in C:\hmg\SAMPLES\NETIO.02\HmgNetIOServer. It compiles ok but evry time i run it i get the message "can't run server". I'm i missing something? Kindly assist

Regards
Gilbert
Hello Gilbert,
I am also facing the same problem :(
Hello Sudip,

Try the following command line:
build.bat /mt /r HmgServerIO.hbp
I hope that helps :idea:

Re: NETIO HMG 3.0.0

Posted: Mon Oct 26, 2009 8:33 pm
by Vanguarda
sudip wrote:Hello Friends,
Thanks a lot. I just tested with Netio. It works fine. I like it :) Now, will it works on index file (.CDX) file also?
With best regards.
Sudip
Hello my friends,

Sorry, once again my delay to response.

About NETIO. YES it work fine with CDX.


My best regards,

Re: NETIO HMG 3.0.0

Posted: Mon Oct 26, 2009 9:20 pm
by Roberto Lopez
karweru wrote:Someone please help me out. I've offloaded all versions of hmg, then downloaded and installed hmg3 test 9. I'm then compiling from the IDE the project in C:\hmg\SAMPLES\NETIO.02\HmgNetIOServer. It compiles ok but evry time i run it i get the message "can't run server". I'm i missing something? Kindly assist

Regards
Gilbert
That sample should be built with multi-threading support.

Please build from command line with /mt switch.

Regards,

Roberto.

Re: NETIO HMG 3.0.0

Posted: Tue Oct 27, 2009 3:19 am
by karweru
Thank you very much Master. Thank you Grigory. Everything runs fine now.

Re: NETIO HMG 3.0.0

Posted: Tue Oct 27, 2009 3:35 am
by sudip
Hello Roberto, Grigory,
Thanks a lot :)
It's working :D

Can anyone please tell me what's the main difference between LetoDB and NetIO? I am really very much interested about NetIO :)

Thanks in advance.

With best regards.
Sudip

Re: NETIO HMG 3.0.0

Posted: Tue Oct 27, 2009 8:34 am
by gfilatov
sudip wrote: ...
Can anyone please tell me what's the main difference between LetoDB and NetIO? I am really very much interested about NetIO :)

Thanks in advance.
Hello Sudip,

Take a look for answers from the author of the NetIO library. ;)
I hope that helps :idea:
On Tue, 01 Sep 2009, Ernad Husremovic wrote:

Hi,

> Hello hb community.
> A few days ago, we started porting our clipper solutions to LETODB RDD.
> Today I read about new Przemek great contribution: NETIO RDD.

To clarify. It's not RDD but only alternative RDD IO API library so
it allows to switch transport layer in all RDDs which uses hb_file*()
interface.

> Reading Changelog, NETIO is also good candidate for our default RDD.
> Our main goal is to provide multiplatform (linux, windows) solution

NETIO RDD resolves the problem with sharing database files between
different OS-es so it can be usefull in such cases.

> which is not vulnerable
> to data corruption caused by direct file access.

But here it will not help you in noticeable way.
It's not client server solution for database and index file processing.
They are still updated by the local station not the server so station
crash may leave index not fully updated.
NETIO replaces only transport layer.

> In some earlier conversation, Przemek wrote:
> > BTW it's not exactly client/server solution like in ADS or NETRDD if I finish it.
> I would like to hear community comments about the optimal choice of (opensource) RDDs in the client/server arena.

For sure full server side table and index processing is much better solution.
ADS and LETO are such servers. I haven't used any of them so I cannot say
too much about them. ADS is commercial project with very good user opinion.
LETO is opensource project but I do not know user experience about using it
in larger installations. I also cannot say too much about its internals
and if it's safe or not to use it with Harbour multithread programs.

best regards,
Przemek

Re: NETIO HMG 3.0.0

Posted: Tue Oct 27, 2009 8:58 am
by sudip
Thanks a lot Grigory :)
Now it is clearer to me :)
With best regards.
Sudip