Folks,
I'm trying to call an unmanaged function from VB.NET and
keep getting "Object reference not set to an instance of
an object" error.
The code that i wrote can be found at:
http://www.nomorepasting.com/paste.php?pasteID=5973
The dll (if some kind soul has the time to compile and run
the code) can be found at:
ftp://ftp.astro.com/pub/swisseph/sweph.zip
The original function definition in the dll is:
char *FAR PASCAL swe_get_planet_name(int ipl, char
*spname);
Any help is greatly appreciated.
Thanks,
Leftie