Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Linux
»
TLMessage, sending and receiving
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
case of
by
avk
[
Today
at 04:23:58 pm]
[SOLVED] Is this a bug in...
by
jamie
[
Today
at 04:00:45 pm]
Pascal and Cousins
by
MarkMLl
[
Today
at 03:37:48 pm]
BGRAsvg: Image to big
by
winni
[
Today
at 03:31:48 pm]
Raspbian: running a progr...
by
MarkMLl
[
Today
at 03:22:33 pm]
What OS will my projects ...
by
geraldholdsworth
[
Today
at 03:13:05 pm]
Using WebSockets with Laz...
by
MortenB
[
Today
at 03:05:12 pm]
converting C++ over laz, ...
by
PascalDragon
[
Today
at 02:54:05 pm]
How to assign default eve...
by
Zoran
[
Today
at 02:32:47 pm]
ATTabs little Q. caption ...
by
d7_2_laz
[
Today
at 01:26:17 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TLMessage, sending and receiving (Read 874 times)
McClane
New Member
Posts: 35
TLMessage, sending and receiving
«
on:
May 03, 2019, 05:39:51 am »
Hi, I tried to do this example:
https://github.com/alrieckert/lazarus/blob/master/examples/messages/unit1.pas
but it doesn't work on linux.
case TLMessage.WParam of
1: S := '<SendMessage>';
2: S := '<PostMessage>';
else
S := '<unknown>'
end;
gives me this result Error: type identifier not allowed here (refering to wparam)
Thanks in advace.
Logged
Handoko
Hero Member
Posts: 4087
My goal: build my own game engine using Lazarus
Re: TLMessage, sending and receiving
«
Reply #1 on:
May 03, 2019, 05:58:50 am »
I've just copied/pasted and tested the source code on Lazarus 2.0.2 GTK2 on Ubuntu 19.04. It works without any compile nor runtime error.
«
Last Edit: May 03, 2019, 06:02:23 am by Handoko
»
Logged
McClane
New Member
Posts: 35
Re: TLMessage, sending and receiving
«
Reply #2 on:
May 03, 2019, 08:18:37 pm »
It's working.
I'm sorry I made a mistake.
Thanks for your reply Handoko and have a nice day.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Linux
»
TLMessage, sending and receiving
TinyPortal
© 2005-2018