Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
TService application
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Has anyone installed TeeB...
by
egsuh
[
Today
at 06:34:29 am]
exception external SIGSEG...
by
dseligo
[
Today
at 06:24:13 am]
Commerce website written ...
by
Handoko
[
Today
at 05:24:32 am]
Single / Double / Float s...
by
srvaldez
[
Today
at 01:50:56 am]
Hashing pointers by using...
by
440bx
[
Today
at 01:15:38 am]
FPC 3.2.4-rc1 available
by
dsiders
[
Today
at 12:59:46 am]
Introducing PasBuild 1.0....
by
dbannon
[December 11, 2025, 11:54:37 pm]
[SOLVED] Program compiles...
by
Schmitty2005
[December 11, 2025, 07:35:39 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 11, 2025, 05:00:04 pm]
So many "newbies"
by
gidesa
[December 11, 2025, 04:18:38 pm]
How can I make a safe app...
by
LeP
[December 11, 2025, 03:30:34 pm]
Lazreport. Multiple print...
by
paweld
[December 11, 2025, 03:12:47 pm]
[SOLVED] Need help conver...
by
srvaldez
[December 11, 2025, 01:52:33 pm]
SpkToolbar custom update
by
wp
[December 11, 2025, 01:48:16 pm]
OS/2 Warp 4 problem with ...
by
Thaddy
[December 11, 2025, 01:35:10 pm]
Is FPGUI still active?
by
BSaidus
[December 11, 2025, 01:25:31 pm]
Bitmap into Paintbox
by
BubikolRamios
[December 11, 2025, 12:58:20 pm]
Notetask 1.1.0 - Free cro...
by
AlexanderT
[December 11, 2025, 12:11:14 pm]
Matching video to form
by
Pe3s
[December 11, 2025, 10:56:47 am]
Is Lazarus' Tool Palette ...
by
Ed78z
[December 11, 2025, 10:37:03 am]
[SOLVED] RXSwitch
by
Petrus Vorster
[December 11, 2025, 10:35:00 am]
fpsockets error: 10047
by
rvk
[December 11, 2025, 09:50:08 am]
Military Grade Directives
by
Thaddy
[December 11, 2025, 08:56:12 am]
Permutation of rows and c...
by
Zvoni
[December 11, 2025, 08:33:20 am]
Jacks or Better card game...
by
TBMan
[December 11, 2025, 03:12:03 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TService application (Read 13815 times)
mem
New member
Posts: 9
TService application
«
on:
December 11, 2007, 01:27:23 pm »
Is it possible to create a service application with Lazarus?
Like Delphi does with TService from SvcMgr.
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
RE: TService application
«
Reply #1 on:
December 11, 2007, 01:58:44 pm »
Try using the lazdeamon package from lazarus\components\daemon.
For an example, see lazarus\examples\cleandir.
Logged
mem
New member
Posts: 9
RE: TService application
«
Reply #2 on:
December 11, 2007, 02:59:17 pm »
Thanx. I will try that.
How about unicode? Even with the right font my button with caption ڔژڛۂ shows the caption as question marks.
I thought unicode was enabled by default?
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
RE: TService application
«
Reply #3 on:
December 11, 2007, 03:21:21 pm »
Unicode is not yet enabled by default on windows.
Logged
mem
New member
Posts: 9
RE: TService application
«
Reply #4 on:
December 11, 2007, 03:40:37 pm »
Ah, I thought this was an advantage of Lazarus over Delphi.
When will unicode be enabled by default?
And how do I enable unicode in Lazarus now? I have a TMS Unicode Components subscription, but hope an extra component set will not be nessescary..
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
RE: TService application
«
Reply #5 on:
December 11, 2007, 03:44:15 pm »
How to enable: see
http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#Compiling_LCL-Win32_with_Unicode
It will be enabled, when the components work correctly with unicode.
You are welcome to test and make bug reports for the missing gaps. I don't see them as easily as you, because English and my language doesn't use lot's of characters that need unicode.
Logged
mem
New member
Posts: 9
RE: TService application
«
Reply #6 on:
December 11, 2007, 03:58:10 pm »
The editor doesn't support Unicode.
If I type the following code:
ShowMessage('ъюђйгф');
The editor shows question marks.
ShowMessage('??????');
This is a basic problem that need to be fixed first.
http://www.freepascal.org/mantis/view.php?id=10399
(The bug reporting tool doesn't support unicode too) :-)
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
RE: TService application
«
Reply #7 on:
December 11, 2007, 04:15:46 pm »
Did you recompile the IDE for unicode support?
Logged
mem
New member
Posts: 9
TService application
«
Reply #8 on:
December 11, 2007, 04:18:40 pm »
w00t! No, I'm just a user..
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
TService application
«
Reply #9 on:
December 11, 2007, 04:21:37 pm »
Sorry, I assumed you could read. ;-)
Logged
mem
New member
Posts: 9
TService application
«
Reply #10 on:
December 11, 2007, 04:35:31 pm »
Well, I think I rebuild the IDE, but the problem exists. Still the question marks:
ShowMessage('???????');
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
TService application
«
Reply #11 on:
December 11, 2007, 04:42:36 pm »
Did you clean and build the LCL and add the -dWindowsUnicodeSupport option?
Logged
mem
New member
Posts: 9
TService application
«
Reply #12 on:
December 11, 2007, 05:09:44 pm »
Yes. Is there a way to verify this (other than use unicode in the code editor)?
Logged
antonio
Hero Member
Posts: 605
TService application
«
Reply #13 on:
December 17, 2007, 03:48:06 pm »
Strange, my language needs Unicode support and I don't need to do anything special for it. It simply works.
Logged
LazarusBrasil.Org
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
TService application
TinyPortal
© 2005-2018