How to Add a Media File to a Run-Time Image

Write your "How To" regarding anything you are comfortable with and you feel it will help the forum members.

NOTE :: All threads started here will appear only after the approval from Administrator
Post Reply
atg
Posts: 7
Joined: Sun Oct 12, 2008 3:30 pm

How to Add a Media File to a Run-Time Image

Post by atg »

Open Platform Builder in Windows CE 5.0 or later.
Step2
Go to the Platform menu, select "Settings" and then select the "Custom Build Actions" tab. The Build drop-down menu appears.
Step3
Select "Pre-Make Image" and then "New" to bring up the Custom Build Action dialog box.
Step4
Copy the file you want to add to the run-time image. Paste the file to the release directory (from where it is added to the run-time image). Go to the "Custom Build" field and type: \ %_FLATRELEASEDIR%\. Substitute the name of the media file for each of the above stated .
Step5
**** "OK" to close the Custom Build Action dialog box. Select "OK" again to close the Settings box.
Step6
Open the "Parameter View" tab in the workspace window and expand the "Parameters" node. Find and double-**** the "Project.bib" file.
Step7
Add an entry for the media file in the "Files" section of the "Project.bib" file. Enter the name of the media file under "Name," then "$(_FLATRELEASEDIR)\" under "Path," substituting the name of the media file for the above stated . Enter "NK" under "Memory" and "S" under "Type."
Step8
Save the changes in the "Project.bib" file.


SHAdmin
Posts: 2089
Joined: Sat Dec 18, 2004 11:28 am
Contact:

Post by SHAdmin »

Your 'How To' has been approved and 15 points have been credited for sharing it.
Post Reply