I am trying to learn how to access a third party DLL from a Tcl script. There are a lot of tidbits of information on this topic in numerous places, but nothing that provides a nice, concise start-to-finish description of how to do it. I've tried a number of things, with varying degrees of failure. I've gotten the closest to success using SWIG and Visual Studio Express 2012 (both of which I am a complete newbie...)
I saw a previous response to a similar question here How to create a DLL with SWIG from Visual Studio 2010, in which the goal was to create a DLL from C code. I do not have the source for the DLL, only the .dll, .h, and .lib files from the vendor who created the DLL.
The responder in that post had instructions that are very close to what I'm looking for, I think. He stated that the process for wrapping a DLL is similar, and to ask if instructions were needed to accomplish that. I'm hoping he responds to this post...
(Disclaimer: I'm a complete newbie to this forum as well, and I couldn't figure out a way to follow up on that post directly. Please forgve my ignorance...)
Can anyone povide detailed instructions on how to accomplish my goal? Thanks in advance!