MathGroup Archive 2006

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

Search the Archive

Re: mathematica 4.0 + NET/Link doesn't work?

  • To: mathgroup at
  • Subject: [mg68420] Re: [mg68407] mathematica 4.0 + NET/Link doesn't work?
  • From: Todd Gayley <tgayley at>
  • Date: Fri, 4 Aug 2006 03:59:41 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

At 05:07 AM 8/3/2006, Andreas Baumbach wrote:
>actually i have mathematica in version 4.0 installed. Now i want to
>build a UI for a given mathematica program.
>I have downloaded MathLink, J/Link and NET/Link from,
>and so they should run in the latest version.
>But when i want to initialize the Link, i got an error:
>Here is the code:
>       In[1]:= <<NETLink`
>       In[2]:= InstallNET[]
>LinkOpen::"linke": "MathLink error: \!\(\"the linkname was missing or not in \
>the proper form\"\)"
>InstallNET::"fail": "A link to the .NET runtime could not be established.
>i become desperate, i need that program to work.
>In advance: Thank you for your help.


Here's a quick one-line fix to get .NET/Link to work back in Mathematica 4.0:

     SetOptions[LinkOpen, LinkMode->Launch]

Now InstallNET[] will succeed. I can't guarantee that everything in 
.NET/Link will work in Mathematica 4.0, but then neither can I think of 
anything that will fail.

Todd Gayley
Wolfram Research 

  • Prev by Date: Change CellTags with FrontEnd
  • Next by Date: Re: Re: Re: Finding the Number of Pythagorean Triples below a bound
  • Previous by thread: mathematica 4.0 + NET/Link doesn't work?
  • Next by thread: Programming with .NET / hand over of variables