Mathew Sutcliffe
3ea9e33e6b
refs #937 Resolved clazy warnings: pass-by-value/reference.
2017-04-19 19:31:42 +01:00
Roland Winklmeier
53abc6aaa3
Include cleanup
...
refs #918
2017-04-18 00:05:59 +01:00
Roland Winklmeier
5958669bf1
Refactor queryToQString to queryStringFileInfo
...
String building is now done using QString::arg.
Renamed the method to clearer state what it does.
refs #918
2017-04-18 00:05:57 +01:00
Roland Winklmeier
959c290108
Initialize value type and cast to void pointer before passing to VerQueryValue
...
refs #918
2017-04-18 00:05:54 +01:00
Roland Winklmeier
621f6f6ca7
Fix -fpermissive error with MinGW
...
Changed const vector output buffer parameter to non-const raw pointer.
Writing to const vector is not possible, and vector was not necessary
refs #918
2017-04-18 00:05:52 +01:00
Roland Winklmeier
a92a9f13f4
Use QString::arg() instead of QString::sprintf()
...
QString::sprintf() and also QString::asprintf are both not recommended
to be used in new code.
refs #918
2017-04-18 00:05:50 +01:00
Roland Winklmeier
87420e7890
Use C++11 features in CWinDllUtils
...
* Use std::vector::data() to get a raw pointer
* Use reinterpret_cast instead of C style cast
* Consistenly use generic WINAPI functions without suffix
refs #918
2017-04-18 00:05:48 +01:00
Klaus Basan
389c771c22
refs #910 , gcc missing initializer for member
2017-04-18 00:00:13 +01:00
Klaus Basan
099680c054
refs #910 , obtain DLL and modules info
...
windows specific utility functions to obtain info about DLL / DLLs loaded
(to be used to test P3D/FSX Simconnect DLLs)
2017-04-18 00:00:04 +01:00