Making ObjectHandler example worksheets calculate (?)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Making ObjectHandler example worksheets calculate (?)

vilhauer
Hi,

I am trying to make the objecthelper spreadsheet examples work properly according to the instructions.  I am using Visual Studio and have downloaded the files (gensrc, log4cxx, and ObjectHandler) and compiled the ObjectHandler project successfully.  

I can make the first example - the 2.3.1 console application that is located:

C:\build_ql_0_9_7\ObjectHandler\Examples\C++\bin>ExampleCpp-vc80-mt-0_9_7.exe

work just fine.  However, when I try to follow the "2.3.2 XLL - Static Link" example, I get #NAME errors in the workbook.  My error log (oh_logfile.txt) says:

ERROR - [exampleStatic.xls]objects!$C$29 - ohObjectPropertyValues -

iteration #5 - Unable to convert type 'struct ObjectHandler::empty_property_tag' to type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' - Error in call to Excel: (xlSpecial | 2) callback failed:  Command failed

iteration #6 - Unable to convert type 'struct ObjectHandler::empty_property_tag' to type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' - Error in call to Excel: (xlSpecial | 2) callback failed:  Command failed

I thought it might be related to boost - but then it compiled correctly, so that doesn't make sense....

Thanks in advance,

Tom