Hi Przemek Shouldn't the NETIO server API call make an RTE if not called in MT mode?
This is a frequent problem and despite all the hbmk2 configurations and information out there, lots of users get it wrong, causing such long threads. BTW, this still also applies to all HBNETIO triers: --- As some rules of thumb / checklist to build _any_ Harbour contribs and test apps: 0. download C compiler (mingw/msvc prefereed) (see links in INSTALL) 1. install C compiler 2. configure C compiler (as per INSTALL EXAMPLES section) 3. download dependencies (see links in INSTALL) 4. install dependencies 5. setup HB_WITH_* vars (as per INSTALL) 6. go to Harbour source root dir 7. build Harbour (as per INSTALL, usually: 'win-make' or 'make' command) 8. change dir to preferred tests or utils subdir inside Harbour source tree ('cd contrib/hbmysql/tests'). 9. issue command: '<path>hbmk2 test.prg' (where <path> is the path to hbmk2 executable, or nothing, if Harbour bin dir has been added to PATH) 10. remember to put involved .dll in PATH, or copy them next to the executable. And again: _delete_ HB_COMPILER envvar. --- Brgds, Viktor On 2010 Apr 23, at 13:25, Bruno Luciani wrote: > Winston , si lo necesitas te lo envio , lo tengo compilado para ubuntu > > ------ > > Winston If you need I can send to you a compiled version of MT server for > ubuntu > > > Bruno > > 2010/4/22 Winston Garcia <wisto...@yahoo.es> > Hola Ciro. Se que hablas español y asi te lo explico mejor. > > Estoy migrando una pequeña aplicacion de Facturacion e Inventarios que tenia > en Clipper a harbour, hasta alli todo bien excepto una libreria de terceros y > simule con harbour las funciones de estas. > > Por razones de estabilidad estoy haciendo unos test desde windows-xp contra > un servidor ubuntu-linux que es donde estan las tablas dbf. y me encuentro en > que solo me permite hacer una coneccion al server, ahora lo que me falta > probar es compilar con MT mode. > > Ahora te agradeceria me hicieras saber algunos tips para trabajar con esta > "extraordinaria funcionabilidad de harbour"" > > Saludos > > Winston Garcia > Venezuela > > > > --- El jue, 22/4/10, Ciro Vargas C <c...@oohg.org> escribió: > > De: Ciro Vargas C <c...@oohg.org> > > Asunto: Re: [Harbour] NETIO Questions > Para: "Harbour Project Main Developer List." <harbour@harbour-project.org> > Fecha: jueves, 22 de abril, 2010 21:54 > > > Hi Winston: > > Why do you say that the sample does not accept multiple connections? > > What kind of test you do it? > > let me know each step... > > best regards > Ciro > > > > 2010/4/22 Winston Garcia <wisto...@yahoo.es> > Thanks Bruno. > > Can you say me how i compile with MT Mode ? > > What Program i compile with MT mode Client or Server, or Client And Server ? > > Thanks by your suuport > > > > My Env is Server Ubuntu-Server 8.04 And Client WinXp > > Greeting > > > --- El jue, 22/4/10, Bruno Luciani <bruno.luci...@gmail.com> escribió: > > De: Bruno Luciani <bruno.luci...@gmail.com> > Asunto: Re: [Harbour] NETIO Questions > Para: "Harbour Project Main Developer List." <harbour@harbour-project.org> > Fecha: jueves, 22 de abril, 2010 20:36 > > > Do you have compiled in multithread mode ? > > I don't have tested yet in multiple connections but If I am not wrong > I read that , it is needed MT mode > > This is my server , the defines , are not needed but i use it as a remember > of defaults for the server > > Bruno > > > #define DBSERVER "127.0.0.1" > #define DBPORT "2941" > #define DBPASSWD "topsecret" > #define DBDIR "data" > #define DBFILE "clients" > > #define DBNAME "net:" + DBSERVER + ":" + DBPORT + ":" + ; > DBPASSWD + ":" + DBDIR + "/" + DBFILE > > request DBFCDX > > request HB_DIREXISTS > request MAKEDIR > > proc main() > local pSockSrv, lExists > > set exclusive off > rddSetDefault( "DBFCDX" ) > > pSockSrv := netio_mtserver( DBPORT,,, /* RPC */ .T., DBPASSWD ) > if empty( pSockSrv ) > ? "Cannot start NETIO server !!!" > wait "Press any key to exit..." > quit > endif > > ? "NETIO server activated." > hb_idleSleep( 0.1 ) > wait > > > 2010/4/22 Winston Garcia <wisto...@yahoo.es> > Hi Bruno. > > Have you a sample of Netio server what received many conections ? > > The samples en contrib/netio only accept one conection at time ? > > Greeting > > Winston Garcia > Venezuela > > --- El jue, 22/4/10, Winston Garcia <wisto...@yahoo.es> escribió: > > De: Winston Garcia <wisto...@yahoo.es> > > Asunto: Re: [Harbour] NETIO Questions > Para: "Harbour Project Main Developer List." <harbour@harbour-project.org> > Fecha: jueves, 22 de abril, 2010 13:23 > > > Thanks Bruno. I'll try. > > Winston Garcia > > --- El jue, 22/4/10, Bruno Luciani <bruno.luci...@gmail.com> escribió: > > De: Bruno Luciani <bruno.luci...@gmail.com> > Asunto: Re: [Harbour] NETIO Questions > Para: "Harbour Project Main Developer List." <harbour@harbour-project.org> > Fecha: jueves, 22 de abril, 2010 13:17 > > I am using Netio to some tests > > You neet to compile server using MT support ( Multithread ) > > In my tests i try in this way to use index and aparently work ok > > > > if !FILE("net:clients.cdx") > index on Nombre tag nom to net:clients.cdx > endif > > Bruno > > 2010/4/22 Winston Garcia <wisto...@yahoo.es> > Hi All, my English is bad. > > How work the index in netio ? > any sample ? > The Netiosvr samples only support one conection, how i enable to support any > conection ? > > greeting > > Winston Garcia > Venezuela > > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > > -----Adjunto en línea a continuación----- > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > -----Adjunto en línea a continuación----- > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > > -----Adjunto en línea a continuación----- > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > > > -- > http://www.oohg.org > http://sistemascvc.tripod.com > > donaciones para CVC de ooHG > > https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5369884 > > > -----Adjunto en línea a continuación----- > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour