LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

excelreportdemo project link error with CVI2010 on windows 7, 64-bit operating system

Solved!
Go to solution

I am trying to run the excelreportdemo project in CVI2010 on windows 7, 64-bit operating system. I have the Excel2013 installed as well. I have chosen the build configuration as release or debug for 32 bit system so to be compatible for the test platform for production.

 

However, I get 12 Project link errors as following:

 

Undefined symbol '_ExcelRpt_RangeBorder@24' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WriteDataFromTableControl@16' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_SetCellValue' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_SetCellRangeAttribute' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ChartAddtoWorksheet@40' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ChartWizard@52' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_SetChartAttribute' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WorkbookNew@8' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ApplicationNew@8' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_ApplicationQuit@4' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WorkbookClose@8' referenced in "excelreportdemo.c".
Undefined symbol '_ExcelRpt_WorksheetNew@12' referenced in "excelreportdemo.c".

 

I have found a previous dicussion back in 2007. Unfortunately it did not help for the same problem on my new machine and CVI2010. Could anyone give me help on this/

 

Thanks!

 

Yuwei

 

 

0 Kudos
Message 1 of 4
(4,180 Views)

The previous discussion link is pasted below:

 

http://forums.ni.com/t5/LabWindows-CVI/Problems-adding-the-activex-instrument-experiencing-undefined/m-p/580608/highlight/true#M31390

 

It did not solve my problem, but may spark your idea of helping me.

 

Thanks a lot!

 

Yuwei

0 Kudos
Message 2 of 4
(4,179 Views)
Solution
Accepted by topic author yuweiluo

I get it worked after I removed the excelreport.fp from the Customize Library Menu. The excelreport.fp was added into the Customize Library Menu for my other work project, which but had similar problems. It seems CVI is getting better and better, so that you don't need extras as it was before. Don't add reduntant libs.

 

setup.jpg

0 Kudos
Message 4 of 4
(4,174 Views)