Mathematica 9 is now available
 Documentation /  Mathematica /  The Mathematica Book /  Mathematica Reference Guide /  Listing of C Functions in the MathLink Library /

MLLoopbackOpenMLNewPacket

MLMain()

FilledSmallSquareint MLMain(int argc, char **argv) sets up communication between an external program started using Install and Mathematica.

FilledSmallSquare The code for MLMain() is generated automatically by mprep or mcc.

FilledSmallSquareMLMain() opens a MathLink connection using the parameters specified in argv, then goes into a loop waiting for CallPacket objects to arrive from Mathematica.

FilledSmallSquareMLMain() internally calls MLOpenArgv().

FilledSmallSquare See The Mathematica Book: Section 2.12.3.

MLLoopbackOpenMLNewPacket



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.