logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
pm  
#1 Posted : Saturday, July 30, 2016 10:12:24 AM(UTC)
pm

Rank: Advanced Member

Groups: Registered
Joined: 11/28/2015(UTC)
Posts: 184

Thanks: 10 times
Was thanked: 32 time(s) in 27 post(s)
Hi all

Is there a programmer out there, which is familiar with NDI SDK and VB.Net?

I don't know how I have to add the dll's to my project. The SDK examples are only for C# and for that case there are some interop files available. So I need some guidance for VB.Net...

Thanks for your help!

Regards,
Patrick
jhebbel  
#2 Posted : Saturday, July 30, 2016 2:13:42 PM(UTC)
jhebbel

Rank: Advanced Member

Groups: Registered
Joined: 10/28/2015(UTC)
Posts: 183

Thanks: 7 times
Was thanked: 15 time(s) in 14 post(s)
Better off in c# anyway, not sure if the NDI library is compiled with CLSCompliant.
pm  
#3 Posted : Tuesday, September 27, 2016 6:26:17 AM(UTC)
pm

Rank: Advanced Member

Groups: Registered
Joined: 11/28/2015(UTC)
Posts: 184

Thanks: 10 times
Was thanked: 32 time(s) in 27 post(s)
Some update about NDI SDK and VB.net programming.

After some research and testing, I can say: Yes, it's possible.

A good starting point is the WPF C# example included in SDK.

- You have to translate the C# interop files to VB.net and add these files to your project. There are some online converting services for C# to VB.net translation.
- You also have to translate all the includes and NDI specific functions to VB.net. If you want to create a Windows Form application, you need to replace some WPF specific code and add some new .Net namespaces to your project.

It needs some work, but as I said, it is possible.

Regards,
Patrick
thanks 1 user thanked pm for this useful post.
Stavlin on 9/27/2016(UTC)
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.