MapWindow 4 - ActiveX Control Programming : MapWindow Discussion Forum
Can you use MapWindow plug-ins with the ActiveX controller without the MapWindow desktop app? I'm trying to build a lightweight GIS app that'll be tied into a GPS receiver and I was wondering if I could leverage the GPS plug-in with the ActiveX component without running the MW desktop.
using plug-ins with the activeX control
Posted by: aleberkn ()
Date: November 18, 2010 10:43AM

Can you use MapWindow plug-ins with the ActiveX controller without the MapWindow desktop app? I'm trying to build a lightweight GIS app that'll be tied into a GPS receiver and I was wondering if I could leverage the GPS plug-in with the ActiveX component without running the MW desktop.

Thanks,
Alan

Options: ReplyQuote
Re: using plug-ins with the activeX control
Posted by: pmeems ()
Date: November 18, 2010 12:54PM

Alan,

If you're creating your lightweight GIS app in .NET you should be able to reference the GPS plug-in and use its methods.

You can also create a new installer for a lightweight version of MapWindow and use your own plug-ins. Then you can definitely use the GPS plug-in.
Take a look at this video of the application I'm currently working on:
[www.youtube.com]
It uses MapWindow with only the core dlls and several custom plug-ins.

--
Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote
Re: using plug-ins with the activeX control
Posted by: aleberkn ()
Date: November 19, 2010 01:12AM

Hi Paul - thank you for the info.

I took a look at your app.

It looks pretty robust and I think I've chosen the right open source project to build my lightweight GIS app.

I'm working with an unmanaged C++ app and I'd like to build a lightweight Map within a dialog box. The purpose of this app is to display a raster map with an overlay of roads that shows the movement of a vehicle using GPS. If the vehicle goes off road the idea is to create a track based on the vehicles movement. The app will have no user input, so a couple of plug-ins will need to be built to feed the app with data as the vehicle moves over the terrain.

Does this sound like a good candidate to use just the core dlls ?

I'm new to MapWindow so I'm not sure what dlls I'd need to build a custom installer.

Could you provide some insight on how to build a custom installer with just the core dlls and your thoughts on if this is achievable using them ?

Thanks much!

-Alan

Options: ReplyQuote
Re: using plug-ins with the activeX control
Posted by: pmeems ()
Date: November 19, 2010 12:19PM

Alan,

I don't know anything about C++ so I can't help you with that, but I do have a newly build GPS plug-in for MapWindow that saves the GPS log, shows a cross hair of the current location and can show the GPS points and/or tracks.
We used this plug-in together with the mwTiles plug-in and a tabletpc when we went on holiday. It worked great!

We use INNOSetup for the MapWindow installer.
The files are located at [svn.mapwindow.org]

In the iss you can see what dlls are part of the core and what are optional.
I can help you with that if you need it. That isn't too hard, once you know how ;)


--
Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote
Re: using plug-ins with the activeX control
Posted by: aleberkn ()
Date: November 30, 2010 03:10PM

Hi Paul - instead of using the ActiveX control I need to import a dll into an unmanaged app and make api calls to the interfaces. Is there an inno setup that can create a dll that can be registered as a COM component so I can use it with unmanaged code?

Thanks,
Alan

Options: ReplyQuote
Re: using plug-ins with the activeX control
Posted by: pmeems ()
Date: December 01, 2010 03:37AM

Alan,

If you can register that dll using regsvr.exe you can do it as well with a INNOSetup.
Look at the [Run] section.
We now register the ActiveX control as well with a cmd-script.

--
Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote


Sorry, only registered users may post in this forum.





Banner Exchange




GISCP.com




Send us your banner logo (160x120) for the space above, and add this MapWindow banner ad to your site:

Just paste this text in your page: