[simpits-tech] Reverse engineering a Win32 DLL

Wiebe, Alex simpits-tech@simpits.org
Tue, 12 Mar 2002 23:18:18 -0600


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1CA4E.7C3B1070
Content-Type: text/plain

Scott Edwards has a DLL available for downloading
(http://www.seetron.com/sscdll.zip) that sounds like it can drive the servos
better then my code. Only problem, he doesn't include a .LIB or .H file to
use it with C/C++. He provides a VB sample, however, I do not have VB
installed, and have invested much time and effort into my C++ code (which by
the way I've added to my site for people to grab).

I'm trying to figure out a way to use the .dll with C++. Somehow I need to
use the right combination of dumpbin, lib, and a .def file to create the
.lib file that will allow me to link against his library, but so far I'm
stumped.

Anybody done this before?

------_=_NextPart_001_01C1CA4E.7C3B1070
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Reverse engineering a Win32 DLL</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Scott Edwards has a DLL available for downloading (<A =
HREF=3D"http://www.seetron.com/sscdll.zip" =
TARGET=3D"_blank">http://www.seetron.com/sscdll.zip</A>) that sounds =
like it can drive the servos better then my code. Only problem, he =
doesn't include a .LIB or .H file to use it with C/C++. He provides a =
VB sample, however, I do not have VB installed, and have invested much =
time and effort into my C++ code (which by the way I've added to my =
site for people to grab).</FONT></P>

<P><FONT SIZE=3D2>I'm trying to figure out a way to use the .dll with =
C++. Somehow I need to use the right combination of dumpbin, lib, and a =
.def file to create the .lib file that will allow me to link against =
his library, but so far I'm stumped.</FONT></P>

<P><FONT SIZE=3D2>Anybody done this before?</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1CA4E.7C3B1070--