Page 1 of 1

Vensim 8 External functions documents & help

Posted: Thu Aug 29, 2019 9:34 pm
by mike
Will Vensim 8 for Windows external functions documentation reference C++ compilation of dlls
using Visual Studio Community using the Desktop Development with C++ workload ?

Guidance appreciated
Thank you,
Mike

Re: Vensim 8 External functions documents & help

Posted: Thu Aug 29, 2019 10:56 pm
by Administrator
I don't understand what you are asking.

There is a sample external function library project with Vensim 8 that complies in x32 and x64. It was created in VS Community 2015. Does that help?

Re: Vensim 8 External functions documents & help

Posted: Fri Aug 30, 2019 12:07 am
by mike
I have installed Visual Studio Community 2019 with the Desktop Development with C++ workload.
Will that support the processing called for in the Vensim External functions documentation for Vensim 8 ?
Maybe too simple a question, just want to make sure I have supporting software.

Re: Vensim 8 External functions documents & help

Posted: Fri Aug 30, 2019 9:23 am
by Administrator
I'm still confused by what you mean to "support the processing called for".

Are you asking if VS Community 2019 can build the external function library? The answer to that is yes.

Re: Vensim 8 External functions documents & help

Posted: Fri Aug 30, 2019 3:53 pm
by mike
Much appreciated.
I guess 'Senior' refers to age, not knowledge , for me.

Re: Vensim 8 External functions documents & help

Posted: Tue Sep 03, 2019 2:16 pm
by tomfid
I think it's a terminology gap. If Microsoft uses "workload" to mean which language package is active in Viz Studio, then yes, C++ is what you want.

Re: Vensim 8 External functions documents & help

Posted: Wed Oct 02, 2019 9:26 am
by RWTH_FCN
Hi,

I have upgraded my vensim to 64 bit and since I am using external fucntions when I want to run it I get this error:
[The external function in C:users\vensim\cfiles\venext.dll- could not be loaded. Do you want to try loading again next time?]
After clicking "yes" everything is in text mode and it is impossible to chnage it to sketch mode
Can I ask you what should I do now?


Best Regards,

Re: Vensim 8 External functions documents & help

Posted: Wed Oct 02, 2019 11:23 am
by Administrator
You will need to recompile the DLL using a 64 bit compiler.

Re: Vensim 8 External functions documents & help

Posted: Wed Oct 02, 2019 1:06 pm
by RWTH_FCN
Administrator wrote: Wed Oct 02, 2019 11:23 am You will need to recompile the DLL using a 64 bit compiler.
Thanks. Sounds reasonable