From: Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
To: cygwin@cygwin.com
Subject: Re: mkshortcut debugging problem
Date: Fri, 01 Mar 2002 17:00:00 -0000 [thread overview]
Message-ID: <20020302010036.33543.qmail@web20005.mail.yahoo.com> (raw)
> On Thu, Feb 28, 2002 at 04:03:34PM -0800, Joshua Daniel Franklin wrote:
> > The code that produces this error is:
> >
> > MultiByteToWideChar (CP_ACP, 0, lname, -1, widepath, MAX_PATH);
> > hres = pf->lpVtbl->Save (pf, widepath, TRUE);
> > if (!SUCCEEDED(hres))
> > {
> > fprintf(stderr, "%s: Save to persistant storage failed (Does the
> > directo
> > ry you are writing to exist?)\n", prog_name);
> > exit(3);
> > }
>
> Try the following before calling pf->lpVtbl->Save():
>
> GetCurrentDirectory(dir);
> pf->lpVtbl->SetRelativePath(dir);
>
> This is just basically as it should work. Look in MSDN for the
> exact usage.
>
> Corinna
>
Tried this, no difference:
/usr/src/cygutils-0.9.9/src-gpl$ ./mkshortcut -P http://www.cygwin.com #works
/usr/src/cygutils-0.9.9/src-gpl$ cp ./mkshortcut.exe /bin/
/usr/src/cygutils-0.9.9/src-gpl$ /bin/mkshortcut -P http://www.cygwin.com
mkshortcut: Save to persistant storage failed (Does the directory you are
writing to exist?)
Has anyone even seen something like this before?
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next reply other threads:[~2002-03-02 1:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-01 17:00 Joshua Daniel Franklin [this message]
2002-03-02 8:08 ` Jason Tishler
-- strict thread matches above, loose matches on Subject: below --
2002-03-07 23:03 Joshua Daniel Franklin
2002-03-02 19:49 Joshua Daniel Franklin
2002-03-04 4:50 ` Jason Tishler
2002-03-12 23:33 ` Charles Wilson
2002-03-13 6:37 ` Joshua Daniel Franklin
2002-02-28 22:50 Joshua Daniel Franklin
2002-02-28 17:33 Joshua Daniel Franklin
2002-02-28 19:30 ` Charles Wilson
2002-03-01 5:00 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020302010036.33543.qmail@web20005.mail.yahoo.com \
--to=joshuadfranklin@yahoo.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).