Perfect! Thankyou, --Brendan >Casting should work fine. As you can see, the code for _beginthread returns >the value returned when it calls CreateThread if there is no error, so you >can use the handle as if you had just called CreateThread. > >Daniel Imfeld > >-- >http://www.piclist.com#nomail Going offline? Don't AutoReply us! >email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body