GeoCoordinateWatcher in cpp

时间:2013-07-24 19:53:02

标签: c++ geolocation

我正在编写一个应该在Windows 7及更高版本上运行的c ++应用程序。

由于它应该适用于Windows 7,因此我无法使用Windows::Devices::Geolocation

我发现Windows 7 +支持根据MSDN的GeoCoordinateWatcher

问题是我需要代码在CPP中,看起来这个类只是一个.net类。

如何使用CPP获取位置?

1 个答案:

答案 0 :(得分:0)