My DLL "C" functions returning character strings do not work with SciLab 5.0.1.
Reported by thomask
Originally assigned to Allan CORNET
-- Bug description --
My DLL "C" functions returning character strings do not work with SciLab 5.0.1.
The functions have been working with SciLab 4.1.2. When I try to read the return parameter the type and number of parameter is different from what is expected. Usually SciLab hangs with an access violation error message.
Example:
function [dimname] = mddbDimGetName(h,p)
[status, dimname]=fort("_fsDimGetName",h,2,"i",p,3,"i","out",[1 1],1,"i",[1 25],4,"c");
endfunction
-- Scilab error message --
Warning !!!
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION)
with "fort" function.
Save your data and restart Scilab.
-- How to reproduce the bug --
Looks like I can use any function that returns a character string.