Dll not found on Microsoft Surface pro

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

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.

I just did that, and you are right, the problem seems to come from some dependencies, the thing is, some of them are supposed to be there…

here is the log file from dependency walker:
https://dl.dropboxusercontent.com/u/90698220/metaiosdk.dll%20-%20Surface.txt

maybe you can get more info of it than I can ^^’

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.

Awesome, it works!! A big big thanks!

I thought because the OS was 64bits, I needed the vcredist_x64! silly me! ^^’

Big thanks from me too!! This solved my three weeks problem :slight_smile:

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 and delete your old one.

Don’t do this. Never download DLLs from websites like that. That’s a nice way to get yourself a virus.