Re: custom version of GIISR problem
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Tue, 20 May 2008 14:28:48 -0700
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.
.
- Follow-Ups:
- Re: custom version of GIISR problem
- From: Joe Welfeld
- Re: custom version of GIISR problem
- References:
- custom version of GIISR problem
- From: Joe Welfeld
- Re: custom version of GIISR problem
- From: Joe Welfeld
- custom version of GIISR problem
- Prev by Date: Re: custom version of GIISR problem
- Next by Date: Re: Error 4309 returned when writing files
- Previous by thread: Re: custom version of GIISR problem
- Next by thread: Re: custom version of GIISR problem
- Index(es):
Relevant Pages
|