🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37917

Re: Multiple Parameters to a Callback Function

#37917
From: Benjamin Ellsworth
Date: Fri, 09 Mar 1990 20:49
14 lines
813 bytes
> We've tried passing a pointer to an array of parameters (cast to 
> XtPointer), but that failed - the contents are scrambled.

This will work.  Something else must be wrong.  Is your pointer
pointing onto the stack (a non static variable local to a procedure),
and then the procedure exits before the callback is called?




------------------
Benjamin Ellsworth
ben@cv.hp.com
Technical Details
Message-ID: <100920192@hpcvlx.cv.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!ben
References: <186@ria.ccs.uwo.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!ben
From: ben@hpcvlx.cv.hp.com (Benjamin Ellsworth)
Newsgroups: comp.windows.x
Subject: Re: Multiple Parameters to a Callback Function
Message-ID: <100920192@hpcvlx.cv.hp.com>
Date: 9 Mar 90 20:49:07 GMT
References: <186@ria.ccs.uwo.ca>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 14