Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
can't find ShellAPI
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
IRC channel
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
дорвеи
by
StufankaFlate
[
Today
at 05:49:17 am]
схемы заработка
by
StufankaFlate
[
Today
at 05:28:27 am]
Variables as indexes of a...
by
dsiders
[
Today
at 03:37:52 am]
[Solved] Can a thumbnail ...
by
jamie
[
Today
at 02:47:30 am]
Random crashes on Mac Stu...
by
jamie
[
Today
at 02:18:19 am]
How to access and set pro...
by
KodeZwerg
[
Today
at 01:55:40 am]
OpenSSL 3.0 vs Indy's 1.0...
by
Remy Lebeau
[
Today
at 01:26:36 am]
CompareText improvement
by
BeniBela
[
Today
at 12:31:51 am]
Fullscreen event?
by
KodeZwerg
[
Today
at 12:17:27 am]
fpc 3.3.1 or lazarus 2.3 ...
by
Martin_fr
[March 30, 2023, 11:29:01 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: can't find ShellAPI (Read 10312 times)
Sora-Kun
Full Member
Posts: 162
I can smell your presence ...
can't find ShellAPI
«
on:
June 18, 2010, 04:14:28 pm »
Hello,
I just installed Ubuntu and Lazarus, but while compiling a project, I receive a message telling me the following: unit1.pas(8,4) Fatal: Can't find unit shellapi used by Unit1.
Please tell me how to fix that
Thanks.
Logged
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.
Made in Lazarus.
Soon, in The WWW.
theo
Global Moderator
Hero Member
Posts: 1918
Re: can't find ShellAPI
«
Reply #1 on:
June 18, 2010, 04:29:49 pm »
ShellApi is wrapping a windows DLL shell32.dll.
It does not exist on Linux.
Logged
Sora-Kun
Full Member
Posts: 162
I can smell your presence ...
Re: can't find ShellAPI
«
Reply #2 on:
June 18, 2010, 04:46:46 pm »
is there a similar one that is multi-platform ?
Logged
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.
Made in Lazarus.
Soon, in The WWW.
skalogryz
Global Moderator
Hero Member
Posts: 2763
Re: can't find ShellAPI
«
Reply #3 on:
June 18, 2010, 11:16:49 pm »
Quote from: Linkos on June 18, 2010, 04:46:46 pm
is there a similar one that is multi-platform ?
No, there's none.
if you're using ShellExecute for opening files, then there are 2 replacements for them in Lazarus.
1) if you need to open URLs, you can use OpenURL()
2) if you need to open a document by OS default application: OpenDocument()
both functions are declared at LCLIntf
Logged
Ñuño_Martínez
Hero Member
Posts: 1183
Re: can't find ShellAPI
«
Reply #4 on:
June 20, 2010, 11:06:40 pm »
Note:
OpenURL and OpenDocument are only available on version 0.9.30 (yet unreleased)
. You can download the SVN version to use them.
Logged
Are you interested in
game programming
? Join the
Pascal Game Development
community!
Also visit the
Game Development Portal
mirce.vladimirov
Sr. Member
Posts: 250
Re: can't find ShellAPI
«
Reply #5 on:
June 21, 2010, 12:23:58 am »
I believe TProcess can do the job.
Logged
Sora-Kun
Full Member
Posts: 162
I can smell your presence ...
Re: can't find ShellAPI
«
Reply #6 on:
June 28, 2010, 12:54:24 pm »
yeah, exactly, it does
Logged
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.
Made in Lazarus.
Soon, in The WWW.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
can't find ShellAPI
TinyPortal
© 2005-2018