Introduction
An update is available for Microsoft Visual Studio 2008 Service Pack 1 (SP1) that adds support for developing applications for Windows Embedded Compact 7. Specifically, this update fixes the following issue and adds the following feature.
Issue 1
Consider the following scenario:
-
You run a Windows Embedded Compact 7 run-time image on a target device. The kernel debugging feature is not enabled in the image.
-
You use the Windows Embedded Compact 7 software development kit (SDK) in Visual Studio 2008 SP1 to create a Smart Device application for the device.
-
You use Visual Studio debugger to debug the application, and then click the single-step debug buttons.
In this scenario, the single-step debug buttons do not work correctly. For example, when you click Step Into, Step Out, or Step Over, the result is the same as if you had clicked Go.
Feature 1
This update adds a feature that automatically detects when the Windows Embedded Compact 7 SDK is being used. Also, this update adds the ability to compile and link with header files and libraries that are specific to Windows Embedded Compact 7. The header files and libraries that are specific to Windows Embedded Compact 7 are located under the following directory:
<system drive>:\Programs Files (x86)\Microsoft Visual Studio 9\VC\CE7 If such a directory exists, the components for a Windows Embedded Compact 7 project will take precedence over the files that are located in the following directory:
<system drive>:\Programs Files (x86)\Microsoft Visual Studio 9\VC\CE
More Information
Hotfix information
119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Prerequisites
To apply this hotfix, you must have Microsoft Visual Studio 2008 Service Pack 1 (SP1) installed.
Restart requirement
You do not have to restart the computer after you apply the hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfix.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File name |
File size |
Date |
Time |
Path |
---|---|---|---|---|
Ede.dll |
201,032 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\bin |
Eps.dll |
82,248 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\bin |
Edm2.exe |
159,560 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\target\wce400\armv4 |
Edm2.exe |
191,816 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\target\wce400\armv4i |
Edm2.exe |
198,472 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\target\wce400\mipsii |
Edm2.exe |
196,936 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\target\wce400\mipsiv |
Edm2.exe |
139,080 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\target\wce400\sh4 |
Edm2.exe |
118,088 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\smartdevices\debugger\target\wce400\x86 |
Devicesdkinstcomp.dll |
94,560 |
12-Jan-2011 |
23:51 |
%Program Files%\Microsoft Visual Studio 9.0\VC\vcpackages |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.
Workaround
To work around Issue 1, set breakpoints in the application code, and then use the F5 key to move to between breakpoints.
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Item Preview
There Is No Preview Available For This Item
This item does not appear to have any files that can be experienced on Archive.org.
Please download files in this item to interact with them on your computer.
Show all files
101
Views
1
Favorite
DOWNLOAD OPTIONS
Uploaded by
Lemon_Wolf
on
SIMILAR ITEMS (based on metadata)
Hi,
In this first tutorial we will take a look how to install Expression blend 3, Visual studio 2008 with SP1, Windows Embedded Compact 7 and Tools that we need to start developing Silverlight for Embedded applications.
Minimum recomended system requirements are:
-
2.4GHz CPU
-
1GB of RAM
-
100GB of disk space
But if you will try to do some sirius work on computer with this specifications it will get realy slow.
I recomend using virtual machine with 2 cores, 8GB of RAM and 100GB of disk space.
If you are not going to use virtual machines, then i recomend installing to saperate disk drive, because the drive where you will install WEC7 will get realy slow.
TOOLS
Lets first take a look at the tools that we will need:
When you have all the tools downloaded you can start with installing. Keep in mind that installation order is important!
First we will install Expression Blend 3.
Installing Expression Blend 3
When you insert the Expression Blend 3 CD to your CD unit you should get the fallowing screen:
After clicking «Accept» you will be taken to the next screen:
Click next and on the next screen, select only Expression Blend ( except of you need something else )
After clicking «Install» the installation will start. After it is done just click finish.
This is all you need to install Expression Blend 3. Next we will look at Visual studio installation.
How to install Visual Studio 2008
When starting installation you should see this screen:
Select «Install Visual Studio 2008» and the fallowing screen should apear:
Click next and the next screen will show, you now need to enter licence key:
After enterining licence key, you will be able to select what components you want to install.
For the demostration i chose to install FULL version of Visual Studio 2008.
After clicking «Install» the installation will start, it will take quite some time to install so be patiten.
This screen will apear after installation is complite. Just click «Finish» and and close the next window.
Now before we install WEC7 we need to update Visual Studio 2008 to SP1 update.
Install Visual Studio 2008 SP1
By now you should have downloaded Visual Studio 2008 SP1, if you didnt there is a link on the top of this post.
It will download single .EXE file. Run the file and this screen will apear:
Click «NEXT» for the next screen
Select «I have read..» and click next. Installation will take a few moments and will download few MBytes of data.
After installation is complete the fallowing screen will be shown, click finish and this is all you need for Visual Studio. I recomend rebooting a PC now.
Now make your self some coffee, because installing WEC7 can take few hours.
Install Windows Embedded Compact 7
Now insert DVD for Windows Embedded Compact 7 to your unit. The fallowing screen should apear:
Click on begin install and next scrreen will apear, here be cerful! Click «SKIP» and do not update, i had problems if i updated this was, we will reather install «old» version and update later.
After clicking SKIP agree with licence:
Click NEXT and you will need to enter your product key:
After clicking NEXT you will need to select where to install, i recomend default path.
On the next screen you will need to select what platforms you want to install.
For the porpuse of this tutorial, we will only install X86. If you are using some custom hardware running ARM then you need so select apropriate version. You can also install mutiple platforms if you want.
Next page will show are a ewview of what we want to install:
After clicking Install the installation will start, dont go away from a computer yet, you after a while it will ask you for downloading aditional files:
Check «Allow downloading..» and click download. After this you can take a short break from a PC.
Once installation is finished click on Finish button. This is all for WEC7.
Now we need to update WEC7 to the latest version. If you do not update, you will have a problem developing with silverlight.
Updating WEC7
Now run the setup from DVD of WEC7 again. Now you will have options to Uninstall, Modify, Repair or UPDATE
You need to select UPDATE and click NEXT.
This will take you to the next screen:
Again click next, now you will need to login using your LIVE ID:
After you login you will get this screen, select check for updates now and click next.
You need to click next few times, then you will get to the page that will show you what updates will be installed.
I usualy dont select offline layout but if you need it you can select YES. Updating will take some time, so go out and take a walk.
Windows Embedded Compact 7 ATL Update for Visual Studio 2008 SP1 |
This is an update for Visual Studio 2008 SP1 to extend support for Windows Embedded Compact 7
- This update enables users to build smart devices project with ATL functionality for Windows Embedded Compact 7 SDK.
More details are provided in KB article 2468183 .
NOTE:
This release requires Visual Studio 2008 Update for Windows Embedded Compact 7 to be installed.
System Requirements
Operating Systems: Windows Embedded CE
- Windows 7, Windows Vista, Windows XP Service Pack 3
• Visual Studio 2008 Service Pack 1
Installation Instructions
-
- Click the file you want to download.
- Do one of the following:
- To start the installation immediately, click Open or Run this program from its current location.
- To copy the download to your computer for installation at a later time, click Save or Save this program to disk.
Related Resources
- MSDN Windows Embedded Web Site
- Windows Embedded CE
- Windows Embedded Web Site
Contents
- 1 Installing the SDK
- 2 Creating an Application
- 2.1 C# Application (VS2008)
- 2.1.1 Deploy a C# Application to your device
- 2.1.2 VS2005 .Net CF 2.0 Update
- 2.2 Embedded Silverlight Application (VS2008)
- 2.3 MFC Application (VS2008)
- 2.1 C# Application (VS2008)
Installing the SDK
Windows CE application development with Visual Studio 2008 (VS2008) requires installation of device-specific SDK supplied by CompuLab.
To install the SDK follow the below procedure:
- Run the <Platform name>_SDK.msi file – this will install the SDK into the Add/Remove programs within control panel and also make the platform available to Visual Studio 2008.
- On the first page of the SDK installer – Click Next
- On the second page of the SDK installer – Accept the EULA and Click Next
- On the third page (customer information) of the SDK Installer – Click Next
- On the fourth page (setup type) of the SDK Installer – Click Complete
- On the fifth page (destination folders) of the SDK Installer – Click Next
- On the Final page of the SDK installer – Click Install
- To complete the installation of the SDK – Click Finish
The SDK installer is a wizard based installer, you can click through the default settings to install the SDK |
Creating an Application
To Deploy an application to the device an ActiveSync connection is necessary between the device and the desktop machine.
C# Application (VS2008)
- Start a new instance of Visual Studio 2008
- – you will use the new instance of Visual Studio 2008 to write and deploy your application.
- Within Visual Studio 2008 select File->New->Project
- Select Project type: Other Languages | Visual C# | Smart Device
- Choose Smart Device Project
- Click OK to create the Smart Device application
- To develop an application choose Device Application and select the appropriate Target Platform.
- You are now ready to add controls and functionality to your form.
Applications developed using VS2005 target the .Net Compact-Framework 2.0
To target .Net Compact-Framework 3.5 develop the application using VS2008 |
Deploy a C# Application to your device
- Press the Green play button to deploy and run the program
VS2005 .Net CF 2.0 Update
When deploying a C# application your breakpoints may not be hit.
To fix this, install the .Net CF 2.0 SP2 on your desktop machine
Embedded Silverlight Application (VS2008)
- Run Expression Blend 3.
- A menu will popup, select new project.
- —
- Select a Silverlight for Windows Embedded Application
- —
- —
- Create content and save the Expression Blend project.
- Start VS 2008 and select Tools->Windows Embedded Silverlight Tools->Create Platform Builder Subproject.. menu option.
- —
- —
- Name the application and select a location for the converted subproject and press Next.
- —
- —
- Select the .csproj created originally by the Expression Blend and press Next.
- —
- —
- No errors window should appear, which means your project has been converted successfully.
- —
- —
- Go to the Solution Explorer, right click the Subprojects and select Add Existing Subproject..
- —
- Browse to the converted subproject you set four stages ago, select the sources file and press open.
MFC Application (VS2008)
After installing the SDK, there are a few Microsoft fixes and updates to install:
Installation must be done in the specified order |
- Windows Embedded Compact 7 Update 3
- Visual Studio 2008 update for Windows Embedded Compact 7
- Windows Embedded Compact 7 ATL Update for Visual Studio 2008 SP1
After installing the above you can write and deploy an MFC Smart Device application.
- Minimize the current instance of Visual Studio/Platform Builder
- Start a new instance of Visual Studio 2008
- – you will use the new instance of Visual Studio 2008 to write and deploy your application.
- Within Visual Studio 2008 select File->New->Project
- Select Project type: Visual C++ | Smart Device
- Change the Project name to MFCApp
- Click OK to create the Smart Device application.
The MFC application wizard requires that you provide information about the application you want to build, this includes the platform you want to build for, whether the application is Doc/View based etc…
The default settings are to build an application for Windows Mobile 5.0 Pocket PC as a single document interface (SDI) application |
- Select the Platforms option on the left side of the wizard or press Next
- — The Platforms page of the wizard allows you to select which platform (SDK) the application will be built against
- – The default option is to build for Windows Mobile 5.0 Pocket PC, you will need to remove Windows Mobile 5.0 Pocket PC and add the SDK you installed in the first step
-
Now that the Platform has been configured you can review/set some of the application specific options:
- Click on Application Type on the left side of the dialog.
The default option for an MFC application is to build a single document interface (Multiple Document Interface applications [MDI] are not supported on CE based devices).
- Change use of MFC from Use MFC in a Static Library to Use MFC in a Shared DLL
Feel free to explore some of the other wizard settings for the MFC application, at this point you have configured the basic options for the application.
- Click Finish to allow the MFC application source to be generated