Here details of similar discussion:
Google maps Api in C++ [
^]
Another reference with Google Earth to look at:
Using Google Earth in VC++/ MFC Application [
^]
Further, it does not work like this here. We expect you to put some time in trying the issue that you are facing and then some time in formulating the question while posting here.
Try firs and post if specific issues if you face.