I am new to TCL/TK. But I need your prompt help in how to call a .dll from TCL on Windows 2K platform. I have a .dll, but can't figure out how to call functions in it.
Any of your help or direct me to reference is greatly appreciately.
I've never done this so I don't know any tricks or tips. The "load" command in Tcl has the following description:
This command loads binary code from a file into the application's address space and calls an initialization procedure in the package to incorporate it into an interpreter. fileName is the name of the file containing the code; its exact form varies from system to system but on most systems it is a shared library, such as a .so file under Solaris or a DLL under Windows. packageName is the name of the package, and is used to compute the name of an initialization procedure. interp is the path name of the interpreter into which to load the package (see the interp manual entry for details); if interp is omitted, it defaults to the interpreter in which the load command was invoked.
Check out Tcl Help and look at the "load" command. Bob Rashkin
rrashkin@csc.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.