Thanks a lot for you help,

Concerning acer's remarks :

What version of Windows?

--> Windows 8.1

Is your target a 32 or 64bit application?

--> 32 bits application

Which version(s) of Maple do you have ?

--> 18

and for which did its Compiler command function properly?

--> I'm sorry but I believe that I don't well understand this question. The aim is to create a share object based on my maple program for determine initials positions of my mechanism in another application.

Do you have any other 3rd party C compiler installed?

--> I don't think so but I'm not sure. I have Visual Studio installed and it enables me to open the C code detailled below.

Concerning Axel Vogt's remarks :

a) and b) Here more informations about the function I want to create

Synoptic of the function :

inputs : alpha(t), beta(t), z(t) (angles and lengths so they are reals or floats)

output : gamma[1](t) (angle)

parameters (geometric lenghts)

Maple code :

restart:

with(LinearAlgebra):

with(Student[MultivariateCalculus]):

with(plots):

with(MathML):

constants:= ({constants} minus {gamma})[]:

`evalf/gamma`:= proc() end proc:

`evalf/constant/gamma`:= proc() end proc:

unprotect(gamma);

gamma[1](t):=arctan(2*cos(alpha(t))*sin(beta(t))*sin(aBTP[1])*e[1]*rBTP[1]-2*sin(alpha(t))*cos(aBTP[1])*e[1]*rBTP[1]+2*cos(alpha(t))*cos(beta(t))*h0*e[1]+2*z(t)*e[1]-2*e[1]*h[1], -2*sin(alpha(t))*sin(beta(t))*sin(aBTP[1])*cos(aF[1])*e[1]*rBTP[1]-2*sin(alpha(t))*cos(beta(t))*cos(aF[1])*h0*e[1]-2*cos(aBTP[1])*cos(alpha(t))*cos(aF[1])*e[1]*rBTP[1]-2*sin(aBTP[1])*cos(beta(t))*sin(aF[1])*e[1]*rBTP[1]+2*sin(beta(t))*sin(aF[1])*h0*e[1]+2*e[1]*rF[1])-Pi+arccos((2*sin(alpha(t))*sin(beta(t))*sin(aBTP[1])*cos(aF[1])*rBTP[1]*rF[1]-2*z(t)*cos(alpha(t))*sin(beta(t))*sin(aBTP[1])*rBTP[1]+2*sin(alpha(t))*cos(beta(t))*cos(aF[1])*h0*rF[1]+2*cos(aBTP[1])*cos(alpha(t))*cos(aF[1])*rBTP[1]*rF[1]+2*cos(alpha(t))*sin(beta(t))*sin(aBTP[1])*h[1]*rBTP[1]+2*sin(aBTP[1])*cos(beta(t))*sin(aF[1])*rBTP[1]*rF[1]+2*z(t)*sin(alpha(t))*cos(aBTP[1])*rBTP[1]-2*z(t)*cos(alpha(t))*cos(beta(t))*h0-2*sin(alpha(t))*cos(aBTP[1])*h[1]*rBTP[1]+2*cos(alpha(t))*cos(beta(t))*h0*h[1]-2*sin(beta(t))*sin(aF[1])*h0*rF[1]-z(t)^2+2*z(t)*h[1]-h0^2-e[1]^2-h[1]^2+l[1]^2-rBTP[1]^2-rF[1]^2)/sqrt((-2*sin(alpha(t))*sin(beta(t))*sin(aBTP[1])*cos(aF[1])*e[1]*rBTP[1]-2*sin(alpha(t))*cos(beta(t))*cos(aF[1])*h0*e[1]-2*cos(aBTP[1])*cos(alpha(t))*cos(aF[1])*e[1]*rBTP[1]-2*sin(aBTP[1])*cos(beta(t))*sin(aF[1])*e[1]*rBTP[1]+2*sin(beta(t))*sin(aF[1])*h0*e[1]+2*e[1]*rF[1])^2+(2*cos(alpha(t))*sin(beta(t))*sin(aBTP[1])*e[1]*rBTP[1]-2*sin(alpha(t))*cos(aBTP[1])*e[1]*rBTP[1]+2*cos(alpha(t))*cos(beta(t))*h0*e[1]+2*z(t)*e[1]-2*e[1]*h[1])^2))

c) I would like to use the dll function in a 20-sim model. I send you attach a example of 20-sim model with a dll function and the C code which enables to build this dll.

Example_of_20-sim_program_using_dll_function.pdf

I think that in this program the calling convention is mentioned.

I hope these informations will enable you to make me progress in the building of my code.

Thanks a lot for your help.