1. Wrap a DLL (Small Project)
- Posted by C Bouzy <eucoder at hotmail.com> Jul 07, 2006
- 527 views
- Last edited Jul 08, 2006
Hello All, Anyone here interested in wrapping a Windows DLL with 4 functions? Whoever is interested will be paid for their time via Paypal. Chris ----If you continue to do what you have always done, you will get what you have always gotten.----
2. Re: Wrap a DLL (Small Project)
- Posted by Euman <Euman at triad.rr.com> Jul 07, 2006
- 553 views
- Last edited Jul 08, 2006
> posted by: C Bouzy <eucoder at hotmail.com> > Hello All, > Anyone here interested in wrapping a Windows DLL with 4 functions? Whoever is > interested will be paid for their time via Paypal. Not interested in Cash reward but am curious as to what .dll..? many a .dll's functions have been wrapped, perhaps your .dll has already been wrapped by someone, just ask.... Regards, Euman
3. Re: Wrap a DLL (Small Project)
- Posted by C Bouzy <eucoder at hotmail.com> Jul 07, 2006
- 534 views
- Last edited Jul 08, 2006
Hi Euman, It hasn't been wrapped, it is custom dll for a activation system. I need it wrapped and I am in the middle of 50 things at once. --- Chris ----If you continue to do what you have always done, you will get what you have always gotten.----
4. Re: Wrap a DLL (Small Project)
- Posted by Bernie Ryan <xotron at bluefrog.com> Jul 07, 2006
- 519 views
- Last edited Jul 08, 2006
C Bouzy wrote: > > Hello All, > > Anyone here interested in wrapping a Windows DLL with 4 functions? Whoever is > interested will be paid for their time via Paypal. > > Chris > > ----If you continue to do what you have always done, > you will get what you have always gotten.---- It's easy and fast with WMOTOR
include motor.eu library("the.dll") declare("SomeFunction1",3,u) -- 3 parms returns unsigned value declare("SomeFunction2",0,s) -- 0 parms returns signed value declare("SomeFunction4",4,u) -- 4 parms returns unsigned value declare("SomeProcedure",3,n) -- 3 parms record("NameOfStructure", -- describe the Structures. "szName : pointer : 1 "& "SecretValue : ulong : 1 "& "szPassWord : pointer : 1 ")
Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
5. Re: Wrap a DLL (Small Project)
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 08, 2006
- 522 views
On Fri, 07 Jul 2006 15:34:04 -0700, C Bouzy <guest at RapidEuphoria.com> wrote: >Anyone here interested in wrapping a Windows DLL with 4 functions? Whoever is >interested will be paid for their time via Paypal. Email me a copy of the dll, a brief description, and what you want from it, and I'll have a look. Regards, Pete
6. Re: Wrap a DLL (Small Project)
- Posted by C Bouzy <eucoder at hotmail.com> Jul 08, 2006
- 529 views
Pete Lomax wrote: > interested will be paid for their time via Paypal. > Email me a copy of the dll, a brief description, and what you want > from it, and I'll have a look. Ok Pete... ----If you continue to do what you have always done, you will get what you have always gotten.----
7. Re: Wrap a DLL (Small Project)
- Posted by don cole <doncole at pacbell.net> Jul 08, 2006
- 546 views
Bernie Ryan wrote: > > > It's easy and fast with WMOTOR > Hello Bernie, I was wondering if you could give the dummmies version of what WMOTOR is and what it is used for ? I D/Led it but can't heads or tails of it. What would the input be and what would the output be? Thanks, Don Cole Bonds > Ruth. Giants in second last place. Don Cole
8. Re: Wrap a DLL (Small Project)
- Posted by Bernie Ryan <xotron at bluefrog.com> Jul 08, 2006
- 587 views
don cole wrote: > I was wondering if you could give the dummmies version of what WMOTOR is and > what it is used for ? I D/Led it but can't heads or tails of it. What would > the input be and what would the output be? > > Thanks, > > Don Cole > Bonds > Ruth. > Giants in second last place. Don: motor.eu is an include file (library) that can be used to do both Windows, X-Windows programming or can be used to access any custom DLL on either OS system. The advantage is that to use a dll function/procedure all you have to do is declare it. To use a structure all you have to do is describe it using the record function.
record("NameOfStructure","DescriptionOfStructure") example: record("POINT", -- name of structure "x:long:1 "& -- member name is x. value is long integer. number of long integers. "y:long:1 ") -- member name is y. value is long integer. number of long integers. library("dll_where_function_is") -- selects which DLL to use for declares. -- Note when a DLL is selected it is in effect for each declare -- until the next DLL is selected; library() only effects declares. example: library("user32.dll") declare("some_function_name",#of_parameters,TypeOfReturn) -- TypeOfReturns u - unsigned s - signed n - none (which is a procedure) example: declare("ScreenToClient",2,s) -- 2 params. returns signed. -- using a function example: atom RetValue, lpPoint lpPoint = struc("POINT") -- create a point structure. RetValue = f("ScreenToClient",{hMyWindow,lpPoint}) -- call the function.
If you understand windows programming, you should be able to look at the demos which are highly commented; and easily understand it's use. Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan