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 694069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:49:08+00:00 2026-05-14T02:49:08+00:00

I have an ActiveX control that I’m loading with JavaScript in Internet Explorer. It

  • 0

I have an ActiveX control that I’m loading with JavaScript in Internet Explorer. It needs to run as medium integrity under UAC in Vista and Win7. This is written in C/C++, compiled in Visual Studio.

One way to elevate privileges is to create a broker process that can request a medium integrity level. However, for this project, this is not a practical solution. I really need the ActiveX control itself to run elevated.

My question is: what’s the easiest way to do this? Can I change the build options on the project to be an exe, and use the COM interprocess connect system to automatically handle the communications, or do I need to be more sophisticated? Do I need to do anything complicated like manually call CreateProcess and make some kind of broker, or can it just work as an ActiveX exe that elevates itself?

  • 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-14T02:49:08+00:00Added an answer on May 14, 2026 at 2:49 am

    It mostly depends what your ActiveX control does, how you embed it in a page and how it is implemented.

    The simplest approach would probably be to implement it as a server EXE, register it as appropriate and then give the executable permissions to run at medium in the Low Rights Elevation Policy.

    If you don’t want to go that far you could write a simple custom out-of-process server which again you register and you implement your own IClassFactory to proxy creation requests into the existing DLL. You could even add an AppID key for your existing object and specify it is a DllSurrogate though (other than registering it as a COM+ application) you might not be easily able to force creation of the object in the surrogate (because the default for IE is to specify CLSCTX_ALL when creating objects which will pick up the in-process registration first).

    Of course after all that if your code makes too many assumptions about where it is or uses any non-proxied interfaces it might not work anyway.

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

Sidebar

Related Questions

I have an ActiveX control written in C++ that runs in Internet Explorer 8.
I have an ActiveX control that works fine in Internet Explorer and the ActiveX
I have an ActiveX control that runs on a website, where the old version
I have got an ActiveX Control that gets an image from a fingerprint device
I have the unenviable task of maintaining an ActiveX control that expects OLE_Colors as
I have an ActiveX control that has both 32 and 64 bit versions for
I have an ActiveX control written in C++ that I created with VS2008 and
I have an activex control, that I developed myself. The activex runs in a
We have a Windows Forms application that uses a (third party) ActiveX control, and
I have a Win32 application that includes an EXE, an ActiveX control (DLL) and

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.