Re: Encrypt/ Decrypt in NdisIM with Ethernet

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



It's hard for me. Because every time, when I break the debug to enter some
command, I can't continue debug, every commands have no effect, the target
computer is hung. Do I have some wrong config?

And this problem, I solved it. But new problem appears now, at the latter
post as below:

int ModPower(bas,mod,pow,res)
{
unsigned short in i,a,b;
...[snip] //Just init variables here

for (i=a,i>=b;i++)
{
DbgPrint("i=%d\n",i);
...[snip] // Do something here but don't change i
}

and then, when I see the debug in windbg:
At the first loop , it's correct:
i=31
But at the second loop, I hope it is i=30, the result is
i=22583

always this number. I considered my code carefully, but still don't
understand.
Could you help me, show me why it happens?


"Alireza Dabagh [MS]" wrote:

> Please post the output of kb and !analyze -v
>
> -ali
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Hien Nguyen" <thuchien@xxxxxxxxx> wrote in message
> news:F9DCA91A-CF03-413F-942F-1BF8556E929E@xxxxxxxxxxxxxxxx
> >
> > Thank you very very much for your support, I had try to change the code
> > and
> > data to make it smaller, and the driver work more a bit. But now I meet
> > the
> > following bug:
> >
> > *** Fatal System Error: 0x000000d1
> > (0x1675B35C,0x00000002,0x00000000,0xF6ED231A)
> > Break instruction exception - code 80000003 (first chance)
> > A fatal system error has occurred.
> > Debugger entered on first try; Bugcheck callbacks have not been invoked.
> > A fatal system error has occurred.
> >
> > What is wrong here? And again, how to solve it?
> > Thank you a lot.
>
>
>
.


Quantcast