I'm trying to do some automation in OrCAD Capture using its Tcl scripting interface. I've run into a problem of receiving a struct, but not having any exposed functions to deal with it. I know the structure of the struct (it's a LOGFONT) so is there anyway to unpack the struct?
I've found SWIG that allows creating Tcl interfaces to C libraries. I'd really rather not have to ship C code just to access a simple struct though!