Page 1 of 1

INFO_DLL and INFO_VERSION

Posted: Mon Feb 23, 2009 5:15 pm
by nika85
Hello,

We are trying to know info_dll and info_version with this code:

String plist[] = vensim.get_info(vensim.INFO_DLL) ;
String qlist[] = vensim.get_info(vensim.INFO_VERSION) ;
if(plist.length + qlist.length > 0) {
StringBuffer buf = new StringBuffer("") ;
buf.append("Vensim ") ;
for(int j=0;j<plist.length;j++) {
buf.append(plist[j]) ;
}
buf.append(" DLL Version ") ;
for(int j=0;j<qlist.length;j++) {
buf.append(qlist[j]) ;
}
System.out.println(buf);
}

This returns: Vensim DLL Version , why does not it returns versions?

Thank you so much

Posted: Tue Feb 24, 2009 11:38 am
by bob@vensim.com
For me this prints

Vensim Full DLL Version 5.8d

which is exactly what I would expect.

Posted: Tue Feb 24, 2009 11:51 am
by nika85
Where do you think the problem is?
Thank you

Posted: Tue Feb 24, 2009 10:35 pm
by bob@vensim.com
I do not see any problem. It works as I would expect it to.