Problem with the loading of the map on startup using different computers

Dec 15, 2009 at 9:26 PM

Hi! I have got a problem with the loading of the map on the startup. Moreover, the work of this program is good under Windows7 (x64 platform), WindowsXP (x86 platform) but it doesnt shows the maps under  WindowsXP(dualcore x86) and WindowsXP(core2duo x64). I am troubled) Help!!! Thanks in advance!

Coordinator
Dec 15, 2009 at 10:17 PM

hm... strange

Dec 16, 2009 at 6:05 AM

Hi Sammual,

Just humour me and try the following to see if it fixes your problem;

In GMap.NET.Core find Core.cs and then find

waitOnEmptyTasks.WaitOne(1111);

and change it to

waitOnEmptyTasks.WaitOne();

Then rebuild and see if it fixes the problem.

Cheers

 

 

 

 

Dec 16, 2009 at 2:28 PM

Hi, thanks for yours answers. I was troubled by the real decission of my problem. The wrong thing was in using Framework.Net 2.0 for the "WindowsXP(dualcore x86) and WindowsXP(core2duo x64)" - case. After installing Framework3.5 all bad things goes out.

 Azlen :) , your thought was interesting, but problem with loading maps from server was previous one in my own list:)  Anyhow, thanks.

Coordinator
Dec 16, 2009 at 3:03 PM

mm, but windows form version should work in .net2, only wpf version need 3.5

Dec 16, 2009 at 3:35 PM

I actual got stuck with this same problem of no map display today after upgrading from XP to Vista on a machine.

I found the problem to be framework related, the overload on waitOnEmptyTasks.WaitOne fails if no 3.5 installed (or incorrectly installed in my case).

Hence my suggetstion of the code mod for someone else who had the problem to confirm it would run on their machine thus confirming the framework issue.

Radioman I agree that it should work for dotnet2 as the build is set for dotnet2 however it seems to need 3.5, as to why I have no idea.

Cheers

 

 

 

Coordinator
Dec 16, 2009 at 6:04 PM

i changed waitone function, i think it was from .net sp2, can anyone confirm it's working great? ;}

Dec 17, 2009 at 3:41 AM

I had already made that chnage as well and can confirm that it works ok: )

 

Coordinator
Dec 17, 2009 at 5:11 AM

good ;}

Dec 17, 2009 at 7:01 AM
Edited Dec 17, 2009 at 7:05 AM

Notes:

.net 2.0 SP2 is applied with .net3.5 SP1.

The most current mscorlib.dll version is 2.0.50727.3603.

The mscorlib.dll version on the machine that I had a problem with was 2.0.50727.1434.

So if the development machine has all the latest frameworks and service packs installed there exsists a potential for version issues in deployment even if compiling for .net 2.0.

Luckily I had VS2008 installed on the deployment machine and was able to catch the problem as debugging on the development machine would not have caught it.

Cheers

 

Dec 18, 2009 at 9:07 AM

I think the key problem is in using of GMap.NET.Core.dll, GMap.NET.WindowsForms.dll and System.Data.SQLite.dll that may be compiled under the different Framework version. In my case I compiled all the DLLs and project in whole under the Framework3.5 (such as in Windows7 "was born" with it). So, to have no problem with project, install Framework3.5 and compile all using it... and have a luck:)

Dec 23, 2009 at 1:32 AM
Edited Dec 23, 2009 at 1:55 AM

I download the latest source code(44472), and compile it. But it can't show the map. 

When I download the bin-release(winform), it works fine.

I had VS2008 installed.

 

I try the 44164 source code, it works fine too.