annotate netinstall/mklink2.c @ 781:eba92770173a
[xemacs-hg @ 2002-03-18 10:13:39 by ben]
stragglers:
config.inc.samp, xemacs.mak: Deal with never-ending perl quoting problems.
README: Include a long, long description of the suggested directory layout
for developing XEmacs. This should probably go as part of a
larger document, a "Getting Started with Developing XEmacs". ####
Does such a document exist?
etc\unicode\mule-ucs\*: New directory, containing translation
files for the remaining charsets that are not in
unicode\unicode-consortium but are in mule-ucs.
etc\unicode\other\*: New directory, containing translation
files made up on an ad-hoc basis.
etc\unicode\README: Update.
* Some ChangeLog entries from stuff that got applied long ago
never got checked in, due to the nasty SCCS "oops, i forgot again
..." bug.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
dumped-lisp.el: Load the remaining languages -- lao, indian, devanagari, tibetan.
Load new file mule-msw-init-late.
unicode.el: Load the new tables for Ethiopic, Vietnamese, and other languages
extracted from mule-ucs.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
dumped-lisp.el: Load the remaining languages -- lao, indian, devanagari, tibetan.
Load new file mule-msw-init-late.
unicode.el: Load the new tables for Ethiopic, Vietnamese, and other languages
extracted from mule-ucs.
mule\lao.el: Convert stuff to XEmacs-style.
mule\thai-xtis.el: Move thai-xtis-chars.el stuff to here, since we can now handle
encountering characters of a charset before the charset is defined.
mule\thai-xtis-chars.el: Removed, moved into thai-xtis.el.
mule\mule-msw-init.el: Move some stuff into mule-msw-init-late.el,
which references charsets and thus needs to be delayed until after
all charsets have been created.
mule\mule-msw-init-late.el: New file, some stuff from
mule-msw-init.el.
fns.c, lread.c: Add variable require-prints-loading-message to cause loading
messages to get printed when a file is loading during a "require",
which normally doesnt happen. This can be set using env var
XEMACSDEBUG to debug problems with non-interactive compilation.
Modify load-internal so it prints "Requiring: ..." instead of
"Loading: ..." when appropriate.
author |
ben |
date |
Mon, 18 Mar 2002 10:13:39 +0000 |
parents |
3078fd1074e8 |
children |
|
rev |
line source |
448
|
1 #include "win32.h"
|
|
2 #include "shlobj.h"
|
|
3
|
|
4 /* This part of the code must be in C because the C++ interface to COM
|
|
5 doesn't work. */
|
|
6
|
|
7 void
|
|
8 make_link_2 (char *exepath, char *args, char *icon, char *lname)
|
|
9 {
|
|
10 IShellLink *sl;
|
|
11 IPersistFile *pf;
|
|
12 WCHAR widepath [_MAX_PATH];
|
|
13
|
|
14 CoCreateInstance (&CLSID_ShellLink, NULL,
|
|
15 CLSCTX_INPROC_SERVER, &IID_IShellLink, (LPVOID *) & sl);
|
|
16 sl->lpVtbl->QueryInterface (sl, &IID_IPersistFile, (void **) &pf);
|
|
17
|
|
18 sl->lpVtbl->SetPath (sl, exepath);
|
|
19 sl->lpVtbl->SetArguments (sl, args);
|
|
20 sl->lpVtbl->SetIconLocation (sl, icon, 0);
|
|
21
|
|
22 MultiByteToWideChar (CP_ACP, 0, lname, -1, widepath, _MAX_PATH);
|
|
23 pf->lpVtbl->Save (pf, widepath, TRUE);
|
|
24
|
|
25 pf->lpVtbl->Release (pf);
|
|
26 sl->lpVtbl->Release (sl);
|
|
27 }
|