IonicWind Software

IWBasic => General Questions => Topic started by: LarryMc on April 05, 2007, 01:59:00 PM

Title: DLL's and LIBs
Post by: LarryMc on April 05, 2007, 01:59:00 PM
I have found a 3rd party dll I want to use.
I have written streamlined functions to call the routines that are in the dll.

I want to create a dll to include all the above.

If I do, will I have to furnish the user both my dll and the 3rd party dll or
does the 3rd party dll get incorporated into my dll and I only have to furnish mine to a user?
Title: Re: DLL's and LIBs
Post by: Brice Manuel on April 05, 2007, 02:06:48 PM
I guess I am dense, but why do you want to use a bootstrap DLL to call the other DLL ???
Title: Re: DLL's and LIBs
Post by: LarryMc on April 05, 2007, 04:16:25 PM
Quote from: Brice Manuel on April 05, 2007, 02:06:48 PM
I guess I am dense, but why do you want to use a bootstrap DLL to call the other DLL ???
I don't have the src for the 3rd party dll but I want to call the functions in it but I what to change the function names the user will enter (I know, alaises) but I also want to change the way some passed parameters are identified and what return codes will be used.
The only way I know how to do that is with intermediate functions.  Those functions would be in my created dll.  I would love to be able to combine the 3rd party dll and my intermediate functions into one dll but I don't know if that is possible or if it is then how to do it.

I've just looked at Sapero's ddl2lib program but I'm kinda like a dog chasing a car tire. I got it but now what do I do with it.
Title: Re: DLL's and LIBs
Post by: Ionic Wind Support Team on April 05, 2007, 05:57:15 PM
Why not just create a static library?
Title: Re: DLL's and LIBs
Post by: LarryMc on April 05, 2007, 06:13:04 PM
Quote from: Paul Turley on April 05, 2007, 05:57:15 PM
Why not just create a static library?
Are you saying that if I write my wrapper functions using the linker lib for the 3rd party dll that I can then compile my wrapper function as a static lib and it will remove the need for the 3rd party dll for my application users?

Or:
Are you saying that if I write my wrapper functions using the linker lib for the 3rd party dll that I can then compile my wrapper function as a static lib but I will need to send the 3rd party dll for my application users?

What about if I'm wanting to create a dll with the "wrapper" functions for other people to use?