windows - Creating or Modifying SecurityDescriptors in Visual C++ 6.0 -
OK, I have Windows Dev platform, a copy of Windows XP box and Visual C ++ 6.0 I am trying to create or modify a security descriptor for the service. My initial idea of other answers (and some reading) was that I should use the Constworth Street Security descriptor security agencies to set up my security descriptor.
except for this ... there is a shortage of headers for this function to install my VC ++ 6.0 (according to SDDLH MSDN).
Is anyone protecting me / narrator? I would be happy if I could run through an existing (I QueryServiceObjectSecurity) and just finish a few users, but I can not understand how to do this, which is just looking at MSDN.
Alternatively, if someone can tell me in the direction of calling this function without proper headers, then it will be fine.
A clear answer rebault: I can try to get IT to install a new version of VC ++ on my system, but the last time I got anything related to IT Asked if he took 7 weeks to answer. Since I want to do this in the next week or two, I think IT will not cure this question from time to time for me.
In theory, you do not need a new compiler, just an updated SDK, in fact, VC ++ 6 is too old to have trouble in parsing the headers for the existing SDK.
As an alternative to this, you can indicate the exact type of actions in your code, then get the LoadLibrary
and GetProcAddress
, then call the function through those pointers.
On one hand, though, let's say that I doubt that the imagination you have done will do the work. Whatever I have tried, I've never tried to do this, so it is always possible that I am wrong, but every time I have anything security descriptor, DACL, SACL, windows In the beginning, it seemed like the end of the code significantly was more complex than the beginning and even very weak anything would generally require at least two hundred line codes Is ...
Comments
Post a Comment