Re: Adding a dll to Image
- From: voidcoder <voidcoder@xxxxxxxxx>
- Date: Tue, 20 Feb 2007 09:28:54 +0100
The fact that NE2000 driver is included doesn't necessarily
mean that it is loaded. The PCMCIA cards are enumerated
and the corresponding drivers are loaded the time card
is inserted/detected so you don't have to worry about it
if you don't have PCMCIA or NE2K compatible PCMCIA cards
plugged in.
Anyway, you can get rid of the NE2K PCMCIA cards detection
if it is easier for you. Just add the following lines to
your Platform.reg:
[-HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\NE2000A]
[-HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\NE2000B]
[-HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\NE2000C]
[-HKEY_LOCAL_MACHINE\Drivers\PCMCIA\Detect\60]
Shabbir wrote:
I have done what you said but PB includes NE 2000 (PCMCIA ) driver by default and i guess there is a conflict of some sorts as i can not set up a network connection in CE 5.0 ..
If i try to remove NE 2000 driver it gives dependency as Wired LAN component shown in Communications and services .
How do i proceed and get my Intel PRo 100 89558B card running
"voidcoder" wrote:
You don't touch config.bib at all, you only reference it
in your platform.bib (or project.bib, but it is a part
of your platform so it is better to use platform.bib)
under MODULES section:
MOUDLES
<Name>.dll <Full path>\<Name>.dll NK SH
Next you goto Platform.reg and add something like
this example:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\NE2000]
"Dll"="NDIS.dll"
"Class"=dword:02
"SubClass"=dword:00
"ProgIF"=dword:0
"VendorID"=multi_sz:"10ec","1050"
"DeviceID"=multi_sz:"8029","0940"
"Prefix"="NDS"
"Transceiver"=dword:3
This part is platform/card specific and depends on
the bus type, card, etc. Normally there should be a
*.reg file coming with the driver. If you have one,
just include it using "#include" statement. Otherwise
you are about to spend some time to define card
entries manually.
Also a lot of cards are recognized by default, you may
want to look through the Common.reg to see if your card
is not on the list.
Next you define linkage and specify IP config:
[HKEY_LOCAL_MACHINE\Comm\NE2000\Linkage]
"Route"=multi_sz:"NE20001"
[HKEY_LOCAL_MACHINE\Comm\PCI\NE20001\Parms\TcpIp]
"EnableDHCP"=dword:0
"DefaultGateway"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="XXX.XXX.XXX.XXX"
"Subnetmask"="XXX.XXX.XXX.XXX"
Shabbir wrote:I am using an Intel PRo 100 Ethernet Card and have downloaded the dll for it. Could anyone tell me how to register that dll with OS as default overriding other network dll's and how to include the dll in OS design.
Hopw should config.bib and project.bib be modified ???
Regards,
Shabbir
- References:
- Re: Adding a dll to Image
- From: voidcoder
- Re: Adding a dll to Image
- From: Shabbir
- Re: Adding a dll to Image
- Prev by Date: Re: IISR mechanism in WinCE 6.0
- Next by Date: Re: touch screen test code
- Previous by thread: Re: Adding a dll to Image
- Next by thread: Re: Adding a dll to Image
- Index(es):
Relevant Pages
|