Drive the program has been loaded from
Hardware & Devices
3
Posts
2
Posters
10
Views
1
Watching
-
1. How can one find out, from which drive the actual program has been loaded from? 2. How can one find out, what kind of drive that is (floppy disk, RAMdisk, fixed volume, CDROM, etc.)? I found something re Stylebit of Removable Volume, but I did not find how to get it in C++. Thanks
-
1. How can one find out, from which drive the actual program has been loaded from? 2. How can one find out, what kind of drive that is (floppy disk, RAMdisk, fixed volume, CDROM, etc.)? I found something re Stylebit of Removable Volume, but I did not find how to get it in C++. Thanks
- Parse the result from
GetModuleFileName
2) Pass the result of 1) intoGetDriveType
- Parse the result from
-
- Parse the result from
GetModuleFileName
2) Pass the result of 1) intoGetDriveType
- Parse the result from