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
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
//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
> 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
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 -
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
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