i have the following code to re-seed a random number stream:
subroutine SetSeed (seed)
!i have the relevant meta commands in here
I have compiled this and created a debug version of the DLL, which i call from VB. When i execute the line
a dialogue box appears asking me to specify a path for the library file DFPORT.FOR. The library file I have installed on my machine is DFPORT.F90, as I would have expected, and so I can not get this line to execute and re-seed the random number.
I have the same problem with the function to generate the random number which uses DRAND().
What am I doing wrong ?