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"

How can I build my game with a module as a dll ?

Hello,

I'm getting issues with the build of my project. In my project I have 2 modules, one is my main module (the game), and the other is a module filled with dllexport function that I use with another c# assembly. this second module is used to make the link between my c# assembly and the first module, the game. Now here is the fun. - If I'm building in monolithic, both of my modules are build into one exe --> I cannot longer use dllexport as it is an exe and not a dll - If I'm building in modular, both my modules are build in dll (yeah \o/), but I got no exe anymore --> I cannot launch the game

Here is how I set the build in modular in the Target.cs files :

 using UnrealBuildTool;
 using System.Collections.Generic;
 
 public class KeaTarget : TargetRules
 {
     public KeaTarget(TargetInfo Target) : base(Target)
     {
         Type = TargetType.Game;
 
         LinkType = TargetLinkType.Modular;
         ExtraModuleNames.Add("Kea");
         ExtraModuleNames.Add("UnrealEntryPoint");
     }
 }

Do you guys have any idea of what I can do ?

Product Version: UE 4.19
Tags:
more ▼

asked Sep 04 '18 at 07:43 AM in Packaging & Deployment

avatar image

benjaml
21 4 4 8

(comments are locked)
10|2000 characters needed characters left

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