Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread Viktor Szakáts
Hi, >> You will have to recompile core Harbour code with: >>set HB_BUILD_UNICODE=no >> Then Harbour compiler and final binaries created by Harbour compiler >> will work on Win9x. > > Sorry but no. Some RTL (gtwvt, hbwin) only work with Windows 2000 or later > and crash in Win9x because *forc

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread Xavi
Przemek, You will have to recompile core Harbour code with: set HB_BUILD_UNICODE=no Then Harbour compiler and final binaries created by Harbour compiler will work on Win9x. Sorry but no. Some RTL (gtwvt, hbwin) only work with Windows 2000 or later and crash in Win9x because *force* _WIN32_

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread Viktor Szakáts
> Uh oh. Will the compile switch make it work with any version of Windows, as > it currently does? Yes, of course. There is no functionality pulled from Harbour, just changing default build mode. Brgds, Viktor ___ Harbour mailing list (attachment s

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread smu johnson
Forgive the stupid question, but the only switch I'm worried about it is how it behaves now. ie, Harbour compiled .exe's run on Win9x -> Windows 7 64bit. I take it though, that "set HB_BUILD_UNICODE=no" will accomplish this, when Viktor's plan goes through for the future edition. Thanks 2010/2/

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread Przemysław Czerpak
On Tue, 16 Feb 2010, smu johnson wrote: > Uh oh. Will the compile switch make it work with any version of Windows, as > it currently does? You will have to recompile core Harbour code with: set HB_BUILD_UNICODE=no Then Harbour compiler and final binaries created by Harbour compiler will work o

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread smu johnson
Uh oh. Will the compile switch make it work with any version of Windows, as it currently does? On Tue, Feb 16, 2010 at 1:04 AM, Viktor Szakáts wrote: > > When you say "won't run on Win9x" do you mean harbour.exe and tools, or > do you mean .EXE's generated with Harbour? > > Both. > > Since Harbo

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread Viktor Szakáts
> When you say "won't run on Win9x" do you mean harbour.exe and tools, or do > you mean .EXE's generated with Harbour? Both. Since Harbour core libs will contain references to Windows UNICODE functions, anything that uses these core libs won't (by default) run on Win9x. Brgds, Viktor ___

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread smu johnson
When you say "won't run on Win9x" do you mean harbour.exe and tools, or do you mean .EXE's generated with Harbour? On Tue, Feb 16, 2010 at 12:08 AM, Viktor Szakáts wrote: > Hi, > > On 2010 Feb 16, at 03:08, smu johnson wrote: > > > Actually, that part where they won't run in Win9x anymore got me

Re: [Harbour] win - making UNICODE the default

2010-02-16 Thread Viktor Szakáts
Hi, On 2010 Feb 16, at 03:08, smu johnson wrote: > Actually, that part where they won't run in Win9x anymore got me worried. Do > you mean won't run _at all_, or just won't run UNICODE stuff properly. At all. Win9x doesn't support UNICODE. There is way to solve it, but it's currently not dev

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread smu johnson
Ahh I feel kind of stupid. Having reread your original e-mail, it looks like simply the Harbour Project won't run on Win9x anymore, not the .EXE's that Harbour makes. On Mon, Feb 15, 2010 at 6:08 PM, smu johnson wrote: > Actually, that part where they won't run in Win9x anymore got me worried.

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread smu johnson
Actually, that part where they won't run in Win9x anymore got me worried. Do you mean won't run _at all_, or just won't run UNICODE stuff properly. We have a few people who use Windows 98 who will use your Harbour compiled .exe files. If you mean they won't run period, then maybe there could be a

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread smu johnson
Then I'm + in favour! I'm all for UNICODE finally becoming the default for things world-wide. 2010/2/15 Viktor Szakáts > Hi Smu, > > On 2010 Feb 15, at 21:20, smu johnson wrote: > > > Viktor, > > > > Does this mean that all the Extended Ascii chars from the DOS world will > disappear and turn i

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread Viktor Szakáts
Hi Smu, On 2010 Feb 15, at 21:20, smu johnson wrote: > Viktor, > > Does this mean that all the Extended Ascii chars from the DOS world will > disappear and turn into their latin-1 / utf-8 equivalents? No, it's an internal change specific to Windows platform, and it means that Harbour core and

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread smu johnson
Viktor, Does this mean that all the Extended Ascii chars from the DOS world will disappear and turn into their latin-1 / utf-8 equivalents? 2010/2/15 "網緹資訊‧廖文勝(WenSheng)" > > In Asia, we are very needed him. > > > +1 UNICODE mode for window build > > What steep for give harbour "full unicode su

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread 網緹資訊‧廖文勝(WenSheng)
In Asia, we are very needed him. > +1 UNICODE mode for window build > What steep for give harbour "full unicode support"? > > 2010/2/15 Viktor Szak嫢s > > > Hi All, > > > > I'd like to gather opinions on switching default Harbour > > Windows builds to UNICODE mode in next major release. > > > >

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread Viktor Szakáts
>> it can be implemented without touching HVM and we > > Ok. Sorry for OT :) > [ Remember that HB_IT_TIMESTAMP, HB_IT_DATETIME, could also be implemented > without touching HVM ] Yes, most of them can be. But 'time' is a natural, general purpose data type. NULL on the contrary is a toy for SQL

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread Xavi
it can be implemented without touching HVM and we Ok. Sorry for OT :) [ Remember that HB_IT_TIMESTAMP, HB_IT_DATETIME, could also be implemented without touching HVM ] Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread Viktor Szakáts
>> We need new HB_ITEM type, separate UNICODE > > OT: It's possible to preserve a flag to mark SQL NULL. > An ITEM can be DATE but be NULL, boolean logic is different. > At least count on it. Well, NULL has nothing to do with this topic :) IMO it can be implemented without touching HVM and we s

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread Xavi
We need new HB_ITEM type, separate UNICODE OT: It's possible to preserve a flag to mark SQL NULL. An ITEM can be DATE but be NULL, boolean logic is different. At least count on it. Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread Viktor Szakáts
> +1 UNICODE mode for window build > What steep for give harbour "full unicode support"? We need new HB_ITEM type, separate UNICODE API calls (mostly ready), we need to switch internally to use new UNICODE Harbour API calls, extend existing one to convert to non-UNICODE for UNICODE items, and

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread Massimo Belgrano
+1 UNICODE mode for window build What steep for give harbour "full unicode support"? 2010/2/15 Viktor Szakáts > Hi All, > > I'd like to gather opinions on switching default Harbour > Windows builds to UNICODE mode in next major release. > > Advantages: > - Runs more efficiently on NT-class OSes

[Harbour] win - making UNICODE the default

2010-02-15 Thread Viktor Szakáts
Hi All, I'd like to gather opinions on switching default Harbour Windows builds to UNICODE mode in next major release. Advantages: - Runs more efficiently on NT-class OSes since we're using native API instead of ANSI wrappers, and the OS-level CP conversion is saved also. - Harbour