Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 593385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:50:25+00:00 2026-05-13T15:50:25+00:00

OK, the Windows dev platform I have is a Windows XP box and a

  • 0

OK, the Windows dev platform I have is a Windows XP box and a copy of Visual C++ 6.0. I’m trying to create or modify security descriptors for a service. My initial thought from other answers (and some reading) was that I should use ConvertStringSecurityDescriptorToSecurityDescriptor to setup my security descriptor.

Except…my install of VC++ 6.0 lacks the headers for this function (sddl.h according to MSDN).

Can anyone point me to other APIs for creating/modifying Security Descriptors? I’d be happy if I could walk through an existing one (I can QueryServiceObjectSecurity) and just eliminate certain users, but I can’t figure out how to do that just looking at MSDN.

Alternately, if someone could point me in the direction of how to call this function without proper headers, that would be fine.

Obvious answer rebuttal: I can (and will) make an attempt to get IT to install a newer version of VC++ on my system, but the last time I asked IT about anything significant it took 7 weeks for them to respond. Since I’d like to get this done in the next week or two, I think IT is not going to fix this question for me in a timely manner.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:50:25+00:00Added an answer on May 13, 2026 at 3:50 pm

    In theory, you don’t need a newer compiler, just an updated SDK. In reality, VC++ 6 is old enough that it may have trouble parsing the headers for a current SDK though.

    As an alternative to that, you could declare pointers to the correct types of functions in your code, then use LoadLibrary and GetProcAddress to get the addresses of the correct functions, then call the functions via those pointers.

    As an aside, however, I’d point out that I doubt what you’ve envisioned will work. I’ve never tried to do exactly what you’re trying, so it’s always possible I’m wrong, but every time I’ve done anything manipulating security descriptors, DACLs, SACLs, or anything similar in Windows, the code’s ended up considerably longer and more complex than it initially seemed like it should. Even something extremely trivial generally requires at least a couple hundred lines of code…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Windows Forms allows you to develop Components, non-visual elements that can have a designer.
What is the equivalent of /dev/null on Windows?
For Web-dev, can the PHP Processor be installed on a regular Windows XP machine,
Windows API ::FindWindow function fails when called from Service application. GetLastError() also returns 0
Windows has a feature that allows an administrator to perform auto-logon whenever it is
Windows XP Disk Defragmenter report shows a constant gap in disk usage on a
Windows Forms: For System.Drawing there is a way to get the font height. Font
Windows Mobile pops up a busy wheel - a rotating colour disk - when
Windows has GetFileTime API which allows getting file time information by open file handle.
Windows 6 (Vista and Server 2008) support proper symbolic links, which can be created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.