Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Newsgroups: comp.lang.basic.misc,alt.lang.basic Subject: Re: Liberty Basic Help in CHM format References: <42e86665-79e4-4823-9165-2ae7c6dc9a8a@f9g2000vbz.googlegroups.com> Date: Fri, 13 May 2011 17:37:48 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Richard Russell" Message-ID: User-Agent: Opera Mail/11.10 (Win32) Lines: 20 Organization: Zen Internet NNTP-Posting-Host: 9da8d5ce.news.zen.co.uk X-Trace: DXC=;52E_38\:69e[E]K9^[[@;0g@SS;SF6n7RiiCXJE[K>7gI7?_45MK]1jI<^Ve6c?;5@5^IPFSlc;0 X-Complaints-To: abuse@zen.co.uk Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.misc:45 On Fri, 13 May 2011 17:19:56 +0100, H-Man wrote: > I don't know a lot about LB but would this work (properly ported that > is)? > > HRESULT STDMETHODCALLTYPE GetPath( That's exactly the API I am using in my utility. However you list it as if it's a regular C-style API function called 'GetPath' when in fact it's a COM object method 'IShellLink::GetPath' which therefore cannot be called from Liberty Basic: http://msdn.microsoft.com/en-us/library/bb774944.aspx There *is* a regular API function called GetPath, but it's totally different (it's a graphics function and nothing to do with shortcuts): http://msdn.microsoft.com/en-us/library/dd144908.aspx Richard. http://www.rtrussell.co.uk/