Archived

This topic is now archived and is closed to further replies.

Kompi

DOS and drive letters.

Recommended Posts

I''m currently co-coding with someone on a sort of 2D gameengine project, and as of right now we''re busy with making an editor to deal with most things (and testing them in the editor itself, or small side-projects) Right now, the problem is that we need a proper load/save system, with file browsing and everything. Right now there''s one thing that''s needed critically, that I can''t figure out though: How to find out which drive letters are available in the system. (So you can''t accidentally try to access a nonexistant drive X This all is regular C code in DOS using DJGPP. I''d apprechiate if anyone could clue me in on a good way to accomplish this.. "Goodness reflects the light; and evil, bears the seed of all darkness. These are the mirrors of the soul, the reflections of the mind. -Choose well..." (Unknown)

Share this post


Link to post
Share on other sites
Hi.

I know this is C++ but it you go to www.vb-world.net you could goto the API section and find a tutorial on drive letters and stuff. Then decode it to C++ and thats that.

Hope it would help atleast a little!


----------=Last Attacker=----------

ICQ: 120585863
E-mail: laextr@icqmail.com


Edited by - last attacker on July 2, 2001 6:40:57 PM

Share this post


Link to post
Share on other sites