Using a tcl interpreter inside a DLL?
- From: jmbussat <jmbussat@xxxxxxxxx>
- Date: Wed, 28 Nov 2007 14:19:19 -0800 (PST)
Hello,
I have some experience with Tcl/Tk and Linux but now I have to move
to
developing under Windows.
I have an application that can load DLLs and execute code from them
(the functions in the DLL are seen as macros that augment the
functionality
of the application).
With what I have to do at the moment, I need to write a DLL in which
the
user has to interact with the application through custom dialogs.
I don't know anything about designing GUIs under Windows (except via
Tcl/Tk) and I was wondering if it would be possible to call the tcl
(or later
tk) interpreter from inside a DLL.
I tried to reuse some Linux based code where I use tcl/tk from inside
a
C program that dynamically creates tcl code that gets interpreted by
the
interpreter (!) but I can't go past the Tcl_Init() step without
crashing my
application.
So my question is: I know you can call a tcl interpreter from a
standalone
C program but is it possible to do it (or do something similar) from a
DLL?
Thanks in advance for your help.
Best Regards,
-JMB
.
- Follow-Ups:
- Re: Using a tcl interpreter inside a DLL?
- From: Donald G Porter
- Re: Using a tcl interpreter inside a DLL?
- Prev by Date: Re: Czym programowac' TCL
- Next by Date: Re: Plotchart ideas (was: Can BLT be replaced by Tcl packages ?)
- Previous by thread: Can someone explain this performance issue?
- Next by thread: Re: Using a tcl interpreter inside a DLL?
- Index(es):
Relevant Pages
|