Community of VE/MapPoint Users and Developers
This is a discussion on Referencing Both NA and Europe in .NET within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Anyone know how to reference and make calls to the COM libraries for both north america and europe? You can't ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Referencing Both NA and Europe in .NET You can't directly reference both in a vb.net project due to name conflicts, so I used tlbimp to create a .net dll wrapper for the north american version, and referenced that. In code it all looks good, but you try and run it, it fails saying object library or dependency not found. Ideas? Thanks, Nick. |
| |||
| Reference both dlls in .NET
I referenced the Europe version the regular way (by adding it in the references section of my project). Then in the visual studio command prompt navigate to the path that contains mpna82.dll (I think program files\windows mappoint\mpna82.dll) and type "tlbimp mpna82.tlb /out:mpna82.dll" (without quotes). Reference the mpna82.dll in the references section of your project. Now you can make calls to the europe version from namespace MapPoint and call the NA version from namespace mpna82. Hope this helps...Nick. |
![]() |
| Tags |
| europe, net, referencing |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPoint Europe | Eric Frost | News and Announcements | 0 | 02-10-2006 05:11 PM |
| Can Anyone Help ? ( vb.NET and MapPoint Europe ) | GaryHoather | MapPoint 2006/2009 Discussion | 6 | 08-31-2005 05:57 AM |
| Using MP2002 Europe maps with MP2004 Europe | Anonymous | MapPoint 2006/2009 Discussion | 4 | 09-17-2004 09:39 AM |
| referencing data (pushpins) | uspickle | MapPoint 2006/2009 Discussion | 0 | 01-21-2004 02:25 PM |
| mappoint europe | Anonymous | MapPoint 2006/2009 Discussion | 2 | 01-04-2004 04:10 AM |