Re: about mathlink connection
- To: mathgroup at smc.vnet.net
- Subject: [mg97380] Re: about mathlink connection
- From: olfa <olfa.mraihi at yahoo.fr>
- Date: Thu, 12 Mar 2009 02:18:18 -0500 (EST)
- References: <gp5fqj$9p9$1@smc.vnet.net> <gp7vth$1e0$1@smc.vnet.net>
On 11 mar, 10:22, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de> wrote: > Hi, > > typical this dialog box pops up when MathLink alone can't start the > binary, i.e., a missing command line argumente like " -mathlink " > in your string .. > > Regards > Jens > > > > olfa wrote: > > Hi mathematica community, > > I have a c++ program in which I established a comunication with > > mathematica via mathlink. > > But when my program is executed, a "Choose a MathLink Program to > > Launch" dialog box appears and ask me to choose between some > > executables. This is how I established the connection: > > link = MLOpenString(env,"-linkname \"C:\\Wolfram Research\\Mathematic= a\ > > \6.0\\MathKernel.exe\"",&error); > > Note that I have chosen to launch mathkernel.exe so why the dialog box > > appears and How can I get rid of this dialog box? > > Thank you.- Masquer le texte des messages pr=E9c=E9dents - > > - Afficher le texte des messages pr=E9c=E9dents - Thank you for your reply Jens. I've added -mathlink,but the dialog box still appearing! : ml = MLOpenString(env,"-linkname \"C:\\Wolfram Research\\Mathematica\ \6.0\\MathKernel.exe\" -mathlink",&error);