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"

C++ compiling crash

I work in a University and I am responsible for desktop images and application deployment. I have no practical knowledge of Unreal [4.91] or Visual Studio... Recently the lecturers have started teaching UnrealEngine C++ coding with Visual Studio 2013. We have experienced issues when selecting a C++ based project (the templates included in Unreal) it succeeds to create the project file only to fail while compling:

After several days of me and my colleague banging our heads against brick walls it turns out that if you disable access to the registry through User Group Policy even with Silent Writing to the registry enabled it will cause the C++ compiling to fail leave a project file that is no good.

If you set the User Group policy to allow access to the the registry the compiling will work...

Now from a security point of view in the education environment we would prefer the limit access to regedit to stop users breaking there own user data (some do attempt such things) but as a work around it appears successful.

Is this expected behavior?? Or should it be able to write without the user being able to use Regedit??

Product Version: UE 4.9
more ▼

asked Dec 01 '15 at 12:27 PM in C++ Programming

avatar image

1 1 1

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

1 answer: sort voted first

You might consider running PROCESS MONITOR from Microsoft... https://goo.gl/SmiuHo -- UE4 does use their own Unreal Header Tool (UHT) and its possible that it does indeed write to the registry. But, to find out for sure, I would see what Process Monitor shows......

Agreed though, having write access the reg in an educational environment is not too good.


more ▼

answered Dec 01 '15 at 08:45 PM

avatar image

1.3k 34 13 51

avatar image BUAPat Dec 02 '15 at 08:17 AM

Cheers for the information any pointers are much appreciated.

Yes, we have already used procmon to identify the registry keys though even amending the perms to full control did not allow the application to run. The keys it is writing to are user keys so they have access anyway. With the GPO above set it would not run however with it set to allow access it would.


avatar image teak421 Dec 03 '15 at 12:49 AM

I guess I am confused... If when you compile it writes to the USER portion of the reg and that is writable why would it fail when you restrict access to other aspects of the reg unless the tool is using parts of the reg that is locked down....??? I think I am missing something....

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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