Dear All,
Can anyone tell how to include MFC application/DLL built
using EVC++3.0 into PB3.0?
Should I also include MFC components separately into the
platform?
Pls clarify

Thanks
Vidhya

Re: How to add evc built components ( exe,dll etc) into NK.bin of PB by Bruce

Bruce
Mon Jan 12 10:02:28 CST 2004

1. Copy the files to the _FLATRELEASE directory of PB. There are many ways
to do this, one would be to set the release folder in eVC to put them in
your Files directory, which is copied when you run buildrel.
2. Modify your platform or project .bib file to include the files in your
ROM image.
3. If you are dynamically linking with MFC then you do need to include them
in your project. Use SYSGEN variable to do this.


--
Bruce Eitman (eMVP)
Senior Engineer
Accelent Systems Inc.
www.accelent.com



Re: How to add evc built components ( exe,dll etc) into NK.bin of PB by Yannick

Yannick
Tue Jan 13 04:14:29 CST 2004

You can also wrap your applications in CEC components with copy action in a
premakeimg step.
This would allow you the inclusion of these applications in an image as
catalog components.


--
----------------------------------------------------------------
Yannick Chamming's
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"Bruce Eitman (eMVP)" <beitmannospam@accelentnospam.com> wrote in message
news:OddE8VS2DHA.1888@TK2MSFTNGP10.phx.gbl...
> 1. Copy the files to the _FLATRELEASE directory of PB. There are many
ways
> to do this, one would be to set the release folder in eVC to put them in
> your Files directory, which is copied when you run buildrel.
> 2. Modify your platform or project .bib file to include the files in your
> ROM image.
> 3. If you are dynamically linking with MFC then you do need to include
them
> in your project. Use SYSGEN variable to do this.
>
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Accelent Systems Inc.
> www.accelent.com
>
>



Re: How to add evc built components ( exe,dll etc) into NK.bin of PB by Bruce

Bruce
Tue Jan 13 10:58:51 CST 2004

I thought of that, except that the question is about PB 3.0.

--
Bruce Eitman (eMVP)
Senior Engineer
Accelent Systems Inc.
www.accelent.com



Re: How to add evc built components ( exe,dll etc) into NK.bin of PB by Vidhya

Vidhya
Wed Jan 14 04:30:27 CST 2004

Gentlemen,
Many Thanks for your suggestions.
I included the components into the platform and made the
neccessary changes in the project.bib file too.
My application is built using mfc as statically linked
library.
However, I encounter the following error message while
trying to run the application:
"MFCCE300.dll is not found.One of the required components
is missing.Cannot run abc.exe"
Pls help

Thanks
Vidhya
>-----Original Message-----
>I thought of that, except that the question is about PB
3.0.
>
>--
> Bruce Eitman (eMVP)
> Senior Engineer
> Accelent Systems Inc.
> www.accelent.com
>
>
>.
>

Re: How to add evc built components ( exe,dll etc) into NK.bin of PB by Bruce

Bruce
Wed Jan 14 10:18:30 CST 2004

That seems to indicate that you are dynamically linking with MFC.

Since you say that you are statically linking, I will assume that you are
correct. Could you be explicitly trying to access this dll in your code?
Are you dynamically linking to another dll, which is dynamically linking
with MFC?

--
Bruce Eitman (eMVP)
Senior Engineer
Accelent Systems Inc.
www.accelent.com



Re: How to add evc built components ( exe,dll etc) into NK.bin of PB by Yannick

Yannick
Thu Jan 15 08:28:13 CST 2004

you should be able to do it in CE 3.0, as long as the copy is done in the
buildrel step, instead of premakeimg ?!?

--
----------------------------------------------------------------
Yannick Chamming's
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"Bruce Eitman (eMVP)" <beitmannospam@accelentnospam.com> wrote in message
news:OuItGaf2DHA.560@TK2MSFTNGP11.phx.gbl...
> I thought of that, except that the question is about PB 3.0.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Accelent Systems Inc.
> www.accelent.com
>
>