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
Change execution order wh...
by
Bart
[
Today
at 02:53:35 pm]
Browser User Agent & Frie...
by
Aruna
[
Today
at 02:34:49 pm]
Broken Icon Display on ma...
by
wp
[
Today
at 01:59:36 pm]
7zip DLL is super broken
by
rvk
[
Today
at 01:55:47 pm]
programming with Lazarus
by
MarkMLl
[
Today
at 01:45:16 pm]
TListView.OnChange Event ...
by
wp
[
Today
at 01:38:35 pm]
Searching for a safe alte...
by
marcov
[
Today
at 01:28:57 pm]
Hints.
by
seghele0
[
Today
at 12:29:35 pm]
CLI | Wildcard parameters...
by
Bart
[
Today
at 11:21:42 am]
TDBF Recordcount
by
rvk
[
Today
at 11:19:09 am]
Error code 5
by
ccrause
[
Today
at 11:14:19 am]
Class designer/editor
by
eedeeota
[
Today
at 08:23:41 am]
Font draw in customdraw i...
by
mikutu
[
Today
at 08:02:02 am]
Problems with Gitlab
by
Joanna
[
Today
at 07:35:08 am]
Cannot open Access databa...
by
Khrys
[
Today
at 06:59:12 am]
TMemo and paste from clip...
by
Aruna
[
Today
at 05:58:24 am]
Extended Module Player
by
Gigatron
[
Today
at 03:04:39 am]
environment variables
by
dbannon
[
Today
at 01:59:07 am]
TDBDateEdit component def...
by
wp
[September 11, 2024, 11:56:30 pm]
TStateMachine
by
matthius
[September 11, 2024, 11:40:00 pm]
Any support for Perpendic...
by
circular
[September 11, 2024, 09:05:59 pm]
Local Vars often inspect ...
by
Martin_fr
[September 11, 2024, 08:58:22 pm]
Problem with pasting text...
by
artist
[September 11, 2024, 08:55:36 pm]
Identifier capitalization...
by
DomingoGP
[September 11, 2024, 08:33:22 pm]
Listview how to custom or...
by
jenson
[September 11, 2024, 06:10:31 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Uses clause item for Lcl > ExtCtrls (Read 438 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