CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010

    console app works on XP but not on Server 2003 -- bad dependency?

    I have a C++ console executable module build in VS2008. To run it requires some MS components to be installed, namely:
    -- Visual C++ 2005 Redistributable Package
    -- Window Media Encoder 9 Package
    The module runs fine on all XP machines I tried but fails to load on a Windows Server 2003 R2 box (more precisely MS Windows Server 2003 R2 Standard Edition SP2). When it fails to load, it produces a very generic error message which gives me no clue as to what is actually going on. The very 1st statement in the module is a printf so since nothing gets printf'd, it seems that the problem might be with one of the above components the module depends on.

    Do you to know if there are versions of these modules specifically for MS Windows Server 2003? What else could be going wrong?

    thanks much!

  2. #2
    Join Date
    Apr 1999

    Re: console app works on XP but not on Server 2003 -- bad dependency?

    What was the error message? What made you assume it has anything to do with the installation? Maybe your program just has a bug.

    Just because your program "works" on various computers and fails on another doesn't mean it's an installation issue. Since you provided no real information except "my program doesn't work on another version of Windows", there is nothing that can be stated except for you to actually debug on that machine or do a more thorough job of logging messages in your application as to what's going on.


    Paul McKenzie

  3. #3
    Join Date
    May 2000
    KY, USA

    Re: console app works on XP but not on Server 2003 -- bad dependency?

    Just pointing out the obvious....did you install the required packages? And additionally packages your application requires but are not installed on Windows Server 2003 by default?

    Windows Server is a server operating system and thus restricts many of the standard things Windows has right out of the box. would actually help to post the "generic" error message here...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width