MathGroup Archive 2009

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

Search the Archive

Re: Problem with mathlink:PLEASE HELP ME

On Mar 17, 4:58 am, olfa <olfa.mra... at> wrote:
> Hi mathematica community,
> Under windows xp,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 my code and the problem should be in the path of
> the connection.
> In this path 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, I'm very gratefull for any help.
> void main(){
> MLENV env;
>  int error;
>   MLINK ml;
>    env = MLInitialize(0);
>  if(env == (MLENV)0)
>    { printf("unable to initialize environment"); }
>    ml = MLOpenString(env,"-linkname \"C:\\Program Files\\Wolfram
> Research\\Mathematica\\6.0 \\MathKernel.exe\" -mathlink",&error);

What about adding "-linkmode launch" ?


  • Prev by Date: Superscripts in post-processed plot labels
  • Next by Date: Wolfram WorkBench and iDisk
  • Previous by thread: Re: Problem with mathlink:PLEASE HELP ME
  • Next by thread: Re: Problem with mathlink:PLEASE HELP ME