This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C5AD47.DBA39020
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear all,


Can anyone tell me how to find the offset[driver.dll+0x00002538] in my =
c/c++ code of a driver ?


Exception 002 Thread=3D87d9b028 Proc=3D07e83cb2 'device.exe'
AKY=3Dffffffff PC=3D02b82538(driver.dll+0x00002538) =
RA=3D02b824f4(driver.dll+0x000024f4) BVA=3D00000013


Any input is welcome.

Warm regards,
Sajid

------=_NextPart_000_0013_01C5AD47.DBA39020
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Dear all,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Can anyone tell me how to find the=20
offset[driver.dll+0x00002538] in my c/c++ code of a driver =
?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Exception 002 Thread=3D87d9b028 Proc=3D07e83cb2=20
'device.exe'<BR>AKY=3Dffffffff PC=3D02b82538(driver.dll+0x00002538)=20
RA=3D02b824f4(driver.dll+0x000024f4) BVA=3D00000013</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any input is welcome.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Warm regards,</FONT></DIV>
<DIV><FONT size=3D2>Sajid</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0013_01C5AD47.DBA39020--

Re: Debugging by Yannick

Yannick
Tue Aug 30 00:51:48 CDT 2005

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C5AD37.ACA24790
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

look at the map file which indicates the mapping of the various =
functions of your dll.

--=20
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
T=E9l : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"sajid" <sajid@discussions.microsoft.com> a =E9crit dans le message de =
news: ua1tDnRrFHA.1032@TK2MSFTNGP12.phx.gbl...
Dear all,


Can anyone tell me how to find the offset[driver.dll+0x00002538] in my =
c/c++ code of a driver ?


Exception 002 Thread=3D87d9b028 Proc=3D07e83cb2 'device.exe'
AKY=3Dffffffff PC=3D02b82538(driver.dll+0x00002538) =
RA=3D02b824f4(driver.dll+0x000024f4) BVA=3D00000013


Any input is welcome.

Warm regards,
Sajid

------=_NextPart_000_0008_01C5AD37.ACA24790
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2722" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>look at the map file which indicates =
the mapping of=20
the various functions of your dll.</FONT></DIV>
<DIV><BR>--=20
<BR>----------------------------------------------------------------<BR>Y=
annick=20
Chamming's (eMVP)<BR>ADENEO (ADESET)<BR>Windows Embedded =
Manager<BR>ychammings=20
AT adeset DOT com&gt;<BR><A=20
href=3D"http://www.adeset.com">http://www.adeset.com</A><BR>T=E9l&nbsp; =
: +33=20
(0)4.72.18.57.77<BR>Fax : +33=20
(0)4.72.18.57.78<BR>-----------------------------------------------------=
-----------<BR></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"sajid" &lt;<A=20
=
href=3D"mailto:sajid@discussions.microsoft.com">sajid@discussions.microso=
ft.com</A>&gt;=20
a =E9crit dans le message de news: <A=20
=
href=3D"mailto:ua1tDnRrFHA.1032@TK2MSFTNGP12.phx.gbl">ua1tDnRrFHA.1032@TK=
2MSFTNGP12.phx.gbl</A>...</DIV>
<DIV><FONT size=3D2>Dear all,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Can anyone tell me how to find the=20
offset[driver.dll+0x00002538] in my c/c++ code of a driver =
?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Exception 002 Thread=3D87d9b028 Proc=3D07e83cb2=20
'device.exe'<BR>AKY=3Dffffffff PC=3D02b82538(driver.dll+0x00002538)=20
RA=3D02b824f4(driver.dll+0x000024f4) BVA=3D00000013</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any input is welcome.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Warm regards,</FONT></DIV>
<DIV><FONT size=3D2>Sajid</FONT></DIV>
<DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0008_01C5AD37.ACA24790--


Re: Debugging by Bruce

Bruce
Tue Aug 30 07:28:11 CDT 2005

In the map file (driver.map) you will find the base addresses of functions
in your driver. Find the function that would contain that offset, subtract
the base address of the function to get the (Driver.dll+Function offset+line
offset)

Then if you set WINCECOD=1 you will have a COD file in your obj folder. You
can then look for the function and find line offset.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"Yannick Chamming's [eMVP]" <ychammings_nospam@adeset.com> wrote in message
news:enAtqbSrFHA.1132@TK2MSFTNGP10.phx.gbl...
look at the map file which indicates the mapping of the various functions of
your dll.

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"sajid" <sajid@discussions.microsoft.com> a écrit dans le message de news:
ua1tDnRrFHA.1032@TK2MSFTNGP12.phx.gbl...
Dear all,


Can anyone tell me how to find the offset[driver.dll+0x00002538] in my c/c++
code of a driver ?


Exception 002 Thread=87d9b028 Proc=07e83cb2 'device.exe'
AKY=ffffffff PC=02b82538(driver.dll+0x00002538)
RA=02b824f4(driver.dll+0x000024f4) BVA=00000013


Any input is welcome.

Warm regards,
Sajid



Re: Debugging by sajid

sajid
Wed Aug 31 04:20:25 CDT 2005

Dear Yannick/Bruce,

Thank you for your replies.
One of my friend too informed me about Sue Loh's Blog, Where I found the
detailed procedure for the same.
Link: http://blogs.msdn.com/sloh/archive/2005/02.aspx
Under topic: Figuring out what source line it is

Warm regrads,
Sajid


"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:OzKhK5VrFHA.2596@TK2MSFTNGP09.phx.gbl...
> In the map file (driver.map) you will find the base addresses of functions
> in your driver. Find the function that would contain that offset,
subtract
> the base address of the function to get the (Driver.dll+Function
offset+line
> offset)
>
> Then if you set WINCECOD=1 you will have a COD file in your obj folder.
You
> can then look for the function and find line offset.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "Yannick Chamming's [eMVP]" <ychammings_nospam@adeset.com> wrote in
message
> news:enAtqbSrFHA.1132@TK2MSFTNGP10.phx.gbl...
> look at the map file which indicates the mapping of the various functions
of
> your dll.
>
> --
> ----------------------------------------------------------------
> Yannick Chamming's (eMVP)
> ADENEO (ADESET)
> Windows Embedded Manager
> ychammings AT adeset DOT com>
> http://www.adeset.com
> Tél : +33 (0)4.72.18.57.77
> Fax : +33 (0)4.72.18.57.78
> ----------------------------------------------------------------
>
> "sajid" <sajid@discussions.microsoft.com> a écrit dans le message de news:
> ua1tDnRrFHA.1032@TK2MSFTNGP12.phx.gbl...
> Dear all,
>
>
> Can anyone tell me how to find the offset[driver.dll+0x00002538] in my
c/c++
> code of a driver ?
>
>
> Exception 002 Thread=87d9b028 Proc=07e83cb2 'device.exe'
> AKY=ffffffff PC=02b82538(driver.dll+0x00002538)
> RA=02b824f4(driver.dll+0x000024f4) BVA=00000013
>
>
> Any input is welcome.
>
> Warm regards,
> Sajid
>
>