>I would love to be able to install printer drivers and create PIF files programatically. Is it possible and if so can someone point me in the right direction. Thanks!
Calvin,
In regards to the first part, you'd use the AddPrinterDriver() API call. In order to do this, however, you'd also need to use something like Vlad Tatavu's Pointers, Ed Rauh's CLSHEAP, or Christof Lange's Structures (all available here at the UT files) in order to do it. The function requires a structure (either DRIVER_INFO_2 or DRIVER_INFO_3) containing pointers to strings.
In regards to PIF Files, my LNKFILES.DLL will create them if the file name specified has this extension PIF. The one problem (which I'm currently researching) is setting the individual properties of the file. The DLL is also available here at the UT.
George
Ubi caritas et amor, deus ibi est