#include "A.hpp"//调用的下级头文件都要包含进来
#include <uf.h>
#include <uf_ui.h>
extern DllExport void ufusr( char *param, int *retcode, int param_len )
{
if(stricmp(param,"DS_tool1")==0)
{
//uc1601("用户点击的是按钮1",1);
char *filename = "D:\HB_MOULD\application\UTD1.utd";
logical read_flag = TRUE;
UF_UI_create_usertool(0, filename, UF_UI_SHOW, &read_flag);
}
else if(stricmp(param,"DS_tool2")==0)
{
char *filename = "D:\HB_MOULD\application\UTD2.utd";
logical read_flag = TRUE;
UF_UI_create_usertool(0, filename, UF_UI_SHOW, &read_flag);
}
else if(stricmp(param,"DS_STANDARD")==0)
{
BlockStyler1 *dialogB = new BlockStyler1();
dialogB->Show();//启动代码的入口函数
}
else if(stricmp(param,"DS_luosi")==0)
{
//uc1601("用户点击的是按钮4",1);
char *filename = "D:\HB_MOULD\application\UTD1.utd";
logical read_flag = TRUE;
UF_UI_create_usertool(0, filename, UF_UI_SHOW, &read_flag);
}
}
extern int ufusr_ask_unload( void )
{
return( UF_UNLOAD_IMMEDIATELY );
}