From: Donal K. F. <don...@ma...> - 2002-11-20 09:57:47
|
"Daniel A. Steffen" wrote: > Darren New wrote: >> It would be nice to have a way of listing >> the names of the forks under Windows. (Altho I recognise that this seems >> to be a MacOSX-oriented TIP, so it might not be the right place for it. >> And maybe nobody *actually* cares. :-) > > I am 100% windows deficient but if somebody else wants to write the code for > this, I certainly have no objections. In that case, we might need to come up > with a more general way to access file forks other than the data fork from > tcl. Maybe that should be the subject for another TIP though (and the > addition of [file attributes -rsrclength] should be dropped from TIP 118) ? I had a look for the relevant APIs yesterday using Google and MSDN. For anyone that's interested, they are the "obviously"-named FindFirstStreamW() and FindNextStreamW() though they are also marked as being liable to be altered in the future without great warning. However, the question is then what should a suitable cross-platform interface to these things look like. And that's not an answer I have... (Google: Just because you don't know a platform's API doesn't mean you can't program for it! ;^) Donal (not going to do anything further about this.) -- Donal K. Fellows http://www.cs.man.ac.uk/~fellowsd/ don...@ma... -- The guy who sells me my audio hardware explained that a computer will never produce the same level of sound quality that a stereo will b/c stereo have transistors and sound cards don't. --Matthew Garson <mg...@wo...> |