cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : General C++ Programming : adding earthlib as reference in c++
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

question  adding earthlib as reference in c++

averageGuy (32)
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...
|
averageGuy (32)
anyone knows?
|
averageGuy (32)
anyone knows?
|
Grey Wolf (542)
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
|

This topic is archived - New replies not allowed.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us