Libsmi into a Library

Hi,
I have libsmi-0.2.16 on my Win NT platform. I was able to create the smi.lib and other .exe by running nmake under libsmi-0.2.16/win.
Now, I do not want to create smidump.exe, but I want to create a whole Library which should hold all the .objs of LIBSMIOBJS and SMIDUMPOBJS form makefile So that instaed of calling smidump.exe, I can make calls to functions like initIdentifiers() or initImports() etcc. from my code.
Will you just let me know if this is possible or not ? If so what is that I have got to do ?
Thanks & regards, Amit Save
"Gravity cannot be held responsible for people falling in love." -- Albert Einstein

Hi!
Amit> I have libsmi-0.2.16 on my Win NT platform. Amit> I was able to create the smi.lib and other .exe by running nmake under Amit> libsmi-0.2.16/win.
Amit> Now, I do not want to create smidump.exe, but I want to create a Amit> whole Library which should hold all the .objs of LIBSMIOBJS and Amit> SMIDUMPOBJS form makefile So that instaed of calling Amit> smidump.exe, I can make calls to functions like Amit> initIdentifiers() or initImports() etcc. from my code.
There are no functions like initIdentifiers() or initImports() in the library. Don't look in the tools/ directory for library code. All API functions start with the `smi' prefix, e.g. smiInit(), and are declared in lib/smi.h and documented in the section 3 man pages (in case you are able to read man pages on any system).
-frank

On Tue, Jan 22, 2002 at 04:45:28PM +0100, Frank Strauss wrote:
All API functions start with the `smi' prefix, e.g. smiInit(), and are declared in lib/smi.h and documented in the section 3 man pages (in case you are able to read man pages on any system).
You can read html versions of the man pages at http://www.ibr.cs.tu-bs.de/projects/libsmi/doc.html . These versions should be quite recent.
Torsten

Hi!
All API functions start with the `smi' prefix, e.g. smiInit(), and are declared in lib/smi.h and documented in the section 3 man pages (in case you are able to read man pages on any system).
Torsten> You can read html versions of the man pages at Torsten> http://www.ibr.cs.tu-bs.de/projects/libsmi/doc.html Torsten> . These versions should be quite recent.
Ach ja. ;-)
-frank
participants (3)
-
Frank Strauss
-
Save, Amit Prabhakar (Amit)
-
Torsten Klie