Why obviously ? Seing your error and the fact that you are sure that you have a body for your function, then I would say that it is obvious that the file is not added to your project.
I am talking here about the cpp file, not the h file. How did you add this file to your project ?
Can you also post the function prototye (which is in the header file) and the function body (which is in the cpp file) ? Please use the code tag to format the code properly when posting.
The arguments of the function prototype do not match the arguments of the function definition if UNICODE is defined (in which case, LPCTSTR will resolve to a wchar string, and not a char string). So, replace the char in the function prototype by the same LPCTSTR and this should fix your problem.
The error message seems to be saying:
A function with the signature int __cdecl RecordExceptionInfo(struct _EXCEPTION_POINTERS *,char const *) is referenced in the file "ExceptionAttacher.???" from the function int __stdcall AfxWinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,wchar_t *,int). Clearly the function int __cdecl RecordExceptionInfo(struct _EXCEPTION_POINTERS *,char const *) is declared or we would have a compiler error instead, but it's not defined or the file it's defined in is not included in the project because the linker can't find it.
PS: Why the function AfxWinMain defined in "ExceptionAttacher.xxx"? This function is part of the MFC framework and not meant to be user defined.
I want to get search update for remote machine.Means how many updates it wants and all.
how do i use WUA API for remote machine please help me .I Visited microsoft website but not get proper idea.
I want to hide 'X'-box or Close-box (which we can find at the Top-right corner of a Dialogbox). Only i need to remain Minimize-box in my dialog. Can any one please help me ,what should be the code to hide this box in MFC.