how to build the netsample ipconfig to the exe file?

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?
0
Utf
1/5/2010 12:25:01 PM
windowsce.platbuilder 744 articles. 0 followers. Follow

3 Replies
1787 Views

Similar Articles

[PageSpeed] 56

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

On Jan 5, 2:25=A0pm, Zec <Z...@discussions.microsoft.com> wrote:
> 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=3Dipconfig
> TARGETTYPE=3DLIBRARY
>
> SOURCES=3D \
> =A0 =A0 $(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?

0
shai
1/5/2010 12:42:51 PM
My answer with the Sysgen variable is valid for Windows CE 6.0. I am
not sure about Windows CE 5.0

Shai

On Jan 5, 2:42=A0pm, shai <sha...@gmail.com> wrote:
> 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
>
> On Jan 5, 2:25=A0pm, Zec <Z...@discussions.microsoft.com> wrote:
>
> > 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=3Dipconfig
> > TARGETTYPE=3DLIBRARY
>
> > SOURCES=3D \
> > =A0 =A0 $(TARGETNAME).cpp
>
> > the project is .lib file. but the source code has a _tmain() funciton i=
n the
> > source.
>
> > it's looks possible to compile to the exe file.
>
> > how can it compile to the exe file?

0
shai
1/5/2010 12:43:40 PM
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.calligaris.nospam@eurotech.it.nospam
www.eurotech.it


"Zec" <Zec@discussions.microsoft.com> ha scritto nel messaggio 
news:EA6D49CA-BB84-4479-85F3-16322AA80DB4@microsoft.com...
> 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? 


0
Luca
1/5/2010 2:06:13 PM
Reply:

Similar Artilces:

Outlook 2000 Attachment file associations
I have searched expecting to find this problem resolved but maybe my search technique is not so hot. Anyway I have very recently re-installed Office 2000 & now I can't open even simple ".jpg" attachments sent via email in Outlook 2000 . I get a message saying there is no file association & I should create one by double clicking on "My Computer" on my Desktop etc ................ The problem is I do not have a "MY Computer" icon on my desktop, or start menu options. I expected to be able to follow the instructions by double clicking on My Copmuter in E...

How to Export VBA Code to a text file
Howdy. Is there a built-in function for exporting ALL VBA code in a database to a text file? I can do it for each VBA object - form, report, and module - but this takes a long time. Thanks. Danny Not a built-in function, but it's pretty easy to write code to do it. See, for example, http://www.vb123.com/kb/200502_ds_saveas.htm -- Doug Steele, Microsoft Access MVP http://www.AccessMVP.com/DJSteele Co-author: Access 2010 Solutions, published by Wiley (no e-mails, please!) "Danny" <Danny@discussions.microsoft.com> wrote in message news:BC54AA01-7...

Outlook.exe has generated errors and will be closed and will need
Hi: First time poster, long time outlook user. Running Office 2000. Recently experiencing the error above. Have tried a few online fixes, Scanpst, renaming PSt files, reloading Outlook. Stuck and looking for advice. Would rather not lose my old info, email, contacts, but would be happier to have outlook back online. Any help appreciated. Have you tried creating a new Outlook profile? -- -Ben- Ben M. Schorr, MVP Roland Schorr & Tower http://www.rolandschorr.com http://www.officeforlawyers.com/outlook.htm Author: The Lawyer's Guide to Microsoft Outlook...

Outlook.exe has generated errors and will be closed by windows
Hello, I have a problem on a W2k pro machine sp4 with Outlook 2000 sp 3 installed that matches the symptoms of this KB article http://support.microsoft.com/default.aspx?scid=kb;en-us;297010 SYMPTOMS After you are logged in to Outlook 2000 for a short period of time, the following error message may appear: OUTLOOK.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created. Its a corporate workgroup setting with an exchange 2000 server. I have followed the instructions and recreated the profile, I have tried the /safe command, a...

Corrupted pst files #2
Hi, My outlook 2003 file is corrupted, it says when i try to open it "unable to open because it's not a personal file folders" I ran scanpst.exe, it detected an error and said that the file is repaired. but still i cannot open it. i downloaded a tool Outlook Recovery, it works but it's a demo version. Does anyone knows a free tool that allow me to recover my Emails, Please it's urgent... WaJo <wajoum@gmail.com> wrote in message news:1140273099.291551.97380@g14g2000cwa.googlegroups.com... > Hi, > > My outlook 2003 file is corrupted, it says wh...

remote desktop and outlook pst file problem
Outlook profile is set up as a roaming profile. When connecting using terminal services or Remote desktop in XP, the message when opening outlook is: [message header = Personal Folders] The information service has not been configured. Select an existing file to configure or type the name of a new file to create. It then asks for the location or the name of the PST file. Thanks in advance. Martin ...

Copying sheets from one file to another and keeping the formulas..
I maintain excel sheets that are used as forms that we have clients fill out to select options. The way we are set up is thus. You have a Collection... about 10 of them actually, and underneath them are SUB collections we call Elevations. Now.. the sheets we use are pretty universal, if there's a sheet for one collection.. there's a different version of that same sheet if not the same exact sheet in the other collections. To keep from having to retype or edit all of the formulas i have in them that point to other sheets in that file (ie. a file named "VillasCFP.xls&qu...

I'm looking to put outlook files from my pc to my laptop for work
I have a home pc that I use for work and a laptop I also bring to work in my vehicle. I want access to my e-mail that I bring in through Outlook on both. How do I transfer the Files from one to the other? Plumbvz <Plumbvz@discussions.microsoft.com> wrote: > I have a home pc that I use for work and a laptop I also bring to > work in my vehicle. I want access to my e-mail that I bring in > through Outlook on both. How do I transfer the Files from one to the > other? http://www.slipstick.com/outlook/sync.htm http://www.howto-outlook.com/howto/backupandrestore.htm -- Bri...

Outlook and Offline Files
I have a wireless network set up in my home. I have a desktop and a laptop connected to it. My .pst file resides on my desktop. I have set up Offline Files on my laptop so that I can access my desktop .pst and make the file available on the laptop if I'm out of range with the laptop or not connected to the network. However, when I'm not connected to the network, and I try to run Outlook on the laptop, Outlook gives me an error saying it can't connect to the .pst on the desktop and then closes down. It doesn't give me the option to work offline with the Offline File ...

backing up outlook files #3
trying to backup my contacts from outlook 2003. My OS has to be reinstalled and I'm trying to save some files. Unless I'm missing something, I can't find the tools to do this. Any help out there? File-> Import and Export...-> Export to a file-> choose pst-file To back-up all mail data copy your current pst-file; Make sure you include hidden and system files and folders when searching for pst-file. By default it is located in C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook\ You can also locate the file by using Rightclick the r...

What files do I need to copy for new computer???
I just purchased a new computer and was wondering what Outlook files I need to copy and transfer to the new machine. I would like to capture all e-mail messages, contacts, and calendar events. Also, how do I keep these in their corresponding folders? Thanks! If you re-use your .PST file, you'll keep all the data (messages, appointments, contacts, etc.) just as it was before. Look here for all the information you need on backup and restoration of Outlook data: http://www.slipstick.com/config/backup.htm -- Jocelyn Fiorello MVP - Outlook *** Replies sent to my e-mail address will...

password controlled files
Background - A colleague of mine died and his wife is trying to recover files in Excel for his Tax etc (in Switzerland) - she i saverage user capable - he password protected all his files and she does not know how to proceed. Request - any advice on procedures, contacts or services that would help her or a company representative in Switzerland to open these files and get data to a non protected version so probate can be processed. i am deliberately not asking for detailed answers for security reasons - if there is a simple procedure please post back to me to be followed up outside o...

Import data from DBF files
What's the best way to import a large dbf file into Access (records from a DBase file)? I have one dbf that has over 220,000 records in it. It gets to about 75% and says "The search key was not found in any record." Everything is patched to the max (Windows, Office, Jet, etc). This doesn't happen with any other dbf file, but they are all smaller. Also, oddly, I can copy and paste 50,000 records in a shot and paste them through a query, but I don't want to keep doing that for every large dbf I have. The Access tables have no problem holding the data, just transf...

excel not opening up files
Excel - won't open with double click, must open Excel then browse for document? as well when i recive excel documents in outlook i try to double click on them but i get the same result excel opens but i just get a blank screen no work sheet but the menu is up on the screen this is excel 2002 sp3 .. this just starting happening to one user about 3 days ago and now i have 2 more users that have the same issue . the excel files are assioated with excel . no issues there . when i double click them no issues .. or if they come in via e-mail .. if i forward the e-mail to myself i can open t...

How shall I get access to mails I have placed on the correspondence file
2007.03.05,10:10 EUST Hi I use Outlook 2000. I have placed a lot of mails on the correspondence file. I hope I express myself correct. I started with one Outlook panel named "personal field". In this field I had Inbox, calendar, rough copy, ..... . I did something ( I can't remember what) and suddenly I got two "personal fields" and today I have three "personal fields". Simultaneously all my mails disappeared. And my address book disappeared. If I go to C:\WINDOWS\Local setting\Programs\Microsoft\Outlook I find the files archive.pst (292 MB), rough copy.dbx (...

Can I insert a swf file or any flash file to Publisher design?
Can I insert a swf file or any flash file to Publisher design? And how will the ink move? "Mr_M" <Mr_M@discussions.microsoft.com> wrote in message news:42C848E5-FD1D-4085-A1E3-4CD0D5C81374@microsoft.com... | Can I insert a swf file or any flash file to Publisher design? Only if you plan to incorporate the .swf into a web page. -- Mary Sauer MSFT MVP http://office.microsoft.com/ http://msauer.mvps.org/ news://msnews.microsoft.com http://officebeta.iponet.net/en-us/publisher/FX100649111033.aspx "Mr_M" <Mr_M@discussions.microsoft.com> wrote in message ...

PST file too large.
I'm getting a message when I move emails from one folder to another folder. I'ts something about the pst file being to large. My pst is 2gb in size. See http://www.slipstick.com/problems/repair2gbpst.htm=20 --=20 Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for=20 Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx =20 "Damien" <no@emailplease.com> wrote in message = news:ljqIg.75694$1Q6.58204@...

Windows cannot find file message
I have a strange problem when I try to open an Excel file from My Computer or Windows Explorer. I get an error message to the effect that "Windows cannot find the file c:\book1.xls' ,etc. etc. although the file definitey exists. Not too sure what I've done, but any help fixing this problem would be most gratefully received. One possibility is that the file is nested too deep in the filing system. There is a limit to the number of characters that can be used for a file path. For Excel I thing this is about 234; for Windows it is more. See if the name given in the "ca...

Moving Outlook to another PC, and moving data files to another location
Outlook 2003/SP2, XP Pro/SP2. I've copied my Outlook installation to a second computer using Microsoft Files & Settings Transfer Wizard. Aside from losing account passwords along the way (intentionally I guess) it all seemed to work, surprisingly. Then, with Outlook closed down, I've manually moved the data files (I prefer to keep them on a separate drive as part of my disaster recovery system / backup regime), and pointed Outlook at the new location when prompted. So far as I know this is the recommended method for relocating data files. Outlook is working fine in its'...

Deleting temp files
I recently deleted some 2,000+ files from my Windows\Temp folder. I remember - back in my Windows 2000 days - I set up a batch file that executed on boot-up from the Start-up folder that deleted such files. What would the equivalent procedure be for Vista Home Premium (64-bit)? Am I able to duplicate that former procedure? Are there other temp files that are created that I should be aware of for deleting purposes? If I am unable to locate that former batch file, what is the appropriate command line for deletions? Gordon Biggar Houston, Texas Try downloading - CCLEAN...

Integrating file\folder
Is it possible to integrate the file/folder browser into an Access 2003 form? I can show the file dialog with code, but I'd like to stay on the form. -- Peter Please Reply to Newsgroup for the benefit of others Requests for assistance by email can not and will not be acknowledged. Sure Initiate the browse from a command button and store the resulting selection in a text box on the form Regards Kevin "Peter Foldes" <okf22@hotmail.com> wrote in message news:uhwEN3vaKHA.3668@TK2MSFTNGP06.phx.gbl... > Is it possible to integrate the file/folde...

Outlook Express and receiving Adobe pdf files
I have Microsoft Outlook Express 6.0 I have been sent emails containing Adobe pdf attachments recently. When I go to the paperclip to open them the "filename".pdf and "save" are greyed out. I have Norton Internet Security 2004, just installed. Before that I used Norton Antivirus 2003. The problem is the same for both of them. When I download .pdf's from web pages, I do not have a problem which suggests it is Outlook Express. Any suggestions please? george sampson <anonymous@discussions.microsoft.com> wrote: > I have Microsoft Outlook Express 6.0 >...

'xxxxx' data in SOP, POP files
GP Version 9, running on SQL 2000 w/Nolan Advanced SOP, Myridas Intersite, Myridas Vendor Pricing, GP Manufacturing We have 10 GP companies. Last week, 2 of the companies had a couple of Sales Order Headers and Purchase Order headers where all of the character data was 'xxxx' and all of the numeric data was '999. Some of the orders had detail lines with the same kind of data. The SOP headers had SOP_TYPE = 7 and 8. The data looks suspiciously like the data used for alignment or what appears when you do a print preview in GP report writer. Can anyone shed light on this even...

How do I make a web query file to download stock data?
I just got Excel and would like some help in making a file which would enable me to download some info from the stock market i.e. option prices. I would greatly appreciate any help anybody can give me. Thanks. Go here and look for many free files including a couple of mine (author donalb36) http://tech.groups.yahoo.com/group/xltraders/ -- Don Guillett Microsoft MVP Excel SalesAid Software dguillett1@austin.rr.com "Samie" <Samie@discussions.microsoft.com> wrote in message news:34BF3828-3C7A-426C-9299-6C246163B4EF@microsoft.com... > I just got Excel and would like some...

How to use CFtpFileFind to search a file which contains space in its file path?
How to use CFtpFileFind to search a file which contains space in its file path? For example, suppose that the file path is "/a b/a.txt;how to use CFtpFileFind to search it and make sure the result returns as true? The reason that I am asking this question is that the search result for a file that contains space in its file path always returns as false even I do know the file exits. I do not know the reasons. Is there anyone who had the same experience? Any comments will be highly appreciated. By the way, the searching environment is vc.net ,win2000 professional. ...