Community of VE/MapPoint Users and Developers
This is a discussion on MAPPOINT doesn't work as Window Service within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I noticed that if you instance MapPointApplication from a Window Service (i.e. written in c#) you can't start more than ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| MAPPOINT doesn't work as Window Service In other way, with the same code, if the application is a Windows Form Application I can run up 26 MapPoint instances at the same time. Does anyone know why? Thanx Michele |
| |||
|
Hi, Maybe the amount of free pool is more limited for a service than for a normal application ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Quote:
For a moment (I don't know why) I instanced up to 10 MapPoint with my Windows Service so I thinked the problem was solved. One week later I tested the application but i found the problem not solved. I think the solution could be setting some proprerty on DCOM object, but I can't understand how to do it. Anyone has an idea? |
| |||
| Quote:
Maybe found the solution!!!! http://support.microsoft.com/default...b;en-us;184802 I changed 512kb (heap size for the window services) to the value reserved for interactive process and now works!!! |
| |||
|
Hi, Can you give feedback if it stay working as it probably should ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Quote:
I don't know I this setting can be create problems on other services. Anyone knows some problem that can cause changing the number of kilobytes of the non-interactive services heap? I will continue my test, if there are problems I will report them on the forum. Michele |
| |||
|
Hi MIchele, No I'm pretty sure your setting will not affect other services. Increasing the heap will only allow the service to allocate more of the pool. Tank you for feedback because it benefits otehrs.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| mappoint, service, window, work |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get host window messages | Th.M.Mädzulat | MapPoint 2006/2009 Discussion | 0 | 06-18-2006 12:11 PM |
| Solution: Server busy window after popup context menu. | Jeurink | MapPoint 2006/2009 Discussion | 6 | 04-06-2005 02:32 PM |
| Form with OleContainer disappears behind parent window | Anonymous | MapPoint 2006/2009 Discussion | 0 | 12-09-2004 03:11 PM |
| Getting the directions window back | Anonymous | MapPoint 2006/2009 Discussion | 2 | 04-01-2004 04:59 PM |
| Finding MapPoint Map Window Handle | Anonymous | MapPoint 2006/2009 Discussion | 3 | 04-04-2003 10:05 AM |