search for: test1lib

Displaying 2 results from an estimated 2 matches for "test1lib".

Did you mean: test1dir
2009 Jul 03
1
Dynamic libraries
...or as an argument to the function, two things happen: R becomes very unstable; the function only operates on the first 3 elements of the vector (say if the vector has 5 elements). Anyone have experience with this sort of thing? Thanks, Robin Cowan Sample below: This one works fine: library Test1Lib; type pA=^integer; procedure simple(x:pA); cdecl; var i1,i2:integer; begin x^:=x^*2; end; exports simple; begin end. This one does not: library Test2Lib; type array1=array[1..5] of integer; pA=^array1; procedure simpleArray(x:pA); cdecl; var i1:integer; begin for i1:=1 to 5 do x^[i1]:=x...
2009 Jul 15
0
Fwd: DLLs
...comes very unstable; > the function only operates on the first 3 elements of the vector > (say if the vector has 5 elements). > > Anyone have experience with this sort of thing? > > Thanks, > Robin Cowan > > Sample below: > > This one works fine: > > library Test1Lib; > > type > pA=^integer; > > procedure simple(x:pA); cdecl; > var i1,i2:integer; > > begin > x^:=x^*2; > end; > > exports simple; > begin > end. > > > This one does not: > > library Test2Lib; > > type > array1=array[1..5] of intege...