Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Error handling with MathLink

  • To: mathgroup at
  • Subject: [mg37287] Error handling with MathLink
  • From: "Y.A.Tesiram" <yas at>
  • Date: Tue, 22 Oct 2002 04:47:04 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

G'day all,
How do I return errors to Mathematica from a MathLink program?

For e.g.

	ptr = malloc( HUGE_VAL );
	if (ptr == NULL) {
		// How do I return an error value to mathematica here?


  • Prev by Date: RE: Bad Alignment of Y Axes
  • Next by Date: Good idea to use ArcTan[x,y] in Solve[], Integrate[] etc?
  • Previous by thread: Error handling with MathLink
  • Next by thread: Re: Error handling with MathLink