Re: [Harbour] Removal of non-UNICODE Windows codepath?

2010-04-30 Thread smu johnson
Update: well I did a raw DEVOUT for loop test, and it was a only about 10% slower. The 2 or 3 times slower claim was in the ap we use itself, where we have another test which does almost the same thing, and it is about 2 or 3 times slower... not sure what really is responsible, only thing I know

Re: [Harbour] Removal of non-UNICODE Windows codepath?

2010-04-30 Thread smu johnson
Hi Viktor, It turns out that my tests of doing the devout calls to the screen in Win9x with the unicows solution is about 2 or 3 times slower than non-unicode compiled .EXEs on the same machine. And this is with Przemek's SET CURSOR OFF trick as well for Win9x machines... So this simple test and

Re: [Harbour] SF.net SVN: harbour-project:[14415] trunk/harbour

2010-04-30 Thread smu johnson
Przemek must know a lot about computers and Harbour! On Fri, Apr 30, 2010 at 2:39 AM, wrote: > Revision: 14415 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14415&view=rev > Author: druzus > Date: 2010-04-30 09:39:25 + (Fri, 30 Apr 2010) >

[Harbour] Re: SF.net SVN: harbour-project:[14415] trunk/harbour

2010-04-30 Thread Pritpal Bedi
druzus wrote: > > Revision: 14415 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14415&view=rev > Author: druzus > Date: 2010-04-30 09:39:25 + (Fri, 30 Apr 2010) > > Log Message: > --- > 2010-04-30 11:39 UTC+0200 Przemyslaw Czerpak (druzus/at/pri

[Harbour] Re: SF.net SVN: harbour-project:[14415] trunk/harbour

2010-04-30 Thread Angel Pais
Awesome !!! Thank you ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread smu johnson
Yeah, this SMBv2 patch fixed everything for us. It became a problem when SMB2 was running for doing .dbf file access over a simple run-of-the-mill Windows Shared Network. We could have used HBNETIO, but we didn't want to have to change hundreds of lines of code where the NET USE code would end up

Re: [Harbour] SF.net SVN: harbour-project:[14415] trunk/harbour

2010-04-30 Thread Viktor Szakáts
Great stuff. Thanks a lot! Viktor On 2010 Apr 30, at 11:39, dru...@users.sourceforge.net wrote: > Revision: 14415 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14415&view=rev > Author: druzus > Date: 2010-04-30 09:39:25 + (Fri, 30 Apr 2010) > > Log Mess

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "francesco perillo" A: "Harbour Project Main Developer List." Data invio: venerdì 30 aprile 2010 19.09 Oggetto: Re: [Harbour] SMB1 and SMB2 Enrico should answer... I just forwarded the message... Sorry, I can't make any significative test right now. EMG

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread francesco perillo
Enrico should answer... I just forwarded the message... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread Viktor Szakáts
Hi Francesco, Can you test following Harbour call, to see how well it works? ? WIN_OSNETREGOK( .T., .T. ) (you need to be logged in as administrator to make the above call successful) Viktor On 2010 Apr 30, at 18:31, francesco perillo wrote: >> From a thread started by smu johnson on Marc

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "francesco perillo" A: "Harbour Project Main Developer List." Data invio: venerdì 30 aprile 2010 18.31 Oggetto: Re: [Harbour] SMB1 and SMB2 From a thread started by smu johnson on March 3 Thank you. EMG -- EMAG Software Homepage: http://www.emagsof

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Lorenzo Fiorini" A: "Harbour Project Main Developer List." Data invio: venerdì 30 aprile 2010 18.14 Oggetto: Re: [Harbour] SMB1 and SMB2 I've found some msgs about it. In my gmail the first reference is: Thank you. EMG -- EMAG Software Homepage: h

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "francesco perillo" A: "Harbour Project Main Developer List." Data invio: venerdì 30 aprile 2010 18.04 Oggetto: Re: [Harbour] SMB1 and SMB2 Enrico, do a search on past messages. There was a person that had several serious issues with smb2. From memory, he

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread francesco perillo
>From a thread started by smu johnson on March 3 Well we have a ton of people who still use Windows, and because of that we need a Windows solution. I am happy to report that after about 30 mins of Googling, I came across this page, which solved the problem, if you disable SMB2. http:/

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread Lorenzo Fiorini
On Fri, Apr 30, 2010 at 9:43 AM, Enrico Maria Giordano wrote: > Dear friends, can you tell me if there are any known issues with Harbour and > Microsoft's Server Message Block technology? It is a caching technology > which will delay the writing of data to shared files on a Windows server. > SMB2

Re: [Harbour] SMB1 and SMB2

2010-04-30 Thread francesco perillo
Enrico, do a search on past messages. There was a person that had several serious issues with smb2. >From memory, he solved applyuing a security patch that allowed to disable smb2... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbo

Re: [Harbour] SF.net SVN: harbour-project:[14408] trunk/harbour

2010-04-30 Thread Bruno Luciani
I think that viktor say that try to test your sample in test folder in order to hbmk2 use the hbmk config file from tests samples Copy your prg to xhb test folder and try to compile without use any option only hbmk2 and make sure that hbmk.hbm file is present Bruno 2010/4/30 ivan re >

Re: [Harbour] SF.net SVN: harbour-project:[14408] trunk/harbour

2010-04-30 Thread ivan re
HI Viktor I don't understand if I had to download hbxml.c and use it. I don't understand how to use it. TIA Ivan On Wed, Apr 28, 2010 at 11:12 PM, wrote: > Revision: 14408 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14408&view=rev > Author: vszakats > Date: 2010-04

Re: [Harbour] Error BASE/1099 Argument error: STR

2010-04-30 Thread ivan re
Hi Viktor, I don't understand how to implement follow line > > > > Rather use -i option or point to xhb.hbc file. > > (or simply copy your sample to contrib/xhb/tests/ dir > > and issue hbmk2 from there) > > I also tried all the suggestions figure out but unfortunatly it doesn't work: The mistake

Re: [Harbour] SF.net SVN: harbour-project:[14415] trunk/harbour

2010-04-30 Thread Mindaugas Kavaliauskas
Hi, On 2010.04.30 12:39, dru...@users.sourceforge.net wrote: + added support for communication streams/channels which allow to send asynchronously data from server to client. The following client side functions had been added: NETIO_OPENDATASTREAM( [,] )

Re: [Harbour] Removal of non-UNICODE Windows codepath?

2010-04-30 Thread Viktor Szakáts
Hi Mindaugas, > I see no problem for Win 3.x and Win32s, we still have customers with Win9x. > Many of the projects are contained in the only .exe file, so requirement of > extra .dll is not nice. One more thing is that my libraries are non-UNICODE, > but I do not see a big reason to do rewrite

Re: [Harbour] Removal of non-UNICODE Windows codepath?

2010-04-30 Thread Mindaugas Kavaliauskas
Hi, I see no problem for Win 3.x and Win32s, we still have customers with Win9x. Many of the projects are contained in the only .exe file, so requirement of extra .dll is not nice. One more thing is that my libraries are non-UNICODE, but I do not see a big reason to do rewrite a working piec

Re: [Harbour] Re: Netio Questions

2010-04-30 Thread Alex Strickland
Alex Strickland wrote: If the server is stopped (quit), the client stays frozen, it doesn't time out. Or am I doing something wrong here? I just started looking at the code: NETIO_CONNECT( [], [], [], ; [], [], [] ) nTimeOut defaults to -1 if you don't set it, and I guess t

[Harbour] SF.net SVN: harbour-project:[14415] trunk/harbour

2010-04-30 Thread druzus
Revision: 14415 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14415&view=rev Author: druzus Date: 2010-04-30 09:39:25 + (Fri, 30 Apr 2010) Log Message: --- 2010-04-30 11:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbzne

[Harbour] ACHOICE() bug for 2010, with simple hello world example

2010-04-30 Thread smu johnson
Hi, Here is a proven section of code to denote a Harbour / Clipper achoice() difference. From looking at the difference, I believe it is a simple fix. But this I cannot guarantee (yet). Anyways, the code + comments will summarize everything. But in a nutshell, it is this: the cursor position o

[Harbour] SMB1 and SMB2

2010-04-30 Thread Enrico Maria Giordano
Dear friends, can you tell me if there are any known issues with Harbour and Microsoft's Server Message Block technology? It is a caching technology which will delay the writing of data to shared files on a Windows server. SMB2 is new with Server 2008 and Vista / Windows 7 clients. I'm wondering

RE:[Harbour] extern / contrib to parse excel files?

2010-04-30 Thread Jerry Finuliar
Hi smu, You just need hbwin to create an ole object. local xls := win_OleCreateObject("Excel.Application"). xls:Open() xls:Close() Best Regards, Jerry -- ___ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com

[Harbour] achoice hack?

2010-04-30 Thread Jerry Finuliar
Hi, Base from dbu's menu system the following hack will fix freezing dropdown menus. 130: lFinished := ( nMode == AC_NOITEM ) // just insert this block IF lFinished IF lUserFunc Do( xUserFunc, nMode, nPos, nPos - nAtTop ) ENDIF ENDIF // end block DO WHILE !lF