Path: news.daimi.aau.dk!olevi From: olevi@daimi.aau.dk (Ole Villumsen) Newsgroups: comp.lang.beta Subject: Re: Using C Libraries in Beta Date: 1 May 1995 15:01:48 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 20 Message-ID: <3o2t4s$94o@belfort.daimi.aau.dk> References: <3nkc8h$39l@pulm1.accessone.com> NNTP-Posting-Host: indium.daimi.aau.dk Baiss E. Magnusson writes: >Where in the for Beta/Macintosh does it show the format of the > >line for including a C library into a Beta program and how to make the >calls from Beta to functions in the C Library? >I have a large library of C functions which control hardware that I need >to call. It's in the Basic Libraries Reference Manual, the chapter on "The external Library". (In the August 1994 edition, it's chapter 13, page 121 and on.) You have to translate the .h file to Beta by hand. Detailed instructions are given. If you've got big .h file(s), you may want to have a copy of a small paper I wrote on how to do the translation semi-automatically using search and replace in MPW. (I produced 75 pages of BETA code in one and a half days that way.) Let me know, and I'll send you a copy. It's a Microsoft Word document. Ole