Vensim 8 External functions documents & help

Use this forum to post Vensim related questions.
Post Reply
mike
Senior Member
Posts: 56
Joined: Fri May 21, 2004 12:53 am

Vensim 8 External functions documents & help

Post by mike » Thu Aug 29, 2019 9:34 pm

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

Administrator
Super Administrator
Posts: 3364
Joined: Wed Mar 05, 2003 3:10 am

Re: Vensim 8 External functions documents & help

Post by Administrator » Thu Aug 29, 2019 10:56 pm

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?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559

mike
Senior Member
Posts: 56
Joined: Fri May 21, 2004 12:53 am

Re: Vensim 8 External functions documents & help

Post by mike » Fri Aug 30, 2019 12:07 am

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.

Administrator
Super Administrator
Posts: 3364
Joined: Wed Mar 05, 2003 3:10 am

Re: Vensim 8 External functions documents & help

Post by Administrator » Fri Aug 30, 2019 9:23 am

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.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559

mike
Senior Member
Posts: 56
Joined: Fri May 21, 2004 12:53 am

Re: Vensim 8 External functions documents & help

Post by mike » Fri Aug 30, 2019 3:53 pm

Much appreciated.
I guess 'Senior' refers to age, not knowledge , for me.

tomfid
Administrator
Posts: 2764
Joined: Wed May 24, 2006 4:54 am

Re: Vensim 8 External functions documents & help

Post by tomfid » Tue Sep 03, 2019 2:16 pm

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.

RWTH_FCN
Senior Member
Posts: 113
Joined: Wed Feb 08, 2017 9:10 am
Vensim version: DSS

Re: Vensim 8 External functions documents & help

Post by RWTH_FCN » Wed Oct 02, 2019 9:26 am

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,

Administrator
Super Administrator
Posts: 3364
Joined: Wed Mar 05, 2003 3:10 am

Re: Vensim 8 External functions documents & help

Post by Administrator » Wed Oct 02, 2019 11:23 am

You will need to recompile the DLL using a 64 bit compiler.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559

RWTH_FCN
Senior Member
Posts: 113
Joined: Wed Feb 08, 2017 9:10 am
Vensim version: DSS

Re: Vensim 8 External functions documents & help

Post by RWTH_FCN » Wed Oct 02, 2019 1:06 pm

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

Post Reply