adding earthlib as reference in c++

Hi, i know in C#, adding earthlib as a reference/header/dll is a breeze, but i have been unfruitful in including it in c++.

i managed to open the object browser and loaded the earthlib via custom component set. and i added the reference search path to .../google/google earth where googleearth.exe was but it wont let me add reference with the following error...

[img] http://img521.imageshack.us/img521/6899/referrorip8.jpg [/img]

am i doing it wrong? im using MS visual studio 2008...

i've also tried to compile the earth.idl file from both sources (com api website & extracted from oleview from googleearth.exe). both yeids errors i cant understand. I followed the steps to compile from http://support.microsoft.com/kb/164149. nothing works.. shucks...
anyone knows?
anyone knows?
closed account (z05DSL3A)
This will probably not be much help but...

my guess, from your image, is that your project is not .net so I don't think making a reference to earthlib will help.

I think that you would have look into COM
Topic archived. No new replies allowed.