Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Commandline Arguments for MathLink' topicStudent Support Forum > General > "Commandline Arguments for MathLink"

Next Comment >Help | Reply To Topic
Author Comment/Response
Martin Keller-Ressel
08/23/99 6:47pm


I've written a program using the ML Developer Kit for Windows and MathLink to establish a connection to the Mathematica 3.0 Kernel. The program works fine, but I wanted to automate the process of launching the Kernel by giving its name and path location in the commandline arguments passed to the program (I'm directly passing the arguments on to MLOpenArgv() ).
According to the Mathematica 3.0 HelpFile it should work like this:
c:\myprog.exe -linkname, ''Path''\MathKernel.exe -linklaunch

with ''Path'' replaced by the appropriate path.

But instead of the Kernel being launched directly, this results in a Windows Dialog box being launched and I have to select MathKernel.exe by myself. (Just like if I had just called c:\myprog.exe -linklaunch)

Can you explain this to me ?
I would be thankful for any advice...


URL: ,

Subject (listing for 'Commandline Arguments for MathLink')
Author Date Posted
Commandline Arguments for MathLink Martin Kelle... 08/23/99 6:47pm
Re: Commandline Arguments for MathLink Nils Frohne 08/25/99 7:52pm
Re: Commandline Arguments for MathLink P.J. Hinton 08/25/99 7:57pm
Next Comment >Help | Reply To Topic