bvSetCallbackHandler
The function is used to set user's custom handler for messages generated inside
the library. Instead of showing MessageBox'es the end-user can do something
else, for example write the messages into the log file.
BESTVIEWAPI(void) bvSetCallbackHandler(PFNBESTVIEWCALLBACKHANDLER
pfnCallbackHandlerFunc);
Parameters:
-
pfnCallbackHandlerFunc - the callback function. This functioon
must be declared as follows:
void __stdcall BestViewCallbackHandler(LPCTSTR pszErrorText,UINT
code)
{ // do smth. with the error, write to a log file for example
// ::MessageBox(0,pszErrorText,_T("BestView error"),code);
}