Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Parsing INF files

    Hi I am trying to build a program for mass remote network printer installs. I have most of the code built in a algorithm so far, but in order to make use of the windows api's for installing printers I need to be able to parse out the driver names from INF files. I am sure in all the windows code there has to be something that does this because the driver wizard seems to manage it pretty easily.

    Does anyone know a function/api that can pull the driver name(s) from a given INF file?

  • #2
    Regular Coder
    Join Date
    May 2004
    Location
    New Hampshire, America
    Posts
    246
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Unfortunately most .inf file parsing is done by unique functions that vary from program to program. Since driver .inf files are a standard I would google it. It's possible that someone has already written a library of functions to deal with that exact problem.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •