Mail Archives: cygwin/2002/03/01/20:01:57
> 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/
- Raw text -