[Metakit] Tcl -> C++ -> Metakit - how to bind to library?
gdedwards at blueyonder.co.uk
gdedwards at blueyonder.co.uk
Wed Nov 2 15:12:28 CET 2005
Hi there,
I have a question about binding to Metakit that may really be a Tcl
question but we'll see...
I have an application where I want to use Metakit as a persistent object
store for some C++ code that happens to be coded as a Tcl extension. The
Tcl code itself has no requirements to directly access the Metakit
database through mk::whatever calls.
Tcl interpreter <-> C++ extension <-> Metakit
1.) should I be binding to the C++ API (DLL or static LIB) or the Tcl
Mk4tcl.dll?
2.) If the former, is there anything specific I should worry about w.r.t
memory management or anything else of that ilk?
2.) if the latter, is the C++ API still available to my extension when the
Mk4tcl.dll extension is loaded? Or do I need to Tcl_Eval "mk::blah"
commands in my C++ code to access the database?
Cheers
Gareth
More information about the Metakit
mailing list