Call to a DLL



I have a DLL that have a function Correct who send a boolean.

Is it possible to have à var param to call the function ?
i ve got a access violation.

TCorrect = function(var Nb : Integer) : Boolean; stdcall;


.