Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
[Solved] Uses clause item for Lcl > ExtCtrls
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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Problem with pasting text...
by
paweld
[
Today
at 06:22:36 am]
Browser User Agent & Frie...
by
Thaddy
[
Today
at 06:13:41 am]
Advice/Guidance Needed Wi...
by
dbannon
[
Today
at 06:07:33 am]
CPU & Memory Profiler
by
ALLIGATOR
[
Today
at 06:04:10 am]
LazCAD – First Release!
by
ALLIGATOR
[
Today
at 05:09:26 am]
Was:Forum Upgrade? by @Re...
by
Curt Carpenter
[
Today
at 04:25:33 am]
TStateMachine
by
avra
[
Today
at 12:44:55 am]
Lazarus IDE Windows 64 lo...
by
StuPot
[
Today
at 12:01:38 am]
My first Attempt making a...
by
jamie
[September 09, 2024, 11:43:32 pm]
Unable install latest fpc...
by
marcov
[September 09, 2024, 11:03:47 pm]
Extended Module Player
by
Gigatron
[September 09, 2024, 09:11:48 pm]
IDE odd behaviour
by
Martin_fr
[September 09, 2024, 09:08:17 pm]
How to disable the compat...
by
Jonas Maebe
[September 09, 2024, 08:59:30 pm]
How to create webhook in ...
by
Prakash
[September 09, 2024, 07:59:41 pm]
New Component jZCamView
by
Guser979
[September 09, 2024, 07:49:22 pm]
Forum upgrade?
by
MarkMLl
[September 09, 2024, 07:47:00 pm]
Is there a maximum length...
by
Remy Lebeau
[September 09, 2024, 07:35:30 pm]
PATCH method in fphttpcli...
by
JohnnieK
[September 09, 2024, 05:57:38 pm]
THTTPRouter Documentation
by
JohnnieK
[September 09, 2024, 05:54:48 pm]
TryStrToFloat
by
jcmontherock
[September 09, 2024, 05:25:30 pm]
Having difficulty buidlin...
by
MarkMLl
[September 09, 2024, 03:49:23 pm]
Move a window between Wor...
by
dbannon
[September 09, 2024, 02:05:28 pm]
Loosing mouse clicks when...
by
Wilko500
[September 09, 2024, 12:51:41 pm]
Forum is so SLOOOW... Aga...
by
Marc
[September 09, 2024, 12:29:35 pm]
[SOLVED] Need help to use...
by
marcov
[September 09, 2024, 10:13:45 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Uses clause item for Lcl > ExtCtrls (Read 436 times)
nikel
Full Member
Posts: 210
[Solved] Uses clause item for Lcl > ExtCtrls
«
on:
August 10, 2024, 05:32:37 am »
Hello, I'm trying to make a command line program which detects idle time and shutdown device using Pascal. I want to use TIdleTimer but it's giving me error:
Quote
detectidle.lpr(31,16) Error: Identifier not found "TIdleTimer"
How can I fix this error? How can I add TIdleTimer programmatically?
«
Last Edit: August 10, 2024, 07:23:52 am by nikel
»
Logged
tooldeveloper
Newbie
Posts: 4
Re: Uses clause item for Lcl > ExtCtrls
«
Reply #1 on:
August 10, 2024, 06:09:27 am »
Does your project options include the LCL as a requirement? To my knowledge, a new command line project does not automatically include the LCL as a requirement.
Logged
nikel
Full Member
Posts: 210
Re: Uses clause item for Lcl > ExtCtrls
«
Reply #2 on:
August 10, 2024, 06:12:39 am »
Thanks for the reply. I couldn't find any setting to include LCL.
Logged
tooldeveloper
Newbie
Posts: 4
Re: Uses clause item for Lcl > ExtCtrls
«
Reply #3 on:
August 10, 2024, 06:38:05 am »
Please try the following:
Open the "Project" menu and select "Project Inspector ..."
Click on the "Add" button
Select "New Requirement"
Type in "LCL"
Select the "LCL" item in the listbox
Press the OK button
Then try compiling your project.
Logged
nikel
Full Member
Posts: 210
Re: Uses clause item for Lcl > ExtCtrls
«
Reply #4 on:
August 10, 2024, 07:23:16 am »
It works now. Thanks a lot.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
[Solved] Uses clause item for Lcl > ExtCtrls
TinyPortal
© 2005-2018