boostorg / dll

Library for comfortable work with DLL and DSO
https://boost.org/libs/dll
52 stars 43 forks source link

symbol_location returning "\\?\" prefix on windows #38

Closed johnkit closed 4 years ago

johnkit commented 4 years ago

We have an application that calls boost::dll::symbol_location(). On windows, the returned path looks like \\?\C:\path-to-the-binary-object-holding-the-symbol. We don't see anything like that on linux or macOS. My knowledge of Windows is quite limited -- does this "\?\" indicate an error of some kind?

We also have not seen this prefix in earler boost versions. I think we previously were using 1.66, but moved to 1.71 recently.

johnkit commented 4 years ago

My apologies. I just learned that Windows "extended file names" start with \\?\.