NX二次开发 UFUN混合对话框 uc1613
//NX8.0+VS2010
#if ! defined ( __hp9000s800 ) && ! defined ( __sgi ) && ! defined ( __sun )
# include <strstream>
# include <iostream>
using std::ostrstream;
using std::endl;
using std::ends;
using std::cerr;
#else
# include <strstream.h>
# include <iostream.h>
#endif
#include <uf.h>
#include <uf_ui.h>
#include <uf_exit.h>
#include <string>
//#include <NXSigningResource.cpp>
using namespace std;
using std::ostrstream;
extern DllExport void ufsta(char* param, int* returnCode, int rlen)
{
if (UF_initialize())
return;
char cp1[80] = "梅雷提示!请输入参数。"; //【输入】提示标题
char cp2[14][16];
int ip3 = 4; //【输入】参数个数
int ia4[14]; //【输入及输出】参数值 整数
double ra5[14]; //【输入及输出】参数值 实数
char ca6[14][31]; //【输入及输出】参数值 字符串
//ia4 和 ra5 和ca6一起的;ia4是整数,ra5是实数,ca6是字符串
int ip7[14]; //【输入】ip6[n]=100 第n项输入是