Re: custom version of GIISR problem



Well, it has to be in a BIB file to be 'in' nk.bin. What BIB file you put
it in can vary with your setup. You might make a project for it and put it
there, or you might add it to project.bib, if that makes sense, or
platform.bib (which probably makes more sense than the project.bib), etc.

Paul T.

"Joe Welfeld" <jwelfeldnospam@xxxxxxxxxxxxx> wrote in message
news:e%23Ytq6ruIHA.576@xxxxxxxxxxxxxxxxxxxxxxx

I just noticed a debug message on the kitl version that it is loading the
dll from my pc

RELFSD: Opening file USBFISR.DLL from desktop

do I need to make a bib entry fo this file ? or is there some other way
to include it in the build ?

thanks,




"Joe Welfeld" <jwelfeldnospam@xxxxxxxxxxxxx> wrote in message
news:u7Xzh4ruIHA.5268@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I created my own version of GIISR called it USBFISR I needed to do this
because my usb device had 2 independent interrupt registers that I need
to test so I just created my own version renamed it, built it and run
my application. When I run a debug build it loads and works just fine.
When I run as a release version with Kitl enabled it runs but when I
remove kitl from my settings it fails to find and load my dll

the error occurs at

// Install an ISR, if present
if (isri.szIsrDll[0] != 0) {
pContext->hISRHandler = LoadIntChainHandler(isri.szIsrDll,
isri.szIsrHandler,
(BYTE) isri.dwIrq);

if (pContext->hISRHandler == NULL) {
dwRet = GetLastError();
RETAILMSG(1, (_T("%s Error installing ISR %s handler %s. Error
= %d\r\n"),
pszFname,isri.szIsrDll, isri.szIsrHandler, dwRet));
goto EXIT;
}

here is the error message printed out:

Error installing ISR USBFISR.DLL handler MYISRHandler. Error = 126

Error 126 is module not found.

the DLL is in the release directory( it is being built), but what am I
not doing to include it in the release build ? and or why is it it
included in the debug build ?

I call for it in my usb registry entry

"IsrDll"="USBFISR.DLL" ; JOEW created my own isr handler
"IsrHandler"="MYISRHandler" ; JOEW


Thanks,

Joe W.







.



Relevant Pages

  • Re: Help Adding Apps to CE 6.0 OS Design
    ... the OS design - so that I can then debug not only the app, ... You can do application debug ... .dlls, do I need to add the libs and dlls used by my app to the MODULES ... be in the OS via the BIB file or b) copied to the device in some way before ...
    (microsoft.public.windowsce.app.development)
  • Re: What is the difference between the release mode and debug mode romimage?
    ... I have modified bib file to insert my dll into the booting image. ... In debug mode, viewbin tool shows my dll file is included well inside ... Is there any configuration options or difference between the debug mode ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Hive-based Registry / release image / boot fails
    ... There are 2 classic cases of why things fail in retail but work in debug: ... Missing modules from the BIB file so the system can't find a file in ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.platbuilder)
  • Re: custom version of GIISR problem
    ... I just noticed a debug message on the kitl version that it is loading the ... Opening file USBFISR.DLL from desktop ... When I run a debug build it loads and works just fine. ... kitl from my settings it fails to find and load my dll ...
    (microsoft.public.windowsce.platbuilder)
  • Re: custom version of GIISR problem
    ... I thought I added it because the debug worked I didn't ... When I run as a release version with Kitl enabled it runs but when I ... remove kitl from my settings it fails to find and load my dll ... Error installing ISR USBFISR.DLL handler MYISRHandler. ...
    (microsoft.public.windowsce.platbuilder)