Search found 3 matches

by larry_bar56
Fri Jan 11, 2008 3:06 pm
Forum: XLSReadWriteII 3/4/5
Topic: Linker Error using TFormatedObject.NumberFormat
Replies: 4
Views: 3795

Hello The name GetNumberFormat is #DEFINED in a windows api file (don't remember which), and replaced with GetNumberFormatA. Lars Arvidsson Thanks! That allowed me to find a work around. I'll publish it here so others can use it as well. The file that defines GetNumberFormat is winnls.h (at least t...
by larry_bar56
Wed Jan 09, 2008 2:19 pm
Forum: XLSReadWriteII 3/4/5
Topic: Linker Error using TFormatedObject.NumberFormat
Replies: 4
Views: 3795

Hello The C++ preprocessor replaces the GetNumberFormat method with GetNumberFormatA. Right now there is no solution to this. Lars Arvidsson Why does the preprocessor do that? Is this a name mangling issue? I searched every .hpp file for any reference to GetNumberFormatA and found none. So, I belie...
by larry_bar56
Mon Jan 07, 2008 9:07 pm
Forum: XLSReadWriteII 3/4/5
Topic: Linker Error using TFormatedObject.NumberFormat
Replies: 4
Views: 3795

Linker Error using TFormatedObject.NumberFormat

I'm using XLSReadWriteII3.0 with Borland C++ Builder 6. I use c = XLS->Sheets->Items[0]->Cell[col][2]; to get a cell reference but if I try: c->NumberFormat; the project will not link with the following error: [Linker Error] Unresolved external '__fastcall Formattedobj2::TFormattedObject::GetNumberF...