AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.05.27 21:08 "[Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 21:10 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 21:51 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 21:22 "Re: [Tiff] creating a vb wrapper for libtiff", by Chris Losinger
2005.05.27 21:40 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 21:54 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:00 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 22:07 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:18 "Re: [Tiff] creating a vb wrapper for libtiff", by Bob Friesenhahn
2005.05.27 23:02 "Re: [Tiff] creating a vb wrapper for libtiff", by Chris Losinger
2005.05.27 21:50 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:25 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 22:49 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine
2005.05.27 23:08 "Re: [Tiff] creating a vb wrapper for libtiff", by Chris Losinger
2005.05.28 17:09 "Re: [Tiff] creating a vb wrapper for libtiff", by Joris Van Damme
2005.05.27 21:30 "Re: [Tiff] creating a vb wrapper for libtiff", by Kevin Grover
2005.05.27 21:47 "Re: [Tiff] creating a vb wrapper for libtiff", by Antoine

2005.05.27 21:30 "Re: [Tiff] creating a vb wrapper for libtiff", by Kevin Grover

I have searched high and low for one of these but have neither been able to find one (lots of dead links in the archives), nor been able to work out how to do it (never really worked with apis before). If anyone has one, could they post it to the list? That way it would get archived and fewer people would post this foolish question! A link to a good tutorial (or script that will do most of the work for me), and the appropriate headers to convert would be another option...

If you compile the library with gcc on Windows (using MinGW, Cygwin, or other), you need to include the -mstd (I think) option to use the Pascal stack convention. You can then use one of the included tools (can't remember which) to generate a DLL from the .a file(s). Then, you just need to come up with the Declare statements to get VB to interface to the DLL. I have examples of this for work. I used GNU fortran to compile some code for a code worker and generate a DLL from use by some Excel VBA macros. I can send you the steps needed, but it will have to wait for Tuesday ---- It's all at work.


Editor's note: This mail was not originally archived, and has been reconstructed from quotes.