where is wininet.lib coming from?
- From: "J Garcia" <jggarcia@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Jul 2005 10:26:22 -0400
First, the build - we are using PB4.2. we use the wizard to create a
customized configuration using the GEODE BSP as a base. It has a graphical
interface. We select the MFC and C Runtime Libraries options in the wizard.
We also select hive-based registry. After the wizard finishes, we add
support for ATAPI PCI/IDE storage device.
We add two custom device drivers for i/o devices that we build - one is for
generic input output of a keypad and the other is for a DSP board.
This image compiles and downloads fine.
I then create an SDK for this to use in eVC++. In eVC++ I create a new
(generic) MFC application and compile. I get a linker error that it can't
find the wininet.lib file. Everything will work fine if I add the
$(_WINCEROOT)\PUBLIC\IE\OAK\LIB\X86\RETAIL to the libary inclusion directory
listing.
Nowhere in our system do we add support for IE. The only thing I do see
unders "Standard Shell" option support for "Internet Explorer UI component"
and "Pocket Internet Explorer UI component".
1. Why are these added?
2. Even though the above components are added, why doesn't the wininet.lib
file get explicitely added to the SDK? Or is it even needed for those
components?
I will accept that the problem comes from our drivers and the include files
used. For instance, we add windev.h to get the CTL_CODE macro. Which brings
up additional questions as I'm not familiar with header/library file
relations.
1. How are library files associated with header files. That is, when I
include specific header files for code that is included in a library file,
where is the association made to the compiler/linker? Or does the linker
check all libraries to find the module.
2. What header files would force a required wininet.lib?
3. When we include the windev.h file in an application, the file is missing
unless we specify the include path. How do we "force" the SDK to include
header files that we are using in our custom drivers?
thanks in advance
.
- Follow-Ups:
- Re: where is wininet.lib coming from?
- From: Paul G. Tobey [eMVP]
- Re: where is wininet.lib coming from?
- Prev by Date: Re: Video driver question.
- Next by Date: Re: ActiveSync on serial port
- Previous by thread: CE.NET NIC ordering
- Next by thread: Re: where is wininet.lib coming from?
- Index(es):
Relevant Pages
|