Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!emory!ox.com!heifetz!tbomb!time From: time@ice.com (Tim Endres) Newsgroups: comp.sys.mac.programmer Subject: Re: newD() function for ThinkC Message-ID: <1CE00001.i44fhg@tbomb.ice.com> Date: 27 Jun 91 16:12:39 GMT Reply-To: time@ice.com Distribution: usa Organization: ICE Engineering, Inc. Lines: 21 X-Mailer: uAccess - Mac Release: 1.5 In article <5149@lib.tmc.edu>, jsorenso@thesis1.med.uth.tmc.edu (JEFFREY MARIUS SORENSON) writes: > the class. But how do I get to it? How does Symantec do it? (with their > new() function, one passes the class name as a pointer to void). > Has anyone been able to write a newD() function? If so, I would appreciate > any tips. If it is for some reason impossible, I would like to know that too > so I can give it up. I'm curious about why Symantec didn't provide a newD() > function. I'm guessing that either they thought it would be easy enought for > me to implement myself, or that there is something about using a pointer instead > of a handle that makes it too difficult/impossible. Any clues? you can bet your life that the pointer to the class points to the data you need. Follow this pointer in some assembler for a while and you should be able to figure it out. ------------------------------------------------------------- Tim Endres | time@ice.com ICE Engineering | uupsi!ice.com!time 8840 Main Street | Voice FAX Whitmore Lake MI. 48189 | (313) 449 8288 (313) 449 9208 -------- USENET: A slow moving self parody.....