Application crash with "user32.dll"

  • Thread starter Thread starter R-V-R
  • Start date Start date
R

R-V-R

Guest
Hi All,

We are having an application (Windows Service), developed with Visual Studio 2012 (VC++). And it is running successfully on all the versions of Windows. But we are now seeing that our application is crashing with Windows 7 (32 bit), and the module name is 'user32.dll'. The call stack shows it is with Service Stop method in our project. Here is the sample code and the screenshot of the call stack:

void CClientDlg::StopService(void)
{
try
{
if(!g_bRelease)
{
if(!g_bIsStopService)
g_bIsStopService = true;
ReleaseAllAssigned(g_bRelease,true);
}
CDialog::OnCancel();
}
catch(...)
{
WriteErrorLog("StopService()");
return;
}
}// Line 560


1338351.jpg

Kindly help us to solve this issue.

Note: cwClient.exe is our Windows service application.

Thanks,

RVR

Continue reading...
 
Back
Top