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
Source for Lazarus IDE Co...
by
Trenatos
[
Today
at 09:12:12 pm]
[SOLVED] Unlocking a Sqli...
by
lucamar
[
Today
at 09:08:55 pm]
Real time chart
by
j.g.holstein@rug.nl
[
Today
at 08:53:21 pm]
LAMW Project Options > Ve...
by
jmpessoa
[
Today
at 08:02:13 pm]
Select word under caret i...
by
Martin_fr
[
Today
at 07:36:27 pm]
First row in DBGrid
by
bobonwhidbey
[
Today
at 07:15:39 pm]
Native Activity question|...
by
Seenkao
[
Today
at 06:16:09 pm]
FTP server not responding
by
marcov
[
Today
at 06:06:16 pm]
WinAPI - examples - post ...
by
Martin_fr
[
Today
at 05:43:07 pm]
TList<string> VS. TString...
by
JuhaManninen
[
Today
at 04:41:32 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TLMessage, sending and receiving (Read 815 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: 4016
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