Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to build the netsample ipconfig to the exe file?

8 views
Skip to first unread message

Zec

unread,
Jan 5, 2010, 7:25:01 AM1/5/10
to
C:\WINCE500\public\common\oak\drivers\netsamp\ipconfig\ipconfig.cpp

i want to make ipconfig.exe.

and i could found the sample code.

but it source code builded to the lib file.

in ipconfig sources files,

TARGETNAME=ipconfig
TARGETTYPE=LIBRARY

SOURCES= \
$(TARGETNAME).cpp

the project is .lib file. but the source code has a _tmain() funciton in the
source.

it's looks possible to compile to the exe file.

how can it compile to the exe file?

shai

unread,
Jan 5, 2010, 7:42:51 AM1/5/10
to
You can add the SYSGEN_NETUTILS and you will have the ipconfig.exe
integrated to your OS.
Search ipconfig in the catalog.
Otherwise, follow one of the tutorials you can find in Google on how
to port code from the public tree.

Shai

shai

unread,
Jan 5, 2010, 7:43:40 AM1/5/10
to
My answer with the Sysgen variable is valid for Windows CE 6.0. I am
not sure about Windows CE 5.0

Shai

Luca Calligaris [eMVP]

unread,
Jan 5, 2010, 9:06:13 AM1/5/10
to
windows CE build system is a bit complicated: typically executable modules
(both .exe and .dll) are built in two steps: the code is linked to a lib
file then, during the sysgen phase, the .exe or the .dll file is created
(this is a very rough description).

If you do not need to modify the code (otherwise you should clone the code)
you can run 'sysgen -p common ipconfig' from PB command prompt (after you
have set the current path to %_winceroot%\public\common\cesysgen) to have
ipconfig.exe

some useful links:

http://download.microsoft.com/download/9/c/f/9cffaa58-4000-48d6-a4b2-5fed9e4e6410/Chapter%202%20-%20Building%20and%20Deploying%20a%20Run-Time%20Image.pdf

http://msdn.microsoft.com/en-us/library/ms941304.aspx


--
Luca Calligaris (MVP-Windows Embedded)
l.calliga...@eurotech.it.nospam
www.eurotech.it


"Zec" <Z...@discussions.microsoft.com> ha scritto nel messaggio
news:EA6D49CA-BB84-4479...@microsoft.com...

0 new messages