Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

2 Identical Programs; Only 1 asks for elevation

I am having an interesting problem when compiling my programs on win32 (mingw). I have 2 identical projects, both created in C::B. When compiling one, it runs just fine without requiring elevated permissions, but the other prompts the user with the "Allow program to make changes to computer etc.." dialog. I would like the app to not prompt the user, as it does not need elevated privs.

This is under Win7 x64.

Could this be a Code::Blocks issue, or a compiler issue?

Thanks!

like image 769
dymk Avatar asked Jul 05 '11 23:07

dymk


1 Answers

It turns out Win7 marks files with "update" (not case sensitive) in the name as needing elevated permissions. So yea, worth knowing for future

like image 102
dymk Avatar answered Oct 05 '22 01:10

dymk