I have created a CVI project(using NI Measurement Studio AppVizard) in visual C++6.0. This application will load a .uir file "test.h" which was created in CVI6.0. The uir file contains only one button "OK" and the callback function for this button is "OnOK". I have implented the function in file "test.c". I included both "test.h" and "test.c" in the visual c++ project. When I built and run the project, a panel displayed and said:
Error Code: -86
The callback function, OnOK, specified in the UIR file, is
not a known funciton. If you are using an external compiler,
you must include the UIR callbacks object or source file
in the executable or DLL.
I don't know what is the problem.
Could anyone help me?
Thank you very very much.