LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

error code -86 in samples\dll\simple\cvi\simple.cws

When I build the above sample project as per the instructions given in the readme file, I get following NON-FATAL RUN-TIME ERROR:

The callback function, XXXXXXX, 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.
0 Kudos
Message 1 of 2
(3,030 Views)
Ghostrider,

What version of CVI are you using? I opened the example in CVI 7 and was able to compile it fine; it required me to change manually the active project to build first the dll, then switched back to the Simple project and was able to run it just fine. Here are the steps that I followed:

  1. Open the example.
  2. Go to "File>>Set Active Project>>MyDll"
  3. Go to "Build>>Create Dubuggable DLL" (This builds the DLL that we'll use)
  4. Go to "File>>Set Active Project>>Simple"
  5. Compile and run the project. It should call the dll and launch the uir.


I hope this helps, please let me know if you have more details on this.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(3,030 Views)