How to implement pinvoke in ventuz

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
dotajink
Posts: 11
Joined: 30 Nov 2016, 08:46

How to implement pinvoke in ventuz

Post by dotajink » 02 Nov 2019, 03:33

Hi !
I have a dll written in C++. I want to use ventuz to call the method inside. What should I do? It is very easy to use visualstudio, but what should I do in ventuz?

User avatar
lerou
Posts: 315
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: How to implement pinvoke in ventuz

Post by lerou » 02 Nov 2019, 09:36

If you know how to do it in VS, just build a wrapper library in C# and use that assembly in a Ventuz C# scripting node. Or do it directly in the scripting node. Shouldn't be a problem using DLLImport in C#.

Post Reply