INFO_DLL and INFO_VERSION

Use this forum to post Vensim related questions.
Post Reply
nika85
Junior Member
Posts: 17
Joined: Sat Jan 17, 2009 10:26 am

INFO_DLL and INFO_VERSION

Post 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
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

For me this prints

Vensim Full DLL Version 5.8d

which is exactly what I would expect.
nika85
Junior Member
Posts: 17
Joined: Sat Jan 17, 2009 10:26 am

Post by nika85 »

Where do you think the problem is?
Thank you
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

I do not see any problem. It works as I would expect it to.
Post Reply