Re: Program crashes in msvcrt.dll

Tech-Archive recommends: Fix windows errors by optimizing your registry



It is not necessary for the development machine to be the same os-version as
the target machines. Sometimes it is necessary to build specific versions
of your application on a per-os-version basis.

You should run the application under the debugger on the machines that have
a problem, and look at the call stack when it crashes. There is a defect in
your application that should be pretty easy to spot.


"MarkV" <MarkV@xxxxxxxxxxxxxxxx> wrote in message
news:56BCF097-490D-4297-8F6A-6EAF8E2DB575@xxxxxxxxxxxxxxxx
> We've got this issue where our application crashes when deployed on either
> Windows 2003 Server or Windows 2000 Server. We develop under Windows XP
Pro
> using VC++ SP6. We found on Windows 2003 Server, it we place the
user32.dll
> and msvcrt.dll from our development machines into the running directory on
> production machine running Windows 2003 Server, the crashes stopped
occuring.
> We were about to implement the same solution on W2K Server and found using
> Dependency Walker that this probably wouldn't work since XP is newer than
W2K.
>
> We just happen to have a spare machine where we are still running W2K
> Server. We are going to put the development environment there and then
grab
> the DLLs from that machine in order to deploy into production.
>
> My question is: Is it usually necessary to build the application on the
> version of the OS that it is going to be deployed on?
>
> I read an article about the Vcredist.exe, but it talks about Windows 98
and
> NT4.0 only.
>
> --
> Mark V
> Senior Software Architect


.



Relevant Pages

  • Re: Frontpage 2003 crashes when applying DWT
    ... - that means you just need to publish to a DBW to run the updates, then publish changes back to the server ... For the crashes, have you tried the usual repairs in the sequence below: ... In Windows Explorer Find and delete all FP Temp Files ... To find the best Newsgroup for FrontPage support see: ...
    (microsoft.public.frontpage.client)
  • role/group authorization not recognizing user groups.
    ... My application does not allow anonymous access, and integrated windows ... I have verified the users are members of the groups and that host is ... aware of the groups (double checked by restarting the server.. ... My development machine is an XP SP2 machine and the IIS server is a ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Program crashes in msvcrt.dll
    ... Server machine, the crashes do not occur. ... The call stack points to USER32 and MSVCRT. ... the USER32 DLL is trying to display a Windows ...
    (microsoft.public.vstudio.development)
  • installing Sharepoint Service 3.0 Tools for VS 2008
    ... I have a Sharepoint server running on Windows 2003 Server. ... to do some custom Web parts using VS 2008. ... does my development machine need to be running Windows Server 2003 in order ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: Getting rid of error prompt
    ... A quick search on Google for 'how to disable windows ... >I run a gaming server and every time someoen crashes the ... >server (I CANNOT PREVENT THIS OR CHANGE THE PROGRAM NOT ... >then click OK to terminate or CANCEL to debug ...
    (microsoft.public.windowsxp.general)