Can't link nk.lib and coredll.lib in kern.exe

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all,

I am using WinCE 5, for creating an settopbox. In the OAL I want to adjust
the OALArgsQuery(OAL_ARGS_QUERY_DEVID) so that the mac address of the device
is returned to the calling function. In this case OALIoCtlHalGetDeviceId( ),
this is needed for DRM to work.

In OALArgsQuery(OAL_ARGS_QUERY_DEVID), I use the
DeviceIOControl(OID_802_3_CURRENT_ADDRESS) to get the current mac address of
the device. The function DeviceIOControl uses Coredll.lib, so I link this
library in the source of kern.exe, but NK.lib is already linked here, and
there are dubble methodcalls in the library's so I use /FORCE:MULTIPLE. This
generates several warnings, but the image builds. But when I run the image,
it does nothing. It won't boot. So I have a couple of questions about that.

Q1) Is it possible to link the two library's in the same source? If so how?
Q2) Is there another way to retrieve the current mac address? I have already
tried GetAdaptersInfo, but that doesn't work either.

Michel van Geffen
Student at the Avans University of Professional Education
.



Relevant Pages

  • Re: Cant link nk.lib and coredll.lib in kern.exe
    ... It doesn't make sense to link with coredll in the kernel, ... architecture changes and if I'm thinking correctly, you should be able to do ... hardware directly from the OAL and get the MAC address. ... is returned to the calling function. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Inserting Picture in Microsoft Word 7
    ... C29B326C.2BD36%REMOVETHISoffice@xxxxxxxxxxxxxxxxxxxxxxxxx, "Clive Huggan" ... Although there are several people here who are experts in both Mac and PC, ... can I adjust the size etc. ... there something I can do to view in print layout and then be able to adjust ...
    (microsoft.public.mac.office.word)
  • Re: Print colors are wrong (when compared to printing from a pc)
    ... whereas my business partner is using a Mac. ... Both of us are using Office 2003, and both of us are using the latest Xerox postscript printer driver for this specific model printer. ... They are *different* The color temperature used is different though when setting up your Monitor ... It allows you to adjust hue, saturation, tint and other items you may need to play with the settings then you should be able to adjust so that they can look alike or as close to alike as possible. ...
    (microsoft.public.mac.office.word)
  • Adjusting Leader Lines in Pie Charts
    ... Operating System: Mac OS X 10.5 (Leopard) ... Is there a way to adjust the length of the horizontal line of a Leader Line for a label? ...
    (microsoft.public.mac.office.excel)
  • Re: Ripping Vinyl?
    ... split tracks for you as you go, and it's easy to adjust the level ... What you need for a Mac -- and just about ALL you need for capturing sound on a Mac -- is Audio Hijack Pro. ...
    (rec.music.makers.guitar.acoustic)