Hi,
I have a simple windows application designed using MapSuite Deskto Edition 3.0, it works on Vista x64, XP x32, but does not work on XP x64 edition, I got an error:
it says "Can't find ProjectionExtensionx64.dll assembly".
Any help pls?
Rose
Hi,
I have a simple windows application designed using MapSuite Deskto Edition 3.0, it works on Vista x64, XP x32, but does not work on XP x64 edition, I got an error:
it says "Can't find ProjectionExtensionx64.dll assembly".
Any help pls?
Rose
Hi Rose,
Thanks for your post.
I want to know if you have installed MapSuite Desktop Edition in your XP x64 machine. And if not, you should make sure the ProjectionExtensionx64.dll is in the folder “C:\Windows\SysWow32\”.
Hope this helps and any more questions please let me know.
Thanks,
Sun
Sun,
I did not install MapSuite on the machine, I can't find ProjectionExtentionx64.dll on my machine which has MapSuite desktop instaled, I only found Proj4Extensionx64.dll, I tried to copy over this file to the Win XPx64 System32 directory, still got this same error message, here is the detailed error message:
System NullReference Exception:
Object reference not set to an instance of an object at ThinkGeo MapSuite.Core.Proj4Projection.OpenCore()....
Rose
Rose,
I think there are some other DLLs you may need to copy for your uninstalled machine to run an application with Projection used:
MapSuiteProjectionX86.dll
MapSuiteProjectionX64.dll
Any more questions just feel free to let me know.
Thanks.
Yale
Yale:
Before I posted my question, I tried to copy all the files in ThinkGeo\System32 directory to the Win XP System32 directory, then I got the error. The same installation package works on Vista x64.
My question is whether MapSuite Desktop edition is compatible with Win XP 64 Professional edition.
Rose
Hi Rose,
Have you checked if the MapSuiteProjectionX64.dll exists in the C:\Windows\Syswow32 folder as I mentioned in my first reply? If it doesn’t exist, please copy that dll to C:\Windows\Syswow32 folder to see if it makes sense.
Any more questions please let us know.
Thanks,
Sun
Sun:
I think it should be C:\Windows\System32 instead of C:\windows\Syswow32..
The MapSuiteProjectionx64 does exist in C:\Windows\System32 directory. As I said I copied all the files from my developer machine's "C:\Program Files (x86)\ThinkGeo\Map Suite Desktop Full Edition 3.0\Developer Reference\System32" directory to the XP x64 machine's C:\Windows\System32 directory.
The same installation works on Vista x64 OS.
Has anybody run or tested MapSuite application on Win XP x64?
Thanks
Rose
Rose,
Just make sure, you are using the last public release version of 3.1.299 for Desktop product? if so, we are definitely tested against the WindowsXP 64 OS?
While, I am sure that when we tested it, we just install the Full or Eval versions on a WindowsXP 64 OS clean machine, but in your case, it seems you did not install the package, just copy some DLLs into it and run the application, is that right?
Any more questions just feel free to let me know.
Thanks.
Yale
Posted By Yale on 01-31-2010 06:02 PM
Rose,
Just make sure, you are using the last public release version of 3.1.299 for Desktop product? if so, we are definitely tested against the WindowsXP 64 OS?
While, I am sure that when we tested it, we just install the Full or Eval versions on a WindowsXP 64 OS clean machine, but in your case, it seems you did not install the package, just copy some DLLs into it and run the application, is that right?
Any more questions just feel free to let me know.
Thanks.
Yale
Yale:
You are right. I did not install the Full or Eval versions of MapSuite on Win XPx64, I made an installation package on Vista x64 in Visual Studio, after installed the package on Win XPx64, I got the error, then I copied all the Dll files to Windows System32 directory, still got the same error.
Yes, I am using the version of 3.1.299.
Any ideas?
Thanks
Rose
Rose,
What I am doubting is you did not copy all the necessary DLLs needed for your application?
Probablly you could install an Eval version on your target WinXP 64 bit machine and re-compile your application on it by referencing the new Eval DLLs. Hope it works.
Any more questions just feel free to let me know.
Thanks.
Yale
Posted By Yale on 02-01-2010 09:46 PM
Rose,
What I am doubting is you did not copy all the necessary DLLs needed for your application?
Probablly you could install an Eval version on your target WinXP 64 bit machine and re-compile your application on it by referencing the new Eval DLLs. Hope it works.
Any more questions just feel free to let me know.
Thanks.
Yale
Yale:
Sorry for bringing back this old topic. That is client’s PC, I can’t install the Eval version of MapSuite on it and re-compile it as you mentioned above. I downloaded the latest version of Desktop Edition 4.0.40.0 on my Vista x64 pc, re-compiled my application and installed it again on the WinXP x64 machine. This time I got following error message. I have copied all the files from my development machine: MapSuite\Developer Reference\System32 to the target PC Windows\System32 directory. And I have checked Proj4ExtensionX86 is in both Windows\System32 directory and in the application directory.
Error message is as following:
Could not find Proj4ExtensionX86.dll assembly.
System.IO.FileNotFoundException: Could not find Proj4ExtensionX86.dll assembly.
at ThinkGeo.MapSuite.Core.Proj4Projection.OpenCore()
at ThinkGeo.MapSuite.Core.Projection.Open()
at AISAanlyser.frmMain.Map1_MouseMove(Object sender, MouseEventArgs e)
Please help
Rose
…
Rose,
Thanks for your post and questions.
I think this is because your application is not compiled and run in the x86 mode, so if want you can try to change the compile setting to x86 mode.
Besides, another much more easy solution is take a try to use the ManagedProj4Projection instead of Proj4Projection. ManagedProj4Projection is a newly developed class to replace the Proj4Projection, its biggest advantage is all of its code are managed code without any use of reflection, I think this enhancement will make you application much more stable and robust.
Any more questions please feel free to let me know.
Thanks.
Yale
Yale:
Thanks.
I checked that compiled my application in X86 mode.
Where can I find the ManagedProj4Projection? I only see Proj4ExtensionX86.dll and Proj4ExtensionX64.dll?
Do you mean the "MapSuiteProjectionX86.dll"? but that can't be referenced.
Rose
Rose,
The ManagedProj4Projection is part of the Core. You do not need to reference anything special. We did this to remove our dependency on this third party dll and to make it safer. The Proj4Projection had sme issue with multi threading in a web environment. We suggest that you use the ManagedProj4Projection. In this way there is nothing more to reference.
David
David:
I solved the problem by following this topic:
gis.thinkgeo.com/Support/Dis...aspx#19781
so the merge module takes care all the dependencies.
Rose
Rose,
Thanks for letting us know your status, I am happy seeing your progress.
Just let you know that you do not need to reference any additional DLLs to use the ManagedProj4Projection class, it is added in 4.0.0.0 or later version in MapSuiteCore.dll, so if you want to use it, only make sure you get the right version.
Any more questions please feel free to let me know.
Thanks.
Yale
Rose,
As Yale pointed out I strongly suggest using the ManagedProj4Projection class. At the same time if you only use the Desktop Edition it is unlikely you have any issues with the Proj4Projection class.
David