x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Using c++ to call specality managed C# dll

So I've been working on this issue for months now, and have finally decided to make a post about it because its driving me crazy. My mate and I have been working on a project dealing with lighting software protocol called ArtNet which currently were receiving data from via a hacked up C++ to C# socket setup that is very very very unreliable and a major performance hit because the data is constantly streaming at very high rates. We want to cut the over head and bring the data directly in to Unreal, however the only library that we've been able to find that will compile under windows is this C# library

https://github.com/MikeCodesDotNet/ArtNet.Net/tree/master/eDmx.ArtNet

What we would like to know is is there any way at all to make this dll work with our existing C++ code to bring the data into the blueprint scripting interface via blueprint callable? Any assistance would be greatly appriciated this has been an issue going on now for about 4 months now we've been trying to find a better solution and this is the only avenue that we could think of to bring the data directly in via library and cut networking overhead.

Product Version: UE 4.11
Tags:
more ▼

asked May 22 '16 at 12:04 AM in C++ Programming

avatar image

djshadowxm81
1 1 1 2

avatar image eduardfrigola May 30 '16 at 03:27 PM

Hi!

I'm new to Unreal and I want to achieve the same as you want (I think), to integrate the artnet library into unreal using c++ classes. For controling virtual lights using artnet protocol.

I have used successfully a implementation of artnet protocol called libartnet writen in C, that you can use directly into c++. I used it with openframeworks projects, in c++.

I don't now if you can use external libraries in Unreal, I'm still learning how Unreal Engine works.

I leave you the link to libartnet and it's documentation.

https://www.openlighting.org/libartnet-main/

https://www.openlighting.org/libartnet-main/libartnet-download/

I will be working on it myself too, I will let you know if I get something, I hope this helps!

Eduard.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I used this page as a reference to add an AI dll to my project.

more ▼

answered May 31 '16 at 08:26 AM

avatar image

staticvoidlol
2.6k 95 41 111

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question