Search Unity

Dll not found on Microsoft Surface pro

Discussion in 'Windows' started by Ekibyo, Apr 23, 2014.

  1. Ekibyo

    Ekibyo

    Joined:
    Apr 23, 2014
    Posts:
    3
    Hi everyone,

    I have an issue with an app I'm trying to export on a Microsoft Surface pro. I'm trying to use a plugin called metaio to do some AR, but it seems it just doesn't work on the surface (running Windows 8.1 at the moment).

    so, the thing is, I have this app, that work just fine on every pc (running windows 7, 8, 8.1), but when I try to launch it on our surface, we have a DllNotFoundException. it can't find the metaiosdk.dll (which is here). I tried with a different kind of AR plugin, Arpa, but I have the same issue, it can't find its plugin either.

    what I also tried, was to install the unity editor on the surface, and run the program on there, but same thing. Unity says it can't find the dll.

    So I was wondering if you were aware of that kind of issue with the Surface pro.

    Thank you,

    Ekibyo

    ps: the link to the thread I created on metaio's helpdesk:
    http://helpdesk.metaio.com/questions/29557/metaiosdkdll-missing-on-microsoft-surface
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Are you sure it cannot find that exact DLL and not any of its dependencies?

    You can try looking at it through http://www.dependencywalker.com/, which would tell you exactly what's missing.
     
  3. Ekibyo

    Ekibyo

    Joined:
    Apr 23, 2014
    Posts:
    3
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Seems like it cannot find MFC100U.dll. This specific DLL is supposed to come from Visual Studio 2010 SP1 C++ Redistributable package.

    Your DLL is 32-bit, so this package needs to be installed for it to work:

    http://www.microsoft.com/en-us/download/confirmation.aspx?id=8328

    Is your game going to be standalone player game or Windows Store game? If it's the former, you'll have to redistribute this package OR place MFC100U.dll in your application folder with your game installer (as stated by http://msdn.microsoft.com/en-us/library/ms235299.aspx). If it's the latter, you cannot use this DLL: you're not allowed to have MFC dependency in Windows Store application.
     
    Last edited: Apr 23, 2014
  5. Ekibyo

    Ekibyo

    Joined:
    Apr 23, 2014
    Posts:
    3
    Awesome, it works!! A big big thanks!

    I thought because the OS was 64bits, I needed the vcredist_x64! silly me! ^^'
     
  6. Extrawrigley

    Extrawrigley

    Joined:
    Jul 16, 2013
    Posts:
    2
    Big thanks from me too!! This solved my three weeks problem :)
     
  7. SandraW

    SandraW

    Joined:
    Apr 13, 2016
    Posts:
    1
    Don't install any programs, they will not help, and then, as it turned out, it is better not to install any tools. Download dll file from <SNIP> and delete your old one.
     
    Last edited by a moderator: Apr 13, 2016
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Don't do this. Never download DLLs from websites like that. That's a nice way to get yourself a virus.