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
Broken Icon Display on ma...
by
lainz
[
Today
at 10:54:02 pm]
C++ conversion : what is ...
by
jamie
[
Today
at 09:42:17 pm]
New Swagger/OpenAPI Clien...
by
vfclists
[
Today
at 09:16:18 pm]
[SOLVED] Getting started ...
by
rushfan
[
Today
at 09:11:10 pm]
TSynEdit: linefeeds and L...
by
Martin_fr
[
Today
at 09:05:50 pm]
Listview how to custom or...
by
zeljko
[
Today
at 08:45:48 pm]
Extended Module Player
by
Gigatron
[
Today
at 07:57:58 pm]
Class designer/editor
by
Aruna
[
Today
at 07:56:47 pm]
How many levels of proced...
by
Bart
[
Today
at 07:48:50 pm]
Assigning result of a fun...
by
Warfley
[
Today
at 06:58:43 pm]
Dark Mode on macOS 14.6.1
by
carl_caulkett
[
Today
at 06:07:47 pm]
Prevent collapsing item l...
by
jamie
[
Today
at 05:39:58 pm]
JSON with SQLite. SELECT ...
by
strubri
[
Today
at 05:25:13 pm]
Creating `.app`s on the M...
by
carl_caulkett
[
Today
at 04:57:52 pm]
Fractal using Primes (and...
by
Boleeman
[
Today
at 03:26:56 pm]
Searching for a safe alte...
by
dbannon
[
Today
at 03:21:53 pm]
CAD program written in La...
by
zamtmn
[
Today
at 02:02:21 pm]
[SOLVED] Cannot change la...
by
Guser979
[
Today
at 01:40:45 pm]
programming with Lazarus
by
VisualLab
[
Today
at 01:17:44 pm]
[SOLVED] Memory leak usin...
by
wp
[
Today
at 12:56:43 pm]
[Solved]Is it possible fo...
by
Kays
[
Today
at 11:38:41 am]
Lazarus always uses a 32 ...
by
Martin_fr
[
Today
at 11:24:09 am]
libqt6pas and ChatGPT
by
Jiyahana
[
Today
at 10:35:37 am]
LazCAD – First Release!
by
maurog
[
Today
at 09:11:42 am]
Effect of streaming in a ...
by
Thaddy
[
Today
at 07:37:26 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Uses clause item for Lcl > ExtCtrls (Read 443 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