Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Aug 2004 01:25 PM by  mikee@logicpd.com
Make a windows application part of the Image build
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
shahjayesh
New Member
New Member
Posts:


--
03 Aug 2004 11:22 AM
    Hello,

    I have trying to create an Image which would include a custom windows application that I have built to be part of my OS Image created by PB.

    Usually I would bring up CE on the board and then download the application from eVC 4.0 using ActiveSync or KITL.

    But to be able to burn the Application and OS Image to flash I need to integrate them in one build.

    I tried adding a project to the Workspace file in PB and it compiled my source for application but after the download I get an error when I try to run the application. The application is located in the Release directory and on double clicking the error I get is "Can't find application or one of its components. Make sure the filename and path are correct and that all required libraries are available."

    This is a MFC app and hence needs the MFC library to run.

    Thank you
    Jay.
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    10 Aug 2004 01:25 PM
    jayesh,

    Please make sure that you include support for MFC and any other modules your application will need when you configure your build.

    To ensure that your application is included in the final OS image. Add an entry into the Project.bib file. See the Windows CE help file for complete information but a line like:

    my_app.exe $(_FLATRELEASEDIR)\my_app.exe NK

    should do it. This line tells the linker to take the file "my_app.exe" out of the Release directory and include it in the "NK" section of the image, and give it the name "my_app.exe".

    If your application relies on any registry entries, don't forget to add them to the file Project.reg.

    Regards,

    --mikee
    You are not authorized to post a reply.