extern "C" DllExport void ufsta( char *param, int *returnCode, int rlen )
{
/* Initialize the API environment */
int errorCode = UF_initialize();
if ( 0 == errorCode )
{
/* TODO: Add your application code here */
UF_MB_add_actions (action_table);
/* Terminate the API environment */
errorCode = UF_terminate();
}
}
错误提示:
D:\Ccc\Ccc.cpp(81) : error C2440: 'initializing' : cannot convert from '' to 'enum UF_MB_cb_status_e (__cdecl *)(void *,void *,struct MB_activated_button_s *)'
None of the functions with this name in scope match the target type
D:\Ccc\Ccc.cpp(82) : error C2440: 'initializing' : cannot convert from '' to 'enum UF_MB_cb_status_e (__cdecl *)(void *,void *,struct MB_activated_button_s *)'
None of the functions with this name in scope match the target type
/* Terminate the API environment */
errorCode = UF_terminate();
}
/* Print out any error messages */
 rintErrorMessage( errorCode );
}