views:

348

answers:

1

I tried to run the directx samples from ..\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\directx\d3dm\tutorials on a Samsung Omnia and on the emulator and it doesn't work because of a deployment error. I am using Microsoft Visual Studio 2008 and have installed Windows Mobile SDK Standard and Professional refresh. The device is correctly plugged in and set up for active sync (I know this because other samples work, also a creating Win32 smart device application and running it works). When I try to run a directx sample application it compiles without errors but the message:

" There were deployment errors, Continue? Yes/No" appears

If I manually copy the application from the debug folder to the device and run it from there, it works.

The same deployment error message appears if I try it on an emulator. Other applications are deploying successfully.

Is there any way to make the deployment work? Maybe there is an obscure option I need to set...

What I do is: Connect the Mobile device to the PC, Open Visual Studio 2008, Open a directx sample project, Click Run (in Debug or Release mode).

A: 

The problem with the deployment is that the file msvcr80.dll could not be found. It was specified at the deployment options as an additional file "Project->Properties->Configuration Properties->Deployment" then "General->Additional files" with the paths msvcr80.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_WINDOWS%|0; Removing it makes the deployment successful. I have only tested this on a Windows Mobile 6.1 device and with the D3DM reference driver on an WM6.1/WM6 emulator.

  • What I haven't figured out is where does $(BINDIR)\$(INSTRUCTIONSET) point to.
  • Also I don't know why msvcr80.dll is in the addition files if it is not actually needed.
  • Is there actually a msvcr80.dll compiled for Windows Mobile platform on an ARM cpu?
Sil