Re: [TDK] Problems setting up tclhttpd as service...
by Jeff Hobbs other posts by this author
Nov 19 2003 4:29PM messages near this date
view in the new Beta List Site
[TDK] Problems setting up tclhttpd as service...
|
RE: [TDK] Remote Debugging
Jeff Rankin wrote:
> I'm trying to set up Tclhttpd (v. 3.4.2) as a service using the Tcl
> Dev Kit (v. 2.6.1, Tcl version 8.4.4.0) on Windows 2000 and Windows
> XP Pro. I've sucessfully turned Tclhttpd into an executable using
> TclApp, and I've used the Tcl Service Manager to install it as a
> service. When I try to start the service, however, the following
> occurs:
...
> Application popup: tclsvckit.exe - Application Error : The
> instruction at "0x2f706d74" referenced memory at "0x2f706d74". The
> memory could not be "read".
It was not possible to create starpacks that could be services in
TDK 2.6, they had to be Tcl scripts using the tclsvc.exe executable
(NT services require special handling at initialization). TDK 3,
now in beta, has a special base kit for creating starpacks that are
NT services. Please download and try it:
http://www.activestate.com/Products/Tcl_Dev_Kit/beta.plex
Everything should be the same, except you use the base-tclsvc kit
that comes in the distro. This will create a starpack that is
specifically designed to be an NT service. Please tell us if that
works (hopefully it goes flawlessly ... but it is a beta ;) ).
--
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
Thread:
Jeff Rankin
Jeff Hobbs
|