Re: Adding SDK



Sorry...I've made a mistaje asking you in this way...I'd like to explain you
the procedure I've follow...

1. I've create a new workspace empty project
2. On settings menu I've added include files folders but I had a problem
when I tried to add the additional library for linker. So I fonund a post on
netgroup that talked about the same problem and I tried to solved this fact
adding the following code to makefile:

CopySDK:
if not EXIST $(_PROJECTSDKROOT)\lib mkdir $(_PROJECTSDKROOT)\lib
if not EXIST $(_PROJECTSDKROOT)\lib\$(_CPUINDPATH) mkdir
$(_PROJECTSDKROOT)\lib\$(_CPUINDPATH)
xcopy /I /D /Q $(_PROJECTROOT)\rfid.lib $(_PROJECTSDKROOT)\lib\$(_CPUINDPATH)


%%This line of code was the only line that there was before my adding code:
!INCLUDE $(_MAKEENVROOT)\makefile.def

3. I've added my .c file as source file
4. Finally I've built the project

After taking that step I've tried to sysgen but it doesn't find the
readwrite.exe (application executable)...When I've built the project it
hasn't generated .exe file...and I don't find the error...

Please could you help me?

Thanks a lot!!

"Paul G. Tobey [eMVP]" wrote:

Yes, you may add your EXE to a BIB file to add it to the ROM version of the
operating system. That is certainly the easiest way to assure that it's in
every device that has the USB drivers.

Paul T.

"San" <San@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9D047A33-B9CA-4C39-AFC8-DB0D55F7EF61@xxxxxxxxxxxxxxxx
Ok I've understood! I create my application, and after generating the .exe
file I can't include it on .bib file as I did with usb drivers! Did I get
it??

My CE device is the smdk2443. I use the USB downloader for fusing the OS
image on it.

Thanks a lot!

"Paul G. Tobey [eMVP]" wrote:

If you read up on how the operating system is built, you'll see
information
on BIB files. These tell the image builder what files and modules are put
into nk.bin. You can add an entry to your platform.bib or project.bib to
include a program or DLL that is built separately. Naturally, since you
know with all of your heart that .LIB files are used during the
construction
of DLLs and EXEs and are not executable, you, of course, won't add them
to
the OS.

Also, we don't know ANYTHING about your CE device, so how can we possibly
answer your question about how to add things to it? Does it have a hard
disk? A removable storage card of some sort? The ability to install a
CAB
file? The ability to download files from the Internet? Any of those
could
work, depending on how your device is built and what capabilities are
built
into the operating system...

Paul T.

"San" <San@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FD01F934-8DB6-4B00-8399-5698CDEF6158@xxxxxxxxxxxxxxxx
Thank you. It was useful.

About the last part...I have another question. If I create the
application
out of the OS how can I add it to my CE device? Should I add to OS
image
all
libraries? (.dll and .lib)

The application should read acquired data from and (USB connected) UHF
Reader (RFID tech).

Thanks!


"Paul G. Tobey [eMVP]" wrote:

Sysgen automatically does a MakeImg. You did a "Sysgen", not a
"Sysgen
current BSP", right?

Once you have done a full Sysgen of the OS, use the SDK tools in
Platform
Builder to create a new SDK, configure it, and generate it. That
creates
an
MSI file, typically in \wince500\pbworkspaces\<your workspace>\sdk.
Install
that and the SDK should show up when you create a new Windows CE
program
in
eVC/Visual Studio.

As to the basic question, you have two choices: you can build your
application with Platform Builder, as a component of the operating
system,
or you can use the *application* development tools, like Visual Studio
and
eMbedded Visual C++ to build the application. Which is right depends
on
what the application does, whether it's required to be built into the
OS,
and how badly you need the nice tools in Visual Studio to work on it.

Paul T.

"San" <San@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D4B217E5-7335-4C7D-984B-E6155D56A202@xxxxxxxxxxxxxxxx
Hi,

I think I'm getting confused...I've created a new Platform on
Windows
CE
5.0. I've added usb drivers (on project.bib file) and after doing
sysgen
and
copy files to release directory I've run makeimg.

I've downloaded the OS image to my device and everything works.

Now I have e new problem...I hvae headre files and, .dll and .lib
libraries
of the SDK of another devices and I have to run it on my CE
device...I
understood that what I had to do is to create a new SDK on my
platform
(adding libraries folders), built it and create a new OS image for
downloading to my CE device...however when I try to make a new
run-time
image
I obtain an error...

I think there is a concept that I'm not understanding...My objetivo
was:
First, make my ce device recognize the other USB device. Second,
download
to
my ce deviced the necessary files to allow a subsequent development
of
connected device interface. Third, integrate an application for it
on
my
CE
device. I don't understand very well the proccess explained on MSDN
library....could you give me a short explanation and tell me where
can
I
learn to do it in the right way?

Thanks in advance!!!









.



Relevant Pages

  • Re: Adding SDK
    ... on Platform Biulder but now I have another one... ... You should see your new SDK platform ... I've built SDK and I've run the .msi file. ... file I can't include it on .bib file as I did with usb drivers! ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Adding SDK
    ... No Platform Builder needed; don't have to build the OS to change your ... I've created the SDK adding libraries and inclide files folders to the ... I've built SDK and I've run the .msi file. ... file I can't include it on .bib file as I did with usb drivers! ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Adding SDK
    ... file I can't include it on .bib file as I did with usb drivers! ... include a program or DLL that is built separately. ... The ability to download files from the Internet? ... Builder to create a new SDK, configure it, and generate it. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Adding SDK
    ... I use the USB downloader for fusing the OS ... include a program or DLL that is built separately. ... The ability to download files from the Internet? ... Once you have done a full Sysgen of the OS, use the SDK tools in Platform ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Adding SDK
    ... attaching to my smdk2440 platform) for wince 5.0 for testing it before ... file I can't include it on .bib file as I did with usb drivers! ... include a program or DLL that is built separately. ... Builder to create a new SDK, configure it, and generate it. ...
    (microsoft.public.windowsce.platbuilder)