tags:

views:

62

answers:

3

Hi Friends,

My application crashes with an error saying "Demo Application pk/si component has stopped working". The systems Event Viewer log shows an error with the following details.

"Faulting application Demo.exe, version 1.0.0.1, faulting module OLEACC.dll,version 4.2.5406.0, time stamp 0x4549bd93,exception code 0xc0000005,fault offset 0x00004062,process id 0x154c,application start time 0x01c9ee94aab4c550"

I am using Windows Vista Home Premium edition and the application which i created was a Vc++ SDI application.

Please let me know if anyone have come across this issue and what could be the possible solution for the same.

Thanks in Advance,

+1  A: 

It looks like good old access violation to me. It looks like you writing/reading from an invalid memory location in your application.

Naveen
A: 

It's most likely a bug somewhere in your code that is passing invalid values to some Windows functions, and somewhere further down the line this results in a crash. Just because it isn't your DLL where the crash occurs doesn't mean it isn't your fault!

Although this isn't very helpful, all you can do is hook up a debugger to your program and reproduce the crash, then debug it.

DavidK
A: 

I assume you don't have VS installed where you experience the error (if you do, you can just run the app from within VS).

In production environments, you can use adPlus to monitor your app, and create a dump should it crash. You can then either open the dump with windbg on site (make sure you have the PDB with the exe), or take it back to your dev env and run it in VS. Either way, you'd eventually get the full call stack that led to the error, including the values of most of the variables.

eran