Message-ID: <19980811075102.5055.qmail@hotmail.com> From: "Oliver Richman" To: agrath_98 AT yahoo DOT com Cc: djgpp AT delorie DOT com Subject: How to convert LIB files [was: Re: Digital Music.] Content-Type: text/plain Date: Tue, 11 Aug 1998 00:51:02 PDT Precedence: bulk >I program in DJGPP with allegro, but I have a incredible awesome sound >player libary that I downloaded from the internet. It has libarys for >C/C++, ASM, Basic, Powerbasic, ETC. Hi. My advice on the easiest path: Contact the author and ask him for the C/C++ source code. Failing that, get a library editor and extract all the .O files from the C/C++ .lib, then re-link then into a .a file for use with GNU GCC (DJGPP). Failing that, disassemble the asm .lib file with Sourcer. Re-label the entry points into the library calls. Then write an array of pointers to function which each point to a function containing AT&T assembly code to load the function arguments from the call into local variables and then into the assembly language variables, and then call the library function from the assembly. There may be easier ways to do what I have described, I am just trying to be "clear". There may be a better solution. --Oliver ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com