Page 1 of 1

Problem in DAT2VDF of version 5.11

Posted: Tue Jul 31, 2012 9:03 am
by tedliu
Hello,
I wrote a program to call vendll32.dll with VB6.
It worked when the version of vendll32.dll is 5.8.
After I upgraded it to version 5.11.
It stoped at DAT2VDF command
Is there any change for this command in new version?
Here is my code.
Pls help to fix this problem.
Thanks

Code: Select all

Result = vensim_command("MENU>DAT2VDF|Baseline.dat|Baseline.vdf")
in the version 5.11. the value of Result is 0 which mean it fail.

Re: Problem in DAT2VDF of version 5.11

Posted: Tue Jul 31, 2012 11:21 am
by Administrator
Do you get any errors when you convert the dataset in vensim itself?

Re: Problem in DAT2VDF of version 5.11

Posted: Tue Jul 31, 2012 2:33 pm
by tomfid
Are you using 5.11a? There was a problem (briefly) in one earlier version.

Can you describe the problem?

Re: Problem in DAT2VDF of version 5.11

Posted: Tue Jul 31, 2012 4:31 pm
by tedliu
Hi
No error when I convert the dataset in vensim itself.
I have upload the dataset here.
The version of Vensim is 5.11. not 5.11a.
I am still trying to figure out where the problem came from.
The OS is WinXP but in a virtual system (VirtualBox).
But I don't have this kind of problem when I have old version.
If this is not a common problem, then I have to do more check in my VB program.

Re: Problem in DAT2VDF of version 5.11

Posted: Tue Jul 31, 2012 5:20 pm
by tedliu
Hi
After I reinstall to version 5.10e
The problem solved.
Can I think it is the bug of version 5.11?

Re: Problem in DAT2VDF of version 5.11

Posted: Tue Jul 31, 2012 7:00 pm
by tomfid
Correct - the problem was introduced in 5.11 and is now fixed in 6.0.