Re: mkshortcut debugging problem

2002-03-13 Thread Joshua Daniel Franklin
Let me know if you can't get the attachment, or need anything else. http://cygwin.com/ml/cygwin/2002-03/msg00470.html --- Charles Wilson <[EMAIL PROTECTED]> wrote: > Joshua Daniel Franklin wrote: > > > Thanks much, I'll take a look. Sure is easy to read...looks almost like > > Python. > > > >

Re: mkshortcut debugging problem

2002-03-12 Thread Charles Wilson
Joshua Daniel Franklin wrote: > Thanks much, I'll take a look. Sure is easy to read...looks almost like > Python. > Any progress tracking down this bug? Joshua?? --Chuck (wanting to release cygutils-1.0.0) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

Re: mkshortcut debugging problem

2002-03-07 Thread Joshua Daniel Franklin
Well, after going over hoards of MSDN documents and adjusting my code, I realized what most developers' first guess might have been... I followed the null pointer. Madness overtook me. I corrected this (char *)problem and my util actually passed all my tests, no matter which directory it was in.

Re: mkshortcut debugging problem

2002-03-04 Thread Jason Tishler
Joshua, On Sat, Mar 02, 2002 at 07:49:11PM -0800, Joshua Daniel Franklin wrote: > Thanks much, I'll take a look. No problem. Sorry for not directly trying to help debug your problem. And sorry for not coming forward with (and/or contributing) my code sooner. Jason -- Unsubscribe info: h

Re: mkshortcut debugging problem

2002-03-02 Thread Joshua Daniel Franklin
Thanks much, I'll take a look. Sure is easy to read...looks almost like Python. :) __ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug report

Re: mkshortcut debugging problem

2002-03-02 Thread Jason Tishler
Joshua, On Fri, Mar 01, 2002 at 05:00:36PM -0800, Joshua Daniel Franklin wrote: > Has anyone even seen something like this before? No, but see attached for my version of mkshortcut -- mksc. Note that mksc.cpp needs to be compiled with MS cl.exe, but hopefully perusing the code will help you deb

Re: mkshortcut debugging problem

2002-03-01 Thread Joshua Daniel Franklin
> 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)) > > { > >

Re: mkshortcut debugging problem

2002-03-01 Thread Corinna Vinschen
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)) > { > fprint

Re: mkshortcut debugging problem

2002-02-28 Thread Joshua Daniel Franklin
>Permissions or ACLs on the two different directories? Try > >getfacl {dir1} >getfacl {dir2} > >Same? Different? Well, it's writing to the same directory in both cases, but the ACLs are: $ getfacl.exe /c/Documents\ and\ Settings/All\ Users/Desktop/ # file: /c/Documents and Settings/All Users/D

Re: mkshortcut debugging problem

2002-02-28 Thread Charles Wilson
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 stor