Home » Developing U++ » UppHub » Problems with OfficeAutomation (Solved) (old application ok but new comply application fail when AddSheet())
Problems with OfficeAutomation (Solved) [message #44007] |
Thu, 11 December 2014 13:54  |
pfsdanny
Messages: 26 Registered: December 2011 Location: Hong Kong
|
Promising Member |
|
|
TheIde: #5485
Windows 7 32 bit Service Pack 1
Builder GCC (MinGW) 4.8.1
OfficeSheet sheet;
sheet.Init("Open");
if (!sheet.OpenSheet("test.ods", true) sheet.AddSheet("test", true); <<= the AddSheet() return false
I have an old application using the above syntax works ok, but the new application failed. I have try to comply the OfficeAutomation_demo_console from the bazaar and get the same result (fail to AddSheet()). I try to copy the OfficatAutomation.a, OfficatAutomatic.o, OfficeDoc.o and OfficeSheet.o from my old application output folder to the new application output folder, touch the files date time and comply the OfficeAutomation_demo_console again, this time it works.
It seems the newly comply OfficeAutomation files is not working. Does anyone has similar problems. Does the Windows 7 update cause the problem?
Thanks.
[Updated on: Fri, 12 December 2014 15:22] Report message to a moderator
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 00:19:43 CEST 2025
Total time taken to generate the page: 0.00933 seconds
|