MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathlink/Mma 3.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5958] Re: [mg5931] Mathlink/Mma 3.0
  • From: John Fultz <jfultz>
  • Date: Wed, 5 Feb 1997 21:11:51 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

> I have a C-program which ran successfully with Mma 2.2. under Win95 using
> TCP. This program has been compiled using Mlink32.lib from Mathlink Ver.
> 2.2.
> How is the same task done with Mma 3.0? 
> 1. Where is Mathlink on the CD??

AddOns/MathLink.  It's in the same place inside the Mathematica directory
when you install it on your hard drive.

> 2. Can I use the program without modification? How? Where do I specify TCP
> as protocol and how can I start a TCP-Kernel on my local machine?

Yes, you can, but you must have both 2.2 and 3.0 MathLink libraries on
your system, which is to say that MLINK32.DLL, MLTCP32.MLL,
MATHLINK.INI, ML32I1.DLL, and MLTCP32.MLP must all be in your Windows
or Windows SYSTEM directory (if you have installed both 2.2 and 3.0 on
the same machine, they will be).  You would launch/connect the same way
that you did in 2.2.  The name of the kernel executable is
"MathKernel.exe" (you can also use "math.exe", but it will tie up a
console window)...it is in the top-level Mathematica directory.

> 3. Is it possible to use local protocol. How?

The best way to utilize the 3.0 equivalent of the local protocol (actually
called "FileMap") is to recompile your program using the 3.0 MathLink
libraries.  Depending upon the nature of your program, this may be easy
or require moderate work (it should not be difficult).  If you have
any questions about this, feel free to email me privately.

> Please help me. Urgent!! 

John Fultz
Front End Group
Wolfram Research, Inc.


  • Prev by Date: Re: implizit function
  • Next by Date: Fourier transforms
  • Previous by thread: Mathlink/Mma 3.0
  • Next by thread: Surface Interpolation