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
a Unit problem?
by
EventHorizon
[
Today
at 12:42:09 pm]
Help needed with Cairo / ...
by
Roland57
[
Today
at 12:25:16 pm]
JEDI error but unit compi...
by
Roland57
[
Today
at 11:50:11 am]
Using KeyPress event, how...
by
Bart
[
Today
at 11:32:53 am]
Configure JCF messages
by
DomingoGP
[
Today
at 11:26:55 am]
IDE instability on Raspbe...
by
rvk
[
Today
at 10:37:14 am]
Boleeman's projects are p...
by
AlexTP
[
Today
at 10:18:04 am]
Understanding and adjusti...
by
circular
[
Today
at 09:55:30 am]
Your best UI design - con...
by
circular
[
Today
at 09:36:11 am]
ZeosDBO and querys using ...
by
Zvoni
[
Today
at 09:27:17 am]
STARS with line border st...
by
Boleeman
[
Today
at 09:13:29 am]
Any upgrades to fpWeb pag...
by
AlexTP
[
Today
at 08:10:55 am]
Zeos components. Had to c...
by
dbannon
[
Today
at 07:26:11 am]
A button require administ...
by
Fibonacci
[
Today
at 05:57:21 am]
How to detect one externa...
by
d2010
[
Today
at 12:24:32 am]
Center Lost Window featur...
by
Tony Stone
[
Today
at 12:06:16 am]
Complex package installat...
by
wp
[March 27, 2024, 10:47:45 pm]
Controlling the behavior ...
by
wp
[March 27, 2024, 10:43:40 pm]
A "leisure" question on W...
by
EventHorizon
[March 27, 2024, 10:18:38 pm]
need advice about the fol...
by
jamie
[March 27, 2024, 09:56:39 pm]
[SOLVED] Completion box s...
by
Martin_fr
[March 27, 2024, 08:44:09 pm]
Dialog ShowModal and an i...
by
d7_2_laz
[March 27, 2024, 08:25:18 pm]
Offical launch of the 1 B...
by
Gustavo 'Gus' Carreno
[March 27, 2024, 07:41:48 pm]
Problem setting length of...
by
Remy Lebeau
[March 27, 2024, 05:41:10 pm]
TDBLookupcombobox seems u...
by
Fantablup
[March 27, 2024, 05:18:04 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: can't find ShellAPI (Read 10852 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: 1927
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: 2770
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: 1186
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: 256
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