Commandlets not marked with _API
It is useful sometimes to run some of the existing commandlets from code. For example, now I'm trying to add extra logic to the localization pipeline. The problem is that I cannot use commandlets in my own modules, because they aren't marked with UNREALED_API! Attempts to call
leads to unresolved external symbol. So, I either have to copy the whole thing into my module or I have to modify the UE4 engine code which is not encouraged in our team.
Is there a way I can execute commandlets in my modules and access their results without marking these commandlets with UNREALED_API in UE4 source code?
asked Feb 02 '17 at 07:41 AM in C++ Programming
If you only need access to a base class interface of virtual functions (like
Keep in mind though that commandlets are intended to be run from the command line, so you probably don't gain anything with this approach over just invoking a command line call.
Thinking about it, if you want to be really evil, you could use a static/C-style cast to cast
Follow this question
Once you sign in you will be able to subscribe for any updates here