Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!orstcs!ogicse!dali.cs.montana.edu!samsung!usc!wuarchive!cec2!news From: jyp@wucs1.wustl.edu (Jerome Yvon Plun) Newsgroups: comp.sys.mac.programmer Subject: Scrap Manager pronlem Keywords: scrap manager Message-ID: <1991Jan21.000828.24289@cec1.wustl.edu> Date: 21 Jan 91 00:08:28 GMT Sender: news@cec1.wustl.edu (USENET News System) Distribution: usa Organization: Washington University, St. Louis MO Lines: 25 I am using the scrap Manager to communicate between two programs, more precisely to let one program leave some informations for the other. I also use the clipboard to get some informations to start the first program. I use the following code at the end of the first program: (think C) retval=LoadScrap(); retZero = ZeroScrap(); rtPut = PutScrap(lengthScrap,'TEXT',toScrap); retval = UnloadScrap();t If I look at the scrapbook after these calls, it contains exactly what I expect to be in. But, once the application is terminated the scrapbook still contains what was in it before launching the application. Can some kind soul let me know what I am doing wrong? Thanks. jerome Jerome Plun jyp@wucs1.wustl.edu // Tell me why is it so hard to say Dept of Computer Science // Brother don't you walk away Washington University // St. Louis, Mo // Hooters "Zig Zag"