风吹裤裆屁屁凉 发表于 2016-4-25 19:35:59

多uir也出现问题

根据论坛里面的例子自己编着试了下
int main (int argc, char *argv[])
{
        if (InitCVIRTE (0, argv, 0) == 0)
                return -1;        /* out of memory */
        if ((panelHandle = LoadPanel (0, "Signal.uir", PANEL)) < 0)
                return -1;
        if ((panelHandle2 = LoadPanel (0, "Signal2.uir", PANEL_2)) < 0)
                return -1;
        if ((panelHandle3 = LoadPanel (0, "Signal.uir3.uir", PANEL_3)) < 0)
                return -1;
        DisplayPanel (panelHandle);
        DisplayPanel (panelHandle2);
        DisplayPanel (panelHandle3);
       
       
       
       
       
        RunUserInterface ();
        DiscardPanel (panelHandle);
        return 0;
}



看看有什么问题吗?
可是调试的时候
老出现
NON-FATAL RUN-TIME ERROR:   "Signal.c", line 18, col 25, thread id 0x00001024:   The callback function, Accumulate, specified in the UIR file, is not a known function.If you are using an external compiler, you must include the UIR callbacks object or source file in the executable or DLL.

这个错误,不知道如何解决

cvifan 发表于 2016-4-27 16:22:24

主函数中哪些是你添加的,一句一句屏蔽去试。有些资源有先后次序问题存在。跟这句之间的次序RunUserInterface ();
页: [1]
查看完整版本: 多uir也出现问题