Re: [lazarus] UTF-8 vs Unicode - Could someone explain?

2006-10-21 Thread Oro06

interesting articles about strings under windows
,discussing also about BSTR (not refcounted) strings,
afair win32 and win64 fpc rtl moved to BSTR (not sure)

http://www.codeproject.com/string/cppstringguide1.asp

and

http://www.codeproject.com/string/cppstringguide2.asp?print=true

may be it can help
regards
or

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] A question on Exception.Create(...);

2006-10-21 Thread Michael Van Canneyt


On Sat, 21 Oct 2006, Alex Smirnov wrote:

> Michael Van Canneyt ?:
> > This is because a SECOND exception is raised somewhere which hides your
> > first   exception. It means there is a place where you do not take into
> > account that an exception may occur ?
> >
> > (or there is an error in the Lazarus exception handling routines)
> >
> > Michael.
> Yes, I know - a object handler was used, but it was Nill. Michael, it was NOT
> raised SOMEWHERE - it was raised AFTER I try to prevent it! So before it I
> should see my exception for "File not exist" and program should stop waiting
> for my reaction (as it typically in Delphi and Sibyl).

This is not correct. Consider the following situation:

  try
// Exception raised here
  except
   // Handle first exception.
   // but !! Second exception raised here..
  end;

Only the second exception will be visible. The first one is hidden.

Michael.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Windows Unicode strategy

2006-10-21 Thread Marco van de Voort
On Sun, Oct 15, 2006 at 10:18:59AM +0200, Mattias Gaertner wrote:
> On Sat, 14 Oct 2006 09:41:42 +0200
> Borut Maricic <[EMAIL PROTECTED]> wrote:
> 
> > 
> > On 2006-10-14 at 04:06, 
> > Felipe Monteiro de Carvalho ([EMAIL PROTECTED]) wrote:
> > 
> > > On 10/13/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> > >> Yes and no.
> > >> I'm using UTF-8 with synedit.
> > >> BIDI is not complete.
> > >> And the key handling is not complete. But this is not an UTF-8
> > >> issue.
> > 
> > > And what about my first mail? I would like to have some blessing
> > > from someone of the core team about which guidelines to follow
> > > before I start coding.
> 
> I'm not one of the win32 core team, but it sounds like a doable way.
> Does someone know, what Delphi is doing about Unicode?

"Unicode VCL" is on the roadmap for the release after the upcoming one.

So that is going to take at least an year. It sounds like a second VCL
compiled for unicode, but the info is so thin at this point it could be
anything.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] patch readme

2006-10-21 Thread Darius Blaszijk

Here's a patch for the readme file located at lcl\widgetset.

The patch fixes a few spelling errors.

Darius

readme.zip.remove
Description: Binary data


Re: [fpc-devel] Daily Lazarus Win64 snapshots

2006-10-21 Thread Florian Klaempfl

Rod schrieb:
Would like to see daily Lazarus Win64 snapshots on 
http://www.hu.freepascal.org/lazarus/


Lazarus people refused to do so because there is no native build machine 
which could do it. Non native builds have the disadvantage that nobody 
notices if even the compiler is broken.


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] A question on Exception.Create(...);

2006-10-21 Thread Vincent Snijders

Alex Smirnov schreef:

Michael Van Canneyt пишет:
This is because a SECOND exception is raised somewhere which hides your first 
  
exception. It means there is a place where you do not take into account that 
an exception may occur ?


(or there is an error in the Lazarus exception handling routines)

Michael.
Yes, I know - a object handler was used, but it was Nill. Michael, it 
was NOT raised SOMEWHERE - it was raised AFTER I try to prevent it! So 
before it I should see my exception for "File not exist" and program 
should stop waiting for my reaction (as it typically in Delphi and Sibyl).


Sorry - ones more -  my question was about this strange situation. So, 
actually - I am unable to handle any exception - in all cases I will see 
only Access violation.

So, tell me please, how and for what can I use "Raise Exception.Create(...)?
It seems that it is useless.

*Regards, Alexey.*


Maybe you should turn off the Application Exception handler. That way, 
the second exception most likely doesn't occur.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives