04-12-2010 03:36 PM
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
Solved! Go to Solution.
04-12-2010 04:22 PM
04-12-2010 05:27 PM
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