Re: [fpc-devel] Message method with a string identifier

2009-07-14 Thread Michael Schnell
Don Whitbeck wrote: > Message methods with a string identifier work fine. > Message methods with a string identifier appear not to work. ? -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listin

[fpc-devel] Palm Pre

2009-07-14 Thread Michael Schnell
Did anybody consider using FPC / Lazarus for the upcoming Palm Pre, which seems to use Linux on ARM but for user land applications seems to hide the Linux API behind some propriety "WebOS" Java interface (similar to Android ?) -Michael ___ fpc-devel mail

Re: [fpc-devel] Message method with a string identifier

2009-07-14 Thread Don Whitbeck
//Defining msg Type TMsg = record MsgStr: string[20]; //Doesn't work //MSGID: integer; // Works Data: pointer; end; TCustomSocket = Class(TObject) ... Procedure MsgHandler(Var Msg: TMsg); Message 'OnAccept'; ASocket:=TCustomSocket

Re: [fpc-devel] Message method with a string identifier

2009-07-14 Thread Michael Schnell
> MsgStr: string[20]; //Doesn't work I suppose the string reference counting deletes the string before the receiver gets the message. -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listin

Re: [fpc-devel] Message method with a string identifier

2009-07-14 Thread Don Whitbeck
On Tuesday 14 July 2009 07:30:55 am Michael Schnell wrote: > > MsgStr: string[20]; //Doesn't work > > I suppose the string reference counting deletes the string before the > receiver gets the message. > > -Michael > ___ > fpc-devel maillist -

Re: [fpc-devel] Message method with a string identifier

2009-07-14 Thread Michael Van Canneyt
On Tue, 14 Jul 2009, Don Whitbeck wrote: //Defining msg Type TMsg = record MsgStr: string[20]; //Doesn't work //MSGID: integer; // Works Data: pointer; end; TCustomSocket = Class(TObject) ... Procedure MsgHandler(Var Msg: TMsg); Mes

Re: [fpc-devel] Palm Pre

2009-07-14 Thread Carolos
Android recently provided a native API. http://developer.android.com/sdk/ndk/1.5_r1/index.html Although you can probably write an app that uses the Linux API, you will probably land up rewriting much of the Java interface to get the app to look like it was made for the device. On Tue, Jul 14, 200