Community of VE/MapPoint Users and Developers
This is a discussion on MapPoint Automation with C/C++ - Part 1 within the MP2K Magazine Articles forums, part of the Map Forums category; i was getting errors on all of the params for FindAddressResults - it wanted _bstr_t instead of strings and a ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| fixed compile trouble
i was getting errors on all of the params for FindAddressResults - it wanted _bstr_t instead of strings and a _variant_t instead of int to fix the FindAddressResults problem i did this -> _bstr_t bstrStreet("400 Coronado Dr"); _bstr_t bstrCity("Denton"); _bstr_t bstrOtherCity("400 Coronado Dr"); _bstr_t bstrRegion("TX"); _bstr_t bstrPostalCode("76209"); VARIANT vtGeoCountryDefault; VariantInit( &vtGeoCountryDefault ); V_VT(&vtGeoCountryDefault) = VT_I4; V_I4(&vtGeoCountryDefault) = geoCountryDefault; FindResultsPtr resultsPtr = myMapPtr->FindAddressResults ( bstrStreet, bstrCity, bstrOtherCity, bstrRegion, bstrPostalCode, &vtGeoCountryDefault ); |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Python to control MapPoint, Part 1 | Eric Frost | MP2K Magazine Articles | 0 | 03-26-2006 10:29 PM |
| MapPoint Automation with C/C++ - Part 2 | Eric Frost | MP2K Magazine Articles | 1 | 09-20-2005 10:00 AM |
| Automation -- Unable to kill mappoint.exe | Anonymous | MapPoint 2006/2009 Discussion | 0 | 02-03-2004 10:12 PM |
| Error in VBA automation of MapPoint when PO BOX is found | JPeters | MapPoint 2006/2009 Discussion | 2 | 01-09-2003 09:40 AM |
| I am using Mappoint with Visual C++ via automation.... | Anonymous | MapPoint 2006/2009 Discussion | 2 | 07-08-2002 01:07 AM |
Val d'Isere
For a ski holiday destination renowned for combining great skiing with a vibrant nightlife, book a holiday to Val d'Isere. Holiday Hypermarket brings you the latest great deals.
Portugal Holidays
Find and book Portugal Holidays with Travel Counsellors. Holiday destinations around the world including Portugal.
Cheap Holidays to Turkey
If you’re looking for cheap holidays to Turkey then dealchecker.co.uk is the place for you! Our search helps you see real prices from the UK’s top holiday companies all in one go.
Holidays in Dubai
Holidays in Dubai are an eclectic mix of the ancient and the modern. Discover an oasis of luxury amid the Arabian desert. Book here now!
Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?
Compare Prices
Travel.co.uk makes it easy for you to compare prices from hundreds of UK based travel companies.
Holidays in Gran Canaria
Have some fun in the sun on the Canary Islands! See On The Beach for information on holidays in Gran Canaria.