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"

Exception when trying to use class from dynamic dll

Hi I have a new module to the engine under the 3rdparty folder. I have added both binaries in engine/binaries/thirdparty and include and libs under engine/source/thirdparty. I have created a build.cs file in the source thirdparty folder for the dynamic library I'm trying to integrate. The build module file defines the include path, the library path and the runtime dependencies. I've added the runtime dlls to the delay loaded list. As a test I have modified a file in the Core Module and tried to instantiate a class coming from the library. I have added the module to the Core.build.cs using AddEngineThirdPartyPrivateStaticDependencies. Using AddEngineThirdPartyPrivateDynamicDependencies didn't work. The editor builds and links and runs until I try to create an object from the class define in the new module I've added which depends on the module dlls. I get an Module Not Found exception. I haven't found a way to resolve this. I could get around this by copying the dlls to the editor binaries folder. That seems like a work around. Is there a way to get the dll path for the module added to the editor dll search paths ? Shouldn't this be controlled from the build.cs file ? Any help appreciated. Cheers Pascal.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 16 '18 at 01:32 PM in C++ Programming

avatar image

sd_pascal
6 1

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

0 answers: sort voted first
Be the first one to answer this question
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