View Full Version : Not gl related: directory browsing

05-04-2001, 01:18 PM
Sorry, but I didn't know where else to post this. I am trying to have my engine be able to search for all the files available in its directory. Anyone have a link to something demonstrating how to read directories on a win32 platforms?

05-04-2001, 02:18 PM
See http://msdn.microsoft.com/library/devpro...indfirsti64.htm (http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/_crt__findfirst.2c_._findfirsti64.2c_._wfindfirst. 2c_._wfindfirsti64.htm)

05-05-2001, 08:46 AM
Thanks, but I was hoping for more of a way to get a directory listing (or did that do it, and I just missed it??)

05-05-2001, 09:23 AM
That, in addition to _findnext (which that page also links to) can be used to construct a filtered or unfiltered directory listing. And with some recursion you can also easily implement directory tree searches. On the other hand if you are only wanting the directory listing so the user can pick a file, there is a much easier way by using the Open file common dialog box.

[This message has been edited by DFrey (edited 05-05-2001).]

05-06-2001, 08:56 AM
Speaking of _findfile, does anyone know if there is a _findfile equivalent to handle accessing computers/drives/files over a LAN?

05-06-2001, 06:19 PM
Sorry, I don't know where to post this:

my Holden Commodore SS has problems with its macpherson strut. I don't think the dirct acting stabilisier bar is working together with the progressive rate coil springs. Any ideas what I can do to fix?


05-06-2001, 07:08 PM
Have the dealer take look at it. http://www.opengl.org/discussion_boards/ubb/wink.gif

05-07-2001, 04:41 PM
http://www.opengl.org/discussion_boards/ubb/smile.gif I'm sorry...won't let it happen again