Re: Adding a dll to Image

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




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
.



Relevant Pages

  • Re: SDSynchronousBusRequest taking long time
    ... Instead copy SDCARD tree to your platform ... While sdbus driver is a true ... compile my dll. ... > card and load the driver dll. ...
    (microsoft.public.windowsce.embedded)
  • RE: [UPDATED PATCH] EFI support for ia32 kernels
    ... >> reuse a single driver image for multiple architectures assuming there ... As one of the people responsible for the EFI Specification and our ... Perhaps the UNDI network card interface that Intel developed ... BIOS can't shadow that much ROM code. ...
    (Linux-Kernel)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... >> because, originally, video cards / system RAM could NOT afford to have ... > GL actually "copies" everything, but it's done by the graphics card, so ... > anyway if it's not hardware accelerated. ... installed the proper driver, then it zooms around the screen... ...
    (alt.lang.asm)
  • Re: XXX_Init only being called once
    ... > My stream interface driver has been stripped right back to try to solve ... > I plug my card in the first time. ... > There are two new active keys in the registry PCMCIA and myDriver. ... > No entry points are called in my driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB 2.0 All-in-1 card reader cant switch cards without unplugging
    ... On other ones I've used a drive letter shows ... as if the original card is still inserted. ... can have a unique identity for driver installation ... USB hard drive enclosure is detected. ...
    (microsoft.public.windowsxp.hardware)