Did anyone manage to read a Windows machine's longtitude & latitude (GPS Position), without using .Net 4 libraries (Windows.Devices namespace) nor Javascript or other webbish code ?
There must be a native way. The location sensor is in the Control Panel,
I could not find any API nor valid documentation which allows me to read off of it, I would like to avoid having Net framework 4.0 as a dependency and invoking a browser process in the background, just to read current user's location via javascript is a huge overhead in my opinion
The native Win32 API is the Sensor API. The Sensor API Programming Guide has some fairly detailed C++ examples.
Good article: Using Windows 7 Location API
(Google the above terms if the links ever break).