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

  • Home
  • SEARCH
  • 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 9189255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:12:00+00:00 2026-06-17T20:12:00+00:00

I have an app which instantiates a local OLE server. Under certain conditions this

  • 0

I have an app which instantiates a local OLE server.

Under certain conditions this server opens a dialog box in response to a call to one of it’s exposed methods.

Do by any means there is a possibility to suppress this box, or somehow “auto-confirm” it?

The issue is the app shall run as scheduled task, and hangs if the dialog pops up.

I have access to the app’s sources, but not to the OLE server’s sources.

This is on win2k3.

  • 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-06-17T20:12:01+00:00Added an answer on June 17, 2026 at 8:12 pm

    I solved this issue by a somehow more or less reliable workaround, depending on the uniqueness of the pop-up window’s text caption.

    I wrote a small program, which scans all top-level windows using EnumWindows(), graps their caption using GetWindowText(), compares the caption to a pattern provided on program startup and if a match occurs posts (using PostMesssage()) a WM_CLOSE to this window.

    This process is repeated every T milli-seconds.

    This programm is run in parallel to the process creating the OLE server which opens the unwanted pop ups and closes them latest after T milli-seconds.

    If run every 1000ms seconds no visible system load appears.

    Using VC10 the binary is very light weighted (<8k), the only dependency is msvcr100.dll, no setup is needed, if the latter is put in the same directory as the binary itself. I built it on win7 and it runs seamlessly under win2k and win2k3 … 🙂

    The sources to this solution (along with VC10 solution/project files) can be found here: https://github.com/ealk/wd

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

Sidebar

Related Questions

I have an app which requires downloading image asynchronously in base64 encoded string(server is
I have an app which connects to xml generated by server. I would like
This error very strange. I have a bunch of properties in app delegate which
I have app in which i have recorded sound files i want that i
I have a app which will download a file from web. The download action
I have an app which has a map and some POI on it. I'm
I have an app which contain some images in res/drawable/ and shows them in
I have an app which access an app folder on a per user basis.
I have an app which is based on a UINavigationController . There is a
I have an App which receives a SQLite database to read some data 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.