MSRS on Window CE - no cf.DssHost.exe
Hi,
newbie alert!
I'm trying to get a Sumo robot to work with the SittingDuck player. I've followed the instructions in
"C:\Microsoft Robotics Studio (1.5)\samples\simulation\competitions\simulatedsumoservices\readme.htm"
and have successfully deployed cf.SittingDuck to the robot.
Then nothing happens.
I noticed that the folder \Windows\Startup is empty and that there is no cf.DssHose.exe anywhere on the machine. If I need this, what step did I miss? If not, what else is wrong?
Thanks,
Dogulas
[610 byte] By [
Dogulas] at [2008-1-8]
You need to deploy DSS first.
There are two ways to do this:
a) Create a deploy package on your PC using the dssdeploy commandline tool. Copy the package to CE device and run it. It contains everything that is needed.
b) Copy the <msrs>\bin\cf directory manually to the CE device, for example using the Remote File Viewer that comes with VS.
Make sure that your deploy your solution to the same directory as DSS (see the Project Properties in VS). If you want your service to autostart when the device boots you have to add a shortcut to cf.dsshost with the proper arguments to \Windows\Startup.
Hope this helps.
Andreas
Thanks Andreas,
That is quite a big step to leave out. I'm not used to being such a novice, but this whole area is brand new to me.
That said, I feel I'm almost there. I had to correct many, many, paths to files in the manifest file that came in my SittingDuck project. For some reason the manifest file seems to have to be called "SumoPlayer.Hardware.manifest.xml". It seems to work so I'm not going to worry about that now.
When I run DssDeploy with this argument file:
/p+
/cf+
/cv+
/s-
/t:"program files/msrs/bin/dss"
/m:"samples\simulation\competitions\simulatedsumoservices\SittingDuck\SumoPlayer.Hardware.manifest.xml"
FirstAttempt.exe
It cannot find:
C
rogram Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\System.dll
or
C
rogram Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\System.xml.dll
Sure enough there isn't even an SDK folder under my Microsoft.NET folder. A search does turn up many of these files in different locations, all of them different. The best candidates are in:
C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\CompactFramework\WindowsCE
C:\WINCE600\OSDesigns\eBox2300\eBox2300\RelDir\ICOP_Vortex86_60B_x86_Debug
C:\WINCE600\OSDesigns\eBox2300\eBox2300\Wince600\ICOP_Vortex86_60B_x86\cesysgen\oak\target\x86\debug
There are many more. Should I reference one of these? If so, where is the reference and which one should I use? If not, why would I be missing these files? Did I miss another big step?
Thanks again,
Dogulas
Thanks George,
I had installed the CF 2.0 SP2 on my development machine, but something had gone wrong with the installation and it was installed in the wrong place. I tried the repair option and that didn't work. Finally, I uninstalled it and re-installed it from scratch and then everything worked.
I don't remember doing it, but I must have specified an alternate folder during the first installation. That being said, why does the installation allow you to change the folder if the other applications are intollerant to that change?
Anyway, I'm on to my next hurtle. Thanks again.
Dogulas