Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!yale.edu!cmcl2!adm!news From: IN307%DHAFEU11.BITNET@cunyvm.cuny.edu ( Peter Sawatzki) Newsgroups: comp.lang.pascal Subject: Re: Re: linking Turbo Pascal with Microsoft C Message-ID: <27312@adm.brl.mil> Date: 28 Jun 91 10:30:51 GMT Sender: news@adm.brl.mil Lines: 18 Dominic Chow asks: >Does anyone know how to link Turbo Pascal program with Microsoft C >Libraries ? I know of one (tricky) way to 'link' Microsoft C Libraries with Turbo Pascal (4.0/5.0/5.5/6.0): Write a small assembler (or maybe C program) and link it with the C library. Then use the DOS EXEC function in Turbo Pascal and load the resulting EXE as an OVERLAY. This could one call "Dynamic Linking" -) -) -). I have done this with a large OBJ file (>100k) that contained 8088 and 68000 assembler code. I can mail the code (provided i find it) to everyone interested. Peter ::::::::::::::::::::::::::::::::::::::::: : Peter Sawatzki : :::::::::::::::::::::::::::::::::::::::::