I have developed an application using Visual Studio 2005. The application runs fine on Windows XP but crashes on Windows 7 and Windows Vista.

I checked the event logs and saw this:
Code:
Log Name:      Application
Source:        Application Error
Date:          6/3/2011 3:08:06 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      PC-101
Description:
Faulting application name: MyApplication.exe, version: 4.4.3.0, time stamp: 0x4de87adf
Faulting module name: ntdll.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdadb
Exception code: 0xc0000005
Fault offset: 0x00055f95
Faulting process id: 0xed8
Faulting application start time: 0x01cc21bcf1fcbb33
Faulting application path: C:\Program Files\MyApplication\MyApplication.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 3aae04b8-8db0-11e0-abfb-002215c57d9a
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-06-03T07:08:06.000000000Z" />
    <EventRecordID>3387</EventRecordID>
    <Channel>Application</Channel>
    <Computer>PC-101</Computer>
    <Security />
  </System>
  <EventData>
    <Data>MyApplication.exe</Data>
    <Data>4.4.3.0</Data>
    <Data>4de87adf</Data>
    <Data>ntdll.dll</Data>
    <Data>6.1.7600.16385</Data>
    <Data>4a5bdadb</Data>
    <Data>c0000005</Data>
    <Data>00055f95</Data>
    <Data>ed8</Data>
    <Data>01cc21bcf1fcbb33</Data>
    <Data>C:\Program Files\MyApplication\MyApplication.exe</Data>
    <Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
    <Data>3aae04b8-8db0-11e0-abfb-002215c57d9a</Data>
  </EventData>
</Event>
Is compiling the project on Windows 7 and Windows Vista a possible solution? I could try but if its not a solution I would not spend time setting up Vista and W7 development machine.