Re: include abc.dll - any volunteers?
- Posted by Pete Lomax <petelomax at b??eyonder.co.uk> Jan 09, 2008
- 770 views
Matt Lewis wrote: > > It depends upon the header file. Some are pretty straightforward. Others > are filled with macros, or are just formatted strangely, and are a lot more > difficult to figure out. Do you think it might be easier to look for VB stuff, eg: http://www.hpcc.ecs.soton.ac.uk/software/Win32API.Txt Mike wrote: > > Pete, Matt, Thanks for the replies. I think the way to do this would be to > create a tool to analyse the relevant header files and then produce a Euphoria > file that can be included as per normal. I guess it'd have to be able to parse > C so my feeling is that it won't be done any time soon...unless a similar tool > exists for another language and could be modified for our purposes. > While I'm not about to download and install Borland/Watcom/etc myself, if you select one of the less complicated styles, and email me a smallish example, I'll have a go. Actually, belay that, I just found the link above and would prefer you investigate that first. One thing I would be keen to see is a way to integrate the help with Edita: if you have abc.dll and abc.hlp (or abc.chm) and you create abc.inc which defines abcfunc(), then I'd like Edita to be able to scan abc.inc and add "abcfunc" to it's F1 help system. Maybe just something simple like:
-- xx.inc: wrapper for xx.dll ... --F1HELP:xx.hlp -- <or> xx.chm -- <or> http://www.xx.org/search?term= ... --F1:abcfunc global function abcfunc(...)
Regards, Pete