whaley@pi.cs.unc.edu (10/20/89)
I'd like to write an application based on top of MacTCP. My kit, however, only seems to include MPW C libraries , objects. Has anyone converted MacTCP to run under THINK C or THINK Pascal? I'm working on a project that will be maintained by people who would prefer THINK C as a development environment. Any suggestions are appreciated! Thanks! __ __ __ __ ________ whaley@cs.unc.edu / / / / / \ / / / ______/ Jonathan Whaley / /__/ / / /\ \/ / / /_____ University of North Carolina - Chapel Hill /______/ /_/ \__/ /_______/ Computer Science Department Jonathan Whaley whaley@cs.unc.edu
mm5l+@andrew.cmu.edu (Matthew Mashyna) (10/20/89)
Converting the TCP stuff to Think C is easy. Copy the header files to C library headers. Then you'll have to make a few adjustments. The TCPPB.h header has a pascal void typedef for ASR routines that must be changed to just void. You have to make a change in the dnr source code also: change any 'int' to 'long'. Remove the #include <Types.h> from MacTCPCommonTypes.h I think that's about all I had to do. If I missed anything, the complier will pick it up. Matt Mashyna Macintosh Initiative, H&SS Dean's Office Carnegie Mellon