LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Actgive-X 3-D Control Help

Solved!
Go to solution

I am having difficulty making this project with an Active-X 3-D control incorporated into it.  Essentially, I have included the "3DGraphCtrl.h" header file at the top of my source code, and for some reason, every single library function is causing an error described s follows:

 

  Undefined symbol '_CW3DGraphLib_CWCursor3DGetYPosition@12' referenced in "My Project.c".

 

As mentioned, this is listed for EVERY FUNCTION I use in the CVI active-X library.  I open the 3DGraphCtrl.h file - I see the definition for the functions I am using.  I include the header file in a single 'c' file, put all my function prototypes listed after the include that involve the active-X control, I have all the variables that I am using made global in the 'c' file just before main.  I get no compile errors, just the errors that I am talking about above.  I made a stand-alone project that all my functions for the active-X control to validate that they work.  I copy & paste them into another project, then it goes to garbage.  What silly thing am I doing wrong?  Any ideas will be greatly appreciated.  

 

Chris

0 Kudos
Message 1 of 3
(3,477 Views)
Solution
Accepted by topic author Chrisg101080
You should try adding the .fp file. Up at the top click Instrument and then load. Find 3DGraphCtrl.fp and add it to your project. I think this will fix your errors.
Message 2 of 3
(3,473 Views)

I believe that you are right.  When I was building the project before which I can call my template for inserting a 3-D plot I built the project initially using the CVI generate all code option in the *.uir editor.  I noticed that the instrument driver was included in the build of my template program whereas the project I was trying to incorporate the 3-D control into did not include the instrument driver.  I knew it had to be something simple.  Thank you for your help. 

 

Chris

0 Kudos
Message 3 of 3
(3,464 Views)