Application crash on Window 7

weicai01

New member
Local time
6:45 AM
Messages
2
Hi,
We have a window application (using MFC in a shared DLL and build in Visual Studio 6) which run fine on Window XP but it crashs on Window 7 OP with following exception "unhandled exception in *.exe(user32.dll): 0xC0000005: Access Violation.". The Exception happens on release build and debug build. Could anyone help us how to find the problem.
Thanks.

Wei
 

My Computer My Computer

At a glance

windows 7 ultimate 64 and 32bit
OS
windows 7 ultimate 64 and 32bit
Does the program work OK if you run it in a Windows XP compatibility mode? If you haven't tried that, give that a try. Most programs that run in XP will run in Native Win 7, but there are some exceptions and for those you need to run in a Compatibility mode.

Some also require running as Administrator (even though your log on has Adminstrator rights). To do this RIGHT click on the icon for the program and then LEFT click Run as Administrator.
 
Last edited:

My Computer My Computer

At a glance

Windows 10 64 bitIntel i7 6700K16GB Corsair DominatorIntel CPU Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
My Own Build
OS
Windows 10 64 bit
CPU
Intel i7 6700K
Motherboard
ASUS ROG Maximus VIII Hero
Memory
16GB Corsair Dominator
Graphics Card(s)
Intel CPU Graphics
Sound Card
RealTek
Monitor(s) Displays
27" Dell S2719dgf
Screen Resolution
2560X1440
Hard Drives
1 TB Samsung 850 EVO SSD for Win 10 Pro
500GB Samsung 850 EVO SSD for Win 10 Insider
2 TB drive for backup
PSU
EVGA Supernova 750G2
Case
BeQuiet Silent Base 600
Cooling
Deepcool Captain 120EX
Keyboard
Microsoft Wireless 2000
Mouse
Microsoft wireless
Internet Speed
100 MB/sec (Cable)
Antivirus
Microsoft Defender and Malwarebytes
Browser
Edge/Firefox
Other Info
Cakewalk (Sonar) by BandLab and Studio One 4.1 Pro recording studio software. MOTU 896Mk3 Hybrid recording interface, Frontier Tranzport wireless control unit, Behringer X-Touch Control Surface.
Five USB connected optical drives for CD Audio production using Nero BurningROM
Thanks fireberd.

We did try to run the application as Windows XP compatibility mode or as an Administrator right. But it crash also on both cases.

Thanks.
Wei
 

My Computer My Computer

At a glance

windows 7 ultimate 64 and 32bit
OS
windows 7 ultimate 64 and 32bit
Probably the best way to find this is to instal VS 6 on a W7 machine and run it in the debugger and watch where it halts...

Often times changes in running environments, even subtle ones can expose a bug that was there in the code all along but never got tripped before...
 

My Computer My Computer

At a glance

Windows 7 x64 Ultimatei7 96012 Gig Corsair DominatorNvidia 480
Computer Manufacturer/Model Number
Scratch built
OS
Windows 7 x64 Ultimate
CPU
i7 960
Motherboard
Asus P6X58D
Memory
12 Gig Corsair Dominator
Graphics Card(s)
Nvidia 480
Sound Card
Maudio Delta 44 + breakout box
Monitor(s) Displays
Dell UltraSharp U2410 24in and Samsung 21 dual monitors
Screen Resolution
1920x1200 and 1280x1024
Hard Drives
Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode.
PSU
Corasair TX850
Case
Cooler Master HAF
Cooling
Corsair H50
Keyboard
Logitech G15 + N52 game pad
Mouse
Logitech MX518
Internet Speed
15kbs down 4.5kbps up
Other Info
WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7
Back
Top