comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Parsing C -> Generating DLL/DLM
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Parsing C -> Generating DLL/DLM [message #56012] Wed, 26 September 2007 07:22 Go to previous message
Thomas Doering is currently offline  Thomas Doering
Messages: 3
Registered: September 2007
Junior Member
Hey folks,

some months ago I started this little project. The task was (and is):

Parse a c-header for class and function declarations and generate a
cpp-code and a dlm file. One should be able to compile the cpp
instantly as DLL and use it in combination with the DLM as IDL-
Interface for the declared classes and functions.

Well, a beta of the actual development state can be found here (http://
www.doering-thomas.de/page.php?seite=1&sub=6&lang=de ) under
"genICET" ("generate Idl C Export Template").

This should parse header files, list every function or class
definition and generates the cpp and dlm source. (Simple) Sample is
included.

I hope it is usefull. For me it is ;-)

Note: The used C(++)-Parser is selfmade and, lets say, VERY ...
"simple". Which means: Could be VERY buggy. If anyone can provide a
better alternative (which is easy to handle, since I'm not quite a C(+
+)-expert) please let me know.

Greetings from Germany,
Thomas.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: BMP to cursor bitmap
Next Topic: (a-b, b-c, c-d, d-e,...)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 04:11:22 PDT 2025

Total time taken to generate the page: 1.29403 seconds