I’ve been taking care of all the deprecated warnings in my 4.18 code and changed “FGenericPlatformMisc::ClipboardCopy()” to “FPlatformApplicationMisc::ClipboardCopy()” as demanded by the compiler. It compiles fine, but refuses to link now. The error msg is:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl FWindowsPlatformApplicationMisc::ClipboardCopy(wchar_t const *)
As I understand it, this should be part of the core module which is included in the build. What’s going on here?
Looking at the source, it appears that the extra module you need is “ApplicationCore” (see GenericPlatformApplicationMisc.h)
When i use
i can´t paste the string in another Texteditor with “STRG+V”. I guess i can only paste it inside Unreal with
. But i need the more globay way. Does somebody know how to manage this ? Thanks.
i ran into the seame problem, but What do I need to do, to get this compiling?
A bit late but I was looking into this today:
In the file where you call
FPlatformApplicationMisc::ClipboardPaste, you need to include
Then in your
Build.cs, you will need to add