Re: Function pointers for DLL functions?
- From: "Peter Olcott" <NoSpam@xxxxxxxxxxxxx>
- Date: Mon, 11 Dec 2006 10:09:58 -0600
"David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:dqsch.18266$9v5.4234@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"Peter Olcott" <NoSpam@xxxxxxxxxxxxx> wrote in message
news:gjYbh.1273$BD5.84@xxxxxxxxxxxxxxx
I am not encountering a problem, I am examining the feasibility of making an
extensible interpreted scripting language. I want to provide the capability
of extending the language by adding functions written in C++. Although the
functions would be written in C++ they would be callable from the interpreted
language.
Why don't you embed a Python or Lua interpreter into your C++ app? These
script languages are made to be embedded into your app and you can easily
expose C functions callable by the script. I highly recommend this over
ActiveX because you control the whole thing.
-- David
Your idea lead me to another idea that I will probably adopt. Although the
syntax of the languages that you suggested would require too much learning curve
for my users, an embedded C/C++ interpreter would not. The end result of these
combined ideas drastically reduces my development time, and development costs.
At least one of the two C/C++ interpreters below is offered as complete
freeware.
http://root.cern.ch/root/Cint.html
http://www.softintegration.com/
.
- Follow-Ups:
- Re: Function pointers for DLL functions?
- From: David Ching
- Re: Function pointers for DLL functions?
- References:
- Function pointers for DLL functions?
- From: Peter Olcott
- Re: Function pointers for DLL functions?
- From: Ajay Kalra
- Re: Function pointers for DLL functions?
- From: Peter Olcott
- Re: Function pointers for DLL functions?
- From: David Ching
- Function pointers for DLL functions?
- Prev by Date: Re: Sizing the frame
- Next by Date: Re: WM_MOUSEMOVE Coordinates ?
- Previous by thread: Re: Function pointers for DLL functions?
- Next by thread: Re: Function pointers for DLL functions?
- Index(es):
Relevant Pages
|