Double precision vendll32.dll
Posted: Thu May 22, 2008 12:25 pm
Hi all,
I am trying to start a simulation from Excel:
retval& = vensim_command("SPECIAL>LOADMODEL|D:\source code\Vensim\name_of_model.vpm")
If retval& = 0 Then Exit Sub
retval& = vensim_command("MENU>SYNTHESIM|O")
If retval& = 0 Then Exit Sub
retval& = vensim_command("SYNTHESIM>AUTO|0")
If retval& = 0 Then Exit Sub
The model must be run with the double precision DSS, but when I run it from Excel it runs in the single precision DSS. How can I tell from VB to start the double precision simulation?
Thanks,
Davide Moraschi
I am trying to start a simulation from Excel:
retval& = vensim_command("SPECIAL>LOADMODEL|D:\source code\Vensim\name_of_model.vpm")
If retval& = 0 Then Exit Sub
retval& = vensim_command("MENU>SYNTHESIM|O")
If retval& = 0 Then Exit Sub
retval& = vensim_command("SYNTHESIM>AUTO|0")
If retval& = 0 Then Exit Sub
The model must be run with the double precision DSS, but when I run it from Excel it runs in the single precision DSS. How can I tell from VB to start the double precision simulation?
Thanks,
Davide Moraschi