NETIO HMG 3.0.0

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
karweru
Posts: 220
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Contact:

Re: NETIO HMG 3.0.0

Post 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
Kind regards,
Gilbert.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: NETIO HMG 3.0.0

Post 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
With best regards,
Sudip
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: NETIO HMG 3.0.0

Post 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
With best regards,
Sudip
User avatar
gfilatov
Posts: 1067
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: NETIO HMG 3.0.0

Post 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:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: NETIO HMG 3.0.0

Post 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,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: NETIO HMG 3.0.0

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
karweru
Posts: 220
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Contact:

Re: NETIO HMG 3.0.0

Post by karweru »

Thank you very much Master. Thank you Grigory. Everything runs fine now.
Kind regards,
Gilbert.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: NETIO HMG 3.0.0

Post 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
With best regards,
Sudip
User avatar
gfilatov
Posts: 1067
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: NETIO HMG 3.0.0

Post 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
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: NETIO HMG 3.0.0

Post by sudip »

Thanks a lot Grigory :)
Now it is clearer to me :)
With best regards.
Sudip
With best regards,
Sudip
Post Reply