Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!etaylor From: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Newsgroups: comp.windows.x Subject: Re: What am I doing wrong? Message-ID: <2827@gazette.bcm.tmc.edu> Date: 21 Nov 90 16:19:26 GMT References: <9011201930.AA01212@spurr.wr.usgs.gov> Sender: usenet@bcm.tmc.edu Reply-To: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Organization: Baylor College of Medicine, Houston, Tx Lines: 14 Nntp-Posting-Host: wilkins.iaims.bcm.tmc.edu The code fragment you posted WILL abort randomly. You gave XGetWindowProperty serveral uninitialized pointers. "actual_type" and "actual_format" were not the only ones. "nitems", "data", "bytes_after", "actual_type". Your program might work sometimes when the pointers actually pointed to something in your memory. -- Eric Taylor Baylor College of Medicine etaylor@wilkins.bmc.tmc.edu (713) 798-3776