Hello All
I have a problem where I have to figure out the Magnetic Variation of a point.
Here's the background. I want to use the industry standard for figuring out Magnetic Variation. It's located at
here. I've downloaded the file WMM2010GUI.zip and within it has a program called WMM.exe. This program does exactly what I want. You put a Lat, Long and height and then you push calculate and then it figures out the declination.
So, within the zip file is also what I believe is the code to this exe but the problem is that it's in C++. Is there a way to use the code in a C# project? I want to pass at least 4 variables to it, Lat, Long, Height and Date. How do I do this?
There's two parts to this. The first is getting the declination and then the next is that I have a whole list of points within an Access table that looks like this - Lat, Lon, Height, Date, MagVar
45.11,-34.11,100,2013-Jan-1,
65.11,89.11,100,2013-Jan-1,
Has anyone ever done something like this? Also, how do I add a C++ project with my C# project?
Thanks
Mike