Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I will appreciate if anyone can give me an hint about freepascal and mathematica mathlink communication.

I'd like to build a Form using Lazarus/freepascal that call mathkernel.

I'm trying to move away from ExcelLink-component to a home made Form.

share|improve this question
You need to find out how to call C functions from FreePascal, and create an interface for calling the MathLink libraries. The bulk of the work is not related to Mathematica: what you need is calling C functions from FreePascal. You need FreePascal (and C) expertise, not Mathematica expertise, so I'd suggest asking about that problem on StackOverflow instead. – Szabolcs Jan 9 '14 at 17:31
@Szabloc Thanks I found a document on link about an utility to convert .h heder file to pascal unit. – msalese Jan 10 '14 at 8:49

Your Answer


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

Browse other questions tagged or ask your own question.