MathLink Help

*To*: mathgroup at smc.vnet.net*Subject*: [mg44421] MathLink Help*From*: Ibrahim El wady <ibr_alwady at yahoo.com>*Date*: Sat, 8 Nov 2003 04:51:02 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Dear Math Group I try connect to Mathmatica using MathLink in Visual C++. When I try execute D[x^2 *Sin[x],x] I write MLPutFunction(lp, "EvaluatePacket", 1); MLPutFunction(lp, "ToString", 1); MLPutFunction (lp, "ToExpression", 1); MLPutString(lp, "D[x^2 *Sin[x],x]"); MLEndPacket(lp); I receive 2\012x Cos[x] + 2 x Sin[x] My question How I understant the result Thank you for help