View Single Post

  #6 (permalink)  
Old 05-12-2005
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Don't forget to add this statement: using namespace MapPoint

Don't forget to add this statement: using namespace MapPoint...

So, it should look like:

#include "ComInterfaces.h"

using namespace MapPoint; // <<--

MapPoint::_ApplicationPtr g_pMapPoint = NULL;

void main(void)
{
CoInitialize(NULL);
...
}

Best regards,
Sergey
Reply With Quote