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"

Trying to load a DLL - File is there but loading process fails

I created a DLL using this tutorial: https://wiki.unrealengine.com/Linking_Dlls

I followed it exactly, with the only difference being this line:

 FString filePath = FPaths::Combine(*FPaths::GameDir(), TEXT("Binaries/Win64/"), TEXT("UnrealScreenshotDLL.dll"));

When debugging I can see that the path is correct, but the code fails on this line:

 DLLHandle = FPlatformProcess::GetDllHandle(*filePath);

I've tried both 32 and 64 bit files but still no joy. For some reason I am unable to step through the code as the breakpoints in 'GetDllHandle' are not triggered.

Would appreciate any help with this as I have been stuck on it for hours now. Is there anything else I could be missing?

Thanks,

Jamie

Product Version: UE 4.10
Tags:
more ▼

asked Feb 12 '16 at 12:05 PM in C++ Programming

avatar image

jamiewhitephd
48 6 13 17

avatar image jamiewhitephd Feb 13 '16 at 02:11 PM

Please? Anyone?

(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