Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
pfsdanny is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem with sysinfo
Next Topic: Linux "start" equivalent
Goto Forum:
  


Current Time: Fri May 10 23:27:51 CEST 2024

Total time taken to generate the page: 0.02139 seconds