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

Ask A Question

Stats

  • Questions 297k
  • Answers 297k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer While every row must have a rowguid column, you are… May 13, 2026 at 7:15 pm
  • Editorial Team
    Editorial Team added an answer JOptionPane.showInputDialog() returns always a string which is the user input.… May 13, 2026 at 7:15 pm
  • Editorial Team
    Editorial Team added an answer You can share anything under the GPL. "Hello World", even.… May 13, 2026 at 7:15 pm

Related Questions

Ok, here's the specs: Dev Server: Windows, WAMP, PHP 5+, Codeigniter Live Server: Ubuntu
Ok, I am using Tortoise Subversion in Vista and using VisualSVN on a Windows
I am developping a django app on Windows, SQLite and the django dev server
Note: This question has broadened in scope from previous revisions. I have tried to
I've been looking all over and i can't find anything to fix this problem.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.