dos.h in VC++

This is a discussion on dos.h in VC++ within the Windows Programming forums, part of the Platform Specific Boards category; Hi I am using Visual C++ 6.0 and want to use a function something similar to Borland's findfirst() which requires ...

  1. #1
    Just kidding.... fnoyan's Avatar
    Join Date
    Jun 2003
    Location
    Still in the egg
    Posts
    269

    dos.h in VC++

    Hi

    I am using Visual C++ 6.0 and want to use a function something similar to Borland's findfirst() which requires dos.h. But there is no dos.h in VC++ so i need a function that can perform the same task!

    Thanks...

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    I think that findfirst uses int 21/ah 4eh (ralf brown sez so). I believe you're gonna want to bump yourself up to 32 bit protected and check out the WinAPI's ::FindFirstFile(..)

  3. #3
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by Tonto
    I think that findfirst uses int 21/ah 4eh (ralf brown sez so). I believe you're gonna want to bump yourself up to 32 bit protected and check out the WinAPI's ::FindFirstFile(..)
    Ralph Brown was my assembly hero until I found Linux
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. makefile exported by vc 6.0 doesn't work
    By wow in forum Windows Programming
    Replies: 7
    Last Post: 03-24-2006, 03:20 PM
  2. dos.h
    By asahin11 in forum C Programming
    Replies: 14
    Last Post: 05-25-2005, 11:13 AM
  3. Problems with dos.h
    By Kaelin in forum C++ Programming
    Replies: 7
    Last Post: 02-04-2005, 12:41 PM
  4. dos.h
    By hick.hack in forum C Programming
    Replies: 2
    Last Post: 02-24-2003, 02:30 PM
  5. where do i get dos.h???
    By Quin in forum C Programming
    Replies: 1
    Last Post: 01-13-2002, 04:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21