Click here to Skip to main content
15,891,880 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

I have list of binaries which are compiled with Visual Studio 2010 and working fine with Windows Server 2003

but when I compiled with Visual Studion 2013 with platform tool set -> Visual Studio 2013 - Windows XP (v120_xp) and binaries are getting crashing at Windows Server 2003.

It is not happening on all Windows Server 2003 but on few servers .

When I created memory dump with debug build, it point out some line in source code where binaries are getting crash is nothing a simple arithmetic calculation like

int a = c+d ;

As per observation from binaries log file, binaries started execution successfully and crashed mid of the execution .

Please guide me what could I do to fix this issue ?

What I have tried:

1. analysed with windb
2. analysed with application verifier tool
Posted
Updated 2-Jun-16 4:57am
Comments
Sergey Alexandrovich Kryukov 2-Jun-16 11:45am    
Hard to say, based on this information.
At this moment, my only doubt is: does the target CPU match the actual CPU on the system where you have crash?
Is one of the platforms IE-64? Is your target platform of the application x86, or something else?
—SA
barneyman 2-Jun-16 18:15pm    
you're guessing until you debug it - windbg or vs remote debugging - the latter is easier, the former less invasive

1 solution

I think that is incompatibility of the VS 2013 to XP. Try to lower some compiler settings like the _WINVER_ macro.

Read the Visual Studio 2013 Compatibility and focus on the fine-printed additions.

Solution: use an older version like VS 2010 to target Windows XP.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900