In a message of 11-Apr-00 David Gerber wrote:

 > Argh. Why did you rename some of the files to lowercase ? OpenLibrary() is
 > case sensitive ! And since V builds up the arguments from scanning the
 > directory it can't guess the correct filename.

Yes, I also considered this, but you are surely not using OpenLibrary() to
scan the directory. I my opinion, in slightly pseudo code becaue it has been
years since I last programmed the Amiga:

 if(!MatchFirst("#?.VPlug",anchor))
 {
    if(OpenLibrary(anchor->ap_Info.fib_FileName,0L))
    {
      bla bla
    }
 }

or something like that, though I would not guarantee 100% that the above
should work regardless of case. I haven't been programming for AmigaDOS
for 3 or 4 years (okay, I haven't been programming at all, but that's
another story). I wonder how you do it.

I also wonder how - and why - Martin has renamed them to lowercase.

And personally  I have always regarded OpenLibrary()'s and OpenDevice()'s
case sensitivity to be a bug in the OS :-)


Uffe Holst

____________________________________________________________
Voyager Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"

Reply via email to