Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!uw-june!wolf.cs.washington.edu!slh From: slh@wolf.cs.washington.edu (Scott Heyano) Newsgroups: comp.windows.x.motif Subject: Re: XmFileSelectionBox and XmNfileSearchProc Message-ID: <14586@june.cs.washington.edu> Date: 20 Jan 91 00:32:56 GMT References: <12787@hacgate.UUCP> Sender: news@cs.washington.edu Reply-To: slh@wolf.cs.washington.edu (Scott Heyano) Distribution: usa Organization: Computer Science & Engineering, U. of Washington, Seattle Lines: 18 In article <12787@hacgate.UUCP> sean@stonyman.eos.scg.hac.com () writes: | [problems] | |void |UFSFileSearchProc(w, call) |Widget w; |XmFileSelectionBoxCallbackStruct call; [more code] This is suppose to be a pointer to the struct, not the struct itself. The docs may or may not say it suppose to be a pointer, but when I did it I assumed it was suppose to be a pointer. I don't know about the rest of your code, but this alone will kill you. I would make sure that you actually have something in your strings from your search also (you probably don't if you were using this param as the struct itself)