Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.misc > #44
| From | H-Man <Spam@bites.fs> |
|---|---|
| Newsgroups | comp.lang.basic.misc, alt.lang.basic |
| Subject | Re: Liberty Basic Help in CHM format |
| Date | 2011-05-13 10:19 -0600 |
| Organization | L&H Custom Computer |
| Message-ID | <iqjlnb$b9q$1@dont-email.me> (permalink) |
| References | (3 earlier) <op.vvdok8imn5ksl5@richard> <Xns9EE36AFB9F5A2auricauricauricauric@188.40.43.230> <op.vvd3n2t5n5ksl5@richard> <Xns9EE3AA0D0B39Cauricauricauricauric@188.40.43.213> <op.vvewpnsyn5ksl5@richard> |
Cross-posted to 2 groups.
On Fri, 13 May 2011 10:02:01 +0100, Richard Russell wrote:
> On Fri, 13 May 2011 00:42:18 +0100, Auric__ <not.my.real@email.address>
> wrote:
>> They'd probably be happier if you wrote it in LB and released the code to
>> their forums... if you could log in, that is...
>
> Undoubtedly. Unfortunately it would be impossible to write it in LB,
> because the program uses COM methods to read the target from a .LNK file
> (that's how it finds out where Liberty Basic and HTML Help Workshop are
> installed) and also to create the shortcuts to the CHM on the Desktop and
> in the Start Menu.
>
> AIUI, Liberty Basic cannot access methods in COM objects at all. That
> means it is limited to the older C-style Windows APIs, which cover a wide
> range of things but not manipulating shortcuts.
>
> Richard.
> http://www.rtrussell.co.uk/
I don't know a lot about LB but would this work (properly ported that is)?
HRESULT STDMETHODCALLTYPE GetPath(
IShellLink FAR *pShlLnk,
LPSTR pszFile,
int cchMaxPath,
WIN32_FIND_DATA *pfd,
DWORD fFlags
);
Parameters
pShlLnk
Pointer to the IShellLink interface. In C++, this parameter is implicit.
pszFile
Pointer to a buffer that receives the path and filename of the shell link
object.
cchMaxPath
Maximum number of bytes to copy to the buffer pointed to by pszFile.
pfd
Pointer to a WIN32_FIND_DATA structure that contains information about the
shell link object.
fFlags
Flags that specify the type of path information to retrieve. This parameter
can be a combination of the following values:
SLGP_SHORTPATH Retrieves the standard short (8.3) filename.
SLGP_UNCPRIORITY Retrieves the Universal Naming Convention (UNC) path name
of the file.
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
--
HK
Back to comp.lang.basic.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-11 22:55 +0100
Re: Liberty Basic Help in CHM format aury <aurelw.wiz@gmail.com> - 2011-05-12 04:57 -0700
Re: Liberty Basic Help in CHM format "news@rtrussell.co.uk" <news@rtrussell.co.uk> - 2011-05-12 08:00 -0700
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-05-12 15:15 +0000
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-12 18:08 +0100
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-05-12 17:30 +0000
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-12 23:34 +0100
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-05-12 23:42 +0000
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-13 10:02 +0100
Re: Liberty Basic Help in CHM format H-Man <Spam@bites.fs> - 2011-05-13 10:19 -0600
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-13 17:37 +0100
Re: Liberty Basic Help in CHM format H-Man <Spam@bites.fs> - 2011-05-13 15:14 -0600
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-13 22:37 +0100
Re: Liberty Basic Help in CHM format H-Man <Spam@bites.fs> - 2011-05-16 10:08 -0600
Re: Liberty Basic Help in CHM format Derek <derekrss@yahoo.ca> - 2011-05-12 08:14 -0700
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-05-14 01:32 +0000
Re: Liberty Basic Help in CHM format aury <aurelw.wiz@gmail.com> - 2011-05-13 22:37 -0700
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-14 10:28 +0100
Re: Liberty Basic Help in CHM format aury <aurelw.wiz@gmail.com> - 2011-05-14 04:57 -0700
Re: Liberty Basic Help in CHM format aury <aurelw.wiz@gmail.com> - 2011-05-14 05:00 -0700
Re: Liberty Basic Help in CHM format aury <aurelw.wiz@gmail.com> - 2011-05-14 05:04 -0700
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-05-15 03:19 +0000
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-15 10:43 +0100
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-05-15 03:00 +0000
Re: Liberty Basic Help in CHM format "Gordon Rahman" <grahman@planet.nl> - 2011-06-02 22:22 +0200
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-06-05 12:40 +0100
Re: Liberty Basic Help in CHM format "Gordon Rahman" <grahman@planet.nl> - 2011-06-05 18:05 +0200
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-06-05 17:18 +0000
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-06-05 18:50 +0100
Re: Liberty Basic Help in CHM format "Auric__" <not.my.real@email.address> - 2011-06-05 18:11 +0000
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-06-05 22:47 +0100
Re: Liberty Basic Help in CHM format Red Rooster <NewRedRooster@hottmail.com> - 2011-06-09 22:14 -0700
Re: Liberty Basic Help in CHM format "Richard Russell" <news@rtrussell.co.uk> - 2011-05-14 10:14 +0100
csiph-web