The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: D.F. on November 08, 2009, 01:57:07 AM

Title: Get the newest include&lib files for masm.
Post by: D.F. on November 08, 2009, 01:57:07 AM
Hi all.
I'm from Poland. This is my first post on this forum.
I want to ask how can I get/make the newest include and lib files for SQLite library (www.sqlite.org).
In this (http://www.masm32.com/board/index.php?topic=1891.0) topic include & lib files are attached, but for old version (3.5.4). Current version of SQLite is 3.6.20.
My questions: Can I make inc&lib files for masm by myself? Is this hard? How to do this? What I need?

Regards, D.F.
Title: Re: Get the newest include&lib files for masm.
Post by: hutch-- on November 08, 2009, 05:44:36 AM
Hi D.F.

You will need to be able to write the prototypes in MASM notation, then you can use a tool supplied in MASM32 called inc2l.exe. It is in the INCLUDE directory.

Note that Vortex has tools as well to do work of this type and you may be able to use the Pelle's C tool POLIB.EXE as well. Look above at the "Forum Liks And Website" for the link to Vortex's site.
Title: Re: Get the newest include&lib files for masm.
Post by: MichaelW on November 08, 2009, 09:54:27 AM
On the sqlite site the archive sqlitedll-3_6_20.zip includes the DLL and a .DEF file that lists the names of 179 exported functions. In the archive sqlite-amalgamation-3_6_20.zip there is a header file, sqlite3.h, that appears to contain C prototypes for all of the functions, as well as the related structures and defines. So it looks like creating a workable include file should not be too difficult, mostly just a matter of translating the C prototypes, structures and defines to MASM syntax.
Title: Re: Get the newest include&lib files for masm.
Post by: D.F. on November 08, 2009, 10:28:43 AM
Thanks for the answers.