Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: about mathlink connection

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97461] Re: about mathlink connection
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 13 Mar 2009 04:54:46 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <gp5fqj$9p9$1@smc.vnet.net> <gp7vth$1e0$1@smc.vnet.net> <gpacvg$mum$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

since I have not your source code, I can't tell you what's wrong.
But my own MathLink programs do that typical when
I have given a false path or some dll can't be found.

Regards
   Jens


olfa wrote:
> 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);
> 


  • Prev by Date: Re: Re: How to get data from Histogram
  • Next by Date: Re: opening notebooks in mathematica player instead of
  • Previous by thread: Re: about mathlink connection
  • Next by thread: Re: about mathlink connection