lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [Mingw-users] [SPAM] Re: Re: imlib2



Hello,

Keith Marshall wrote:
> On Friday 02 May 2008 11:33, Ramiro Polla wrote:
>>> [It shouldn't be necessary...]
>>> ...to replace slashes in path names by backslashes; MS-Windows is
>>> perfectly happy to resolve path names expressed with the *nix style
>>> slash as an alternative to its default backslash, and always has
>>> been; even MS-DOS before it could handle this.
>> LoadLibrary()
>> http://msdn.microsoft.com/en-us/library/ms886736.aspx
> 
> Hmm.  That's the first time I've ever seen it stated "be sure to use 
> backslashes, not slashes".  Does LoadLibrary() *really* fail if you 
> ignore this advice?

Yes.

 > If so, then it isn't consistent with the normal
> behaviour of the Windows API.
> 
> BTW, the link you provided relates specifically to WinCE, but the same 
> statement appears in MSDN's more general Windows documentation too.

MSDN's organization confuses me =)

>> IIRC dlfcn-win32 does this by itself, so it should be fine to use 
>> forward slashes. But I only wrote dlfcn-win32 after this patch.
> 
> In `man' I use a path name normalisation function, to help with various 
> required manipulations; in that case, I normalise to slashes, because 
> it is more convenient for commonality with the POSIX code, but my 
> function, (which performs the normalisation in the wchar_t domain), 
> could equally well normalise to backslashes.
> 
> BTW, I know you've suggested it before; would you still be interested in 
> distributing dlfcn-win32 as a User Contributed add-on for MinGW, making 
> it directly available from our download page, as a possible convenience 
> for MinGW users?

Sure. What must I (or someone else) do for that to happen?

Ramiro Polla

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users