I see that it is not supported yet for VS 2017
VS2017 is supported. The latest release dropped support for VS2015, albeit you can still use the NuGet packages from nuget.org in VS2015 (all the installer does is add some starter-templates and creates a local nuget repository).
The issue you're hitting is you're targeting a very old version of .NET. You need ...
Your problem is you've declared the variable as a pointer but haven't pointed it to anything. You have choices here, either malloc or new:
using malloc (#include <malloc.h>)
// make it 256 bytes for a string length of 255 plus null (\0) terminator
// malloc returns a void pointer so convert to char pointer by direct cast
char* pszFilename = (char*) ...
Please, do not use with geographic coordinates.
x axis is North oriented, so x = Northing
y axis is East oriented, so y = Easting
azimuth is the clockwise angle measured from x axis, in radians.
(all three are topographical conventions, you must transform the following formulas if you want to use another system)
x_0 and y_0 are the coordinates of ...
I think that you are adding lat1 (decimal degrees) + lat2 (radians).
lat2 and lon2 are final latitude and longitude in radians. Just convert them to degrees.
UPDATE: I don't know the language, but must to be something like:
double finalLat = lat2 * 180 / Math.PI;
double finalLon = lon2 * 180 / Math.PI;
Console.WriteLine("Target latitude : " + ...