Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!caen!kuhub.cc.ukans.edu!2hnemarrow From: 2hnemarrow@kuhub.cc.ukans.edu Newsgroups: comp.sys.apple2 Subject: Orca/C/M...Ack! Message-ID: <28630.27bd478e@kuhub.cc.ukans.edu> Date: 16 Feb 91 20:54:06 GMT Organization: University of Kansas Academic Computing Services Lines: 14 Yites... Excuse me, but I was just sitting here and wondering (and wondering here, sitting ) if anyone would happen to have an example of an Orca/M subroutine called from Orca/C. We are trying to use code already written in ML (to load and display pictures) but we can't seem to figure out how to set up the ML subroutines. I tried following the example and saving and retrieving the DP pointers, but we keep getting an error # 53 (which has something to do with the tools, I can't remember exactly right now.) Anway, I think the error relates to the only variable we're trying to pass (MyID, i.e., the programs ID) for setting up space to load the picture. So after all that, I guess the question is how to pass parameters between the languages. The manual says to put the variable on the stack from C (which we did) but the example has the variable equated right after the START of the ML subroutine. Which doesn't seem to work with us.