From: Donald H. Mitchell

Subject: Re: Winhelp data parameter for ACL3.0.1

Date: 1997-3-14 10:42

Dr. Peter Matthis wrote:
> > We want to include the use of winhelp in our Win 95 program, but > didn't find out, how the data parameter in call like > > (win:winhelp (pc:window-handle *screen*) "XXX.HLP" win:help_context > data :static) > > has to be defined in order to transfer context numbers or strings to the > Windows system. > It didn't work to use lisp numbers? Could you provide an example?
I haven't tried Win95, but in NT the following works: (win:winhelp (pc:window-handle *whatever*) filename win:help_context (let ((u (ct:ccallocate (:void *)))) ; ugly, but only temporary (setf (ct:cpointer-value u) context) u) :static) I don't know why I have the "temporary" comment. -- Donald H. Mitchell <smartproject.com at dhmitchell> Proactive Solutions, Inc. 412.835.2410 5858 Horseshoe Dr. 412.835.2411 (fax) Bethel Park, PA 15102