Tcl -> C++ -> Metakit - how to bind to library?
[email protected] Wed, 2 Nov 2005 15:12:28 -0000 (GMT)
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
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 _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit