automatic dll wrapping
- Posted by Tone Skoda <tone.skoda at siol.net> Apr 14, 2001
- 354 views
This is a multi-part message in MIME format. ------=_NextPart_000_0042_01C0C5F2.AF194400 charset="iso-8859-2" I was thinking that it could be possible to make a program which would = automatically wrap a dll. It would have .dll and .h file for input, or = maybe just .h file, and output would be one big .ew file. It = could/should also handle strings and structures. My WinMania library = could be automatically generated without any work (hand editing) with = such program. This is definiteley something that will/should probalby be = done sometimes for Eu. euAllegro library could also be generated with = such program. It would be like C to Eu translator, but only for = functions in dlls. This would be a challenging task for someone to do. = It would basically be a parser (very powerful, like a C compiler almost) = for .h files. Then it would be using C libraries in Euphoria very easy, = you would just generate appropriate .ew file for a dll and you could use = it like in C but with Euphoria language. Anybody knows of any limits why = this couldn't be done, anybody thought of this before? ------=_NextPart_000_0042_01C0C5F2.AF194400 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I was thinking that it could be = possible to make a=20 program which would automatically wrap a dll. It would have .dll and .h = file for=20 input, or maybe just .h file, and output would be one big .ew file. It=20 could/should also handle strings and structures. My WinMania = library could=20 be automatically generated without any work (hand editing) = with such=20 program. This is definiteley something that will/should = probalby be=20 done sometimes for Eu. euAllegro library could also be generated=20 with such program. It would be like C to Eu translator, but = only for=20 functions in dlls. This would be a challenging task for someone to do. = It would=20 basically be a parser (very powerful, like a C compiler almost) for .h=20 files.</FONT><FONT face=3DArial size=3D2> Then it would be using C = libraries in=20 Euphoria very easy, you would just generate appropriate .ew file = for a dll=20 and you could use it like in C but with Euphoria language. Anybody knows = of any=20 limits why this couldn't be done, anybody thought of this=20 ------=_NextPart_000_0042_01C0C5F2.AF194400--