Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am developing an UI on Visual Studio C++ and communicating with Mathematica using Mathlink. I create a function via Mathlink and in that function, I coded in such a way that it gives a message before being aborted. The output I get on Mathematica is:

Error::nnarg: The argument is not greater than or equal to zero
Out[38]= $Aborted

From Mathlink, I can actually read the $Aborted using MLGetString()

I would want to actually read the error message as well. Is it possible?

Thanks

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.