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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:18:34+00:00 2026-05-10T17:18:34+00:00

I have written something that uses the following includes: #include <math.h> #include <time.h> #include

  • 0

I have written something that uses the following includes:

#include <math.h> #include <time.h> #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <commctrl.h> 

This code works fine on 2 machines with the Platform SDK installed, but doesn’t run (neither debug nor release versions) on clean installs of windows (VMs of course). It dies with the quite familiar:

--------------------------- C:\Documents and Settings\Someone\Desktop\DesktopRearranger.exe --------------------------- C:\Documents and Settings\Someone\Desktop\DesktopRearranger.exe  This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.  --------------------------- OK    --------------------------- 

How can I make it run on clean installs? Which dll is it using which it can’t find? My bet is on commctrl, but can someone enlighten me on why it’s isn’t with every windows?

Further more, if anyone has tips on how to debug such a thing, as my CPP is already rusty, as it seems 🙂

Edit – What worked for me is downloading the Redistributable for Visual Studio 2008. I don’t think it’s a good solution – downloading a 2MB file and an install to run a simple 11K tool. I think I’ll change the code to use LoadLibrary to get the 2 or 3 functions I need from comctl32.dll. Thanks everyone 🙂

  • 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. 2026-05-10T17:18:35+00:00Added an answer on May 10, 2026 at 5:18 pm

    Use Dependency Walker. Download and install from http://www.dependencywalker.com/ (just unzip to install). Then load up your executable. The tool will highlight which DLL is missing. Then you can find the redistributable pack which you need to ship with your executable.

    If you use VS2005, most cases will be covered by http://www.microsoft.com/downloads/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en which includes everything needed to run EXEs created with VS2005. Using depends.exe you may find a more lightweight solution, though.

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

Sidebar

Ask A Question

Stats

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

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

    • 7 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'm not very familiar with ManualResetEvent, but based on the… May 11, 2026 at 11:54 pm
  • Editorial Team
    Editorial Team added an answer You can always create a resource like this: <Setter x:Key="setter1"… May 11, 2026 at 11:54 pm
  • Editorial Team
    Editorial Team added an answer You could use the StAX API to filter out empty… May 11, 2026 at 11:54 pm

Related Questions

I have two (UNIX) programs A and B that read and write from stdin/stdout.
I've written a setup.py script for py2exe, generated an executable for my python GUI
Is there a simple way to run a Python script on Windows/Linux/OS X? On
I am trying to get a header that will work with Apache, IIS 6,

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.