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
Fractal using Primes (and...
by
VisualLab
[
Today
at 09:54:33 pm]
Integer maths > 16 bits
by
MarkMLl
[
Today
at 09:47:37 pm]
How do you move a Procedu...
by
440bx
[
Today
at 09:43:57 pm]
TTimer in class does not ...
by
PascalDragon
[
Today
at 09:33:05 pm]
[SOLVED] Getting started ...
by
PascalDragon
[
Today
at 09:18:33 pm]
Assigning result of a fun...
by
PascalDragon
[
Today
at 09:14:41 pm]
Order of dialog buttons?
by
dsiders
[
Today
at 09:12:29 pm]
LazSerial how validate ch...
by
PascalDragon
[
Today
at 08:56:13 pm]
Regular expressions in In...
by
carl_caulkett
[
Today
at 08:52:57 pm]
Reading tBitmap data is e...
by
wp
[
Today
at 08:23:58 pm]
Is it practical or even p...
by
Thaddy
[
Today
at 07:13:02 pm]
TUI design (and ham radio...
by
MarkMLl
[
Today
at 07:05:49 pm]
Bitmap 16bit R5G6B5
by
Thaddy
[
Today
at 06:32:25 pm]
Who uses embedded languag...
by
gidesa
[
Today
at 06:03:39 pm]
C++ conversion : what is ...
by
jamie
[
Today
at 04:24:47 pm]
Golang vs free pascal
by
Warfley
[
Today
at 03:11:11 pm]
FPReport and scripting
by
dseligo
[
Today
at 02:51:04 pm]
Class designer/editor
by
VisualLab
[
Today
at 02:00:07 pm]
TSynEdit: linefeeds and L...
by
Aruna
[
Today
at 01:55:30 pm]
How many levels of proced...
by
Thaddy
[
Today
at 01:32:16 pm]
Prevent collapsing item l...
by
Hansvb
[
Today
at 12:03:56 pm]
Browser User Agent & Frie...
by
ASBzone
[
Today
at 08:30:15 am]
libqt6pas and ChatGPT
by
Bogen85
[
Today
at 02:21:26 am]
Broken Icon Display on ma...
by
lainz
[September 14, 2024, 10:54:02 pm]
New Swagger/OpenAPI Clien...
by
vfclists
[September 14, 2024, 09:16:18 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Uses clause item for Lcl > ExtCtrls (Read 444 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