Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!bronze!lothario!tagreen From: tagreen@lothario.ucs.indiana.edu (Todd Green) Newsgroups: comp.sys.mac.programmer Subject: WDEF Message-ID: <1991Apr15.192546.20563@bronze.ucs.indiana.edu> Date: 15 Apr 91 19:25:46 GMT Sender: news@bronze.ucs.indiana.edu (USENET News System) Organization: Indiana University Computing Services Lines: 24 Originator: tagreen@lothario I've been trying to write my own WDEF in THINK C 4.0. I've encountered several problems and was wondering if someone would be kind enough to send me some sample code. (Pascal or C is fine, assembly if you must). I've also had problems with ResEdit 2.1 when setting up my resources. When I go to define the ProcID for the window the program (ResEdit) crashes with an address error (1). When I try to launch ResEdit again it gives an error of (13). I delete it and restore it from floppy, but when I try to access the resource file with the WDEF (namely the WIND resource that has my WDEF ) ResEdit crashes again with "Application out of memory". Has anyone else experinced this? Thanks, Todd MacIIcx, 8meg, etc. etc. -- Internet: tagreen@bronze.ucs.indiana.edu NeXTMail: tagreen@lothario.ucs.indiana.edu BitNet: tagreen@iubacs.bitnet