Load GlobalMapperInterface dll problem

Dilys
Dilys Global Mapper UserTrusted User
edited November 2009 in SDK
Hi Mike,

I just create a new project and use the GlobalMapperSDK_v131_beta. And I have the problem with loading the GlobalMapperInterface dll. But it does not happen in my old project with the same SDK version. Could you help please?

I have attached a GM_Testing project for your reference.

Note I have taken out the bin folder, which contains the all the SDK files, from the project as I can not upload the whole project.



Thanks
Dilys

Comments

  • global_mapper
    global_mapper Administrator
    edited November 2009
    Dilys,

    I just loaded your project on my machine and copied the entire contents of the SDK 'bin' folder to the 'obj\Debug' folder for your project and it ran fine for me. Is that where you are putting everything?

    You might also want to go the Developers page at http://www.globalmapper.com and download the v1.32 SDK release rather than using the older v1.31 beta.

    If you still have problems, you likely don't have the VC9 C runtime library and MFC DLLs installed on your system. If you check the 'what_to_distribute.txt' file in the doc folder of the SDK it has a link to where you can download and install those libraries.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • Dilys
    Dilys Global Mapper User Trusted User
    edited November 2009
    Mike,

    I have updated the v1.32 SDK and installed the VC9 C runtime library and MFC DLLS in my system. But it is still no help.

    I found something interesting that it works if I use your vb sample and modified it as my project. But it does not work if I directly create my project from my Visual Studio 2008.

    So my solution is using your vb sample and modified it as my project.

    Thanks for your help!

    Dilys
  • global_mapper
    global_mapper Administrator
    edited November 2009
    Dilys,

    That is strange, there must be some setting different. I did notice that your project was set to build to 'Any CPU' but I think you need to specifically target x86 for using the 32-bit SDK, although then your project worked for me with no modification, so then I thought that wasn't the case. If you try yours again you might check that setting.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com