Quantcast
Viewing all articles
Browse latest Browse all 39

Comment by Chris Krycho on C/C++ Determine Drive a program is running on

Note that this is not guaranteed to work properly. GetModuleFileName may return a short or long file name, and therefore may start with `\\?` preceding the volume letter (or UNC reference). In that case, the first character would be "\".

Viewing all articles
Browse latest Browse all 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>