Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



GetLastError() in VC++ Win32 Display the Value in a MessageBox

Home    VC++    GetLastError() in VC++ Win32 Display the Value in a MessageBox

       



MsgBox(_ltoa(GetLastError(),str,16));


HWND hWid;
void MsgBox(char* msg)
{
	MessageBox(hWid,msg,msg,0);
}

This would display the errocode returned by the GetLastError Function. 





  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam