Community of VE/MapPoint Users and Developers
This is a discussion on looking for Delphi solution for the "Server Busy" within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I also get the infamous "server Busy" dialog for my Delphi program that is running 24/7. I'm looking for the ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| looking for Delphi solution for the "Server Busy" I've looked through my Delphi manuals, but they are no help. Has anyone found a solution? Thanks, Pascal |
| |||
| OleRequestPendingTimeout
Bad new, it can't be done. We are VERY well versed with the MapPoint control and have cleared countless hurdles with the product. The MP control simply does not properly expose / respond to new implementations of IMessageFilter as it should. Since the Server Busy dialog always appears on top, our workaround was to set a timer to periodically check for the appearance of the ServerBusy dialog (just look through the active window handles) and bring our application to the front if it's found. It basically covers up the dialog while the operation completes and MP happily puts it away afterwards. Equivalently, you can try hiding the Server Busy dialog when it appears, but I have vague memories of something not working with that technique. In short, you can't trap the error, so just hide it. I rarely check these forums anymore, but feel free to email me directly: zdigriz<ignore this part>@mobileiq.biz Cheers, Chris VP Sales & Marketing MobileIQ, LLC www.mobileiq.biz |
| |||
| How to kill a Mappoint...
Hi. I encounter the same problems after a program crash or debugger program halt. I have written a small function that kills all instances of the Mappoint object in memory, so your app will restart OK. Hope this helps a bit... Cheers. Martin. Code: (******************************************************************************** Title : Procedure KillMappointInstances Function : Kill's all active MapPoint objects anywehere in memory Result : Number of instances found and terminated Author : Martin Beek, martin@martinbeek.net Uses : TLHelp32 ********************************************************************************) function KillMapPointInstances : Integer; const PROCESS_TERMINATE = $0001; EXEFILENAME = 'MapPoint.exe'; var ContinueLoop : BOOL; FSnapshotHandle : THandle; FProcessEntry32 : TProcessEntry32; begin Result := 0; FSnapshotHandle := CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); FProcessEntry32.dwSize := SizeOf(FProcessEntry32); ContinueLoop := Process32First(FSnapshotHandle, FProcessEntry32); while Integer(ContinueLoop) <> 0 do begin if ((UpperCase(ExtractFileName(FProcessEntry32.szExeFile)) = UpperCase(ExeFileName)) or (UpperCase(FProcessEntry32.szExeFile) = UpperCase(ExeFileName))) then Result := Integer(TerminateProcess( OpenProcess(PROCESS_TERMINATE, BOOL(0), FProcessEntry32.th32ProcessID), 0)); ContinueLoop := Process32Next(FSnapshotHandle, FProcessEntry32); end; CloseHandle(FSnapshotHandle); end; |
| |||
| Re: looking for Delphi solution for the "Server Busy"
Hi, I assigned a new MessageFilter with "CoRegisterMessageFilter" and the "server is busy" Dlg is never shown again. "http://msdn2.microsoft.com/en-us/library/ms693324.aspx" "http://delphi.newswhat.com/geoxml/forumhistorythread?groupname=borland.public.delphi .oleautomation&messageid=43a2d4ec$1@newsgroups.bor land.com" regards Gerhard |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solution: Server busy window after popup context menu. | Jeurink | MapPoint 2006/2009 Discussion | 6 | 04-06-2005 01:32 PM |
| Exporting "located" data points to excel | Jonboy | MapPoint 2006/2009 Discussion | 2 | 04-06-2005 08:25 AM |
| How can I open "Show or Hide places" in program | Chester | MapPoint 2006/2009 Discussion | 1 | 09-26-2004 08:12 PM |
| Do I need "Autoroute Europe", if I install "M | bigtail | MapPoint 2006/2009 Discussion | 1 | 03-23-2004 11:58 PM |
| Delphi equivalent of VB's "Dim myExampleArray(4, 2)&quo | schuchhardp | MapPoint 2006/2009 Discussion | 2 | 03-20-2003 06:14 AM |
Skiing Package
For that perfect skiing package visit Holiday Hypermarket. Search for ski holidays according to your specific requirements online. Holiday Hypermarket makes it simple and rapid.
Family Holidays
Family holidays, ski holidays, cruises, luxury holidays. Whatever your travel needs your personal Travel Counsellor can help.
Holidays in Italy
Holidays in Italy boast some stunning countryside as well as a beautiful coastline. You can even visit an active volcano like Stromboli or Etna. Book at dealchecker.co.uk.
Holidays to Bahamas
Choose from a number of extraordinary holidays to the Bahamas at The Holiday Place. See pictures of these beautiful islands online.
Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.
Travel
Check out the travel options on Travel.co.uk.
Cheap Holidays to Gran Canaria
Book a flight to the Canary Islands! View information on cheap holidays to Gran Canaria online at On The Beach.