I have my little client application which – when started – creates some user defined objects on the heap via “new”
pHistory = new CHistory;
This was no problem and everything ran fine until yesterday.
I wanted to deploy my application and did decide to use a “Setup Project” from Visual Studio 2010. http://msdn.microsoft.com/en-us/library/dd293568.aspx
But a few minutes ago, when I tried to run the program ( I did not do any changes after the deployment yesterday ), it throws an unhandled exception
Unhandled exception at 0x55b259da
(msvcr100d.dll) in CLient.exe:
0xC0000005: Access violation reading
location 0xccccccc0.
And I can not imagine, why… I already deleted the Setup Project from the solution, but that did not change anything…
If there are some changes in the project settings, made by the Setup project, I don´t know where and what…
Is anyone familiar with this or may help?
Thank You.
EDIT: this happens when i debug the application via visual studio… not on another computer where i deployed it!!!
My newbie fix to this problem is to create a new solution and insert every file from the old one to this new one.
It works fine, now…
But I am still not sure what caused this problem… I am still believing in the cause due to the setup project… but the other answerers told me it is not the cause :/…