Search found 7 matches

by alazar
Fri May 17, 2013 10:39 am
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 12488

Re: Using Vensim as a DDE Client

Dear Tony, Thank you very much for the Visual Studio project, much appreciated! Yes, if I change the path, it works, and creates a dll what is accepted by Vensim. I found interesting that the dll is created despite the errors in the .c file. I also do not understand why the .c file is considered in ...
by alazar
Thu May 16, 2013 12:28 pm
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 12488

Re: Using Vensim as a DDE Client

Sorry for the trouble, but this still does not work. I have now included the .def file in the Linker\Input\module Definition File' space. I also added the Vensim.lib file to the 'Linker\Input\Additional dependencies' space, because without it, the compiler generated a large number of errors. When bo...
by alazar
Thu May 16, 2013 8:27 am
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 12488

Re: Using Vensim as a DDE Client

Dear both, I did not include the .def file, because it generates 100 errors within Visual Studio (e.g. unrecognised token, identifier "module" is undefined, declaration has no storage class, ...), and the user guide was unclear what to include and what is not necessary. So maybe this missi...
by alazar
Wed May 15, 2013 3:37 pm
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 12488

Re: Using Vensim as a DDE Client

Sorry. One last question. I have managed to build the dll file based on the shipped vensim.h and vddext.c files by using Microsoft Visual Studio 2010. However, when I load the dll file into Vensim, it creates an error message saying: "External function version mismatch need version 51050 (got -...
by alazar
Wed May 15, 2013 8:24 am
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 12488

Re: Using Vensim as a DDE Client

Thanks for the info and suggestion! I'll think about it.

Attila
by alazar
Tue May 14, 2013 2:25 pm
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 12488

Re: Using Vensim as a DDE Client

Dear Tony, Thanks for the info. Then it is as I suspected that DLL compilation is needed first. I wanted check this before I spend too much time to learn how to do it. Let me explain my project. I have to link 4-5 process-based biophysical models with a socio-economic model in a dynamic environment....
by alazar
Mon May 13, 2013 1:39 pm
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 12488

Using Vensim as a DDE Client

Hi, I would like to try out the DDE Client functionality, but the shipped example files of Vensim DSS (within the dde directory) are problematic to use. Three files are provided for this example: vddeext.c, vddeext.mdl and vddeext.xls. The vddeext.mdl file does not work. When I click on 'Check model...