<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>libopc</title><link>http://libopc.codeplex.com/project/feeds/rss</link><description>libopc is a standard conformant, cross-platform, open source, standard C-based implementation of Part II &amp;#40;OPC&amp;#41; and Part III &amp;#40;MCE&amp;#41; of the ISO&amp;#47;IEC 29500 specification &amp;#40;OOXML&amp;#41;.   </description><item><title>Closed Task: missing iOS build for build 0.0.2 [794]</title><link>http://libopc.codeplex.com/workitem/794</link><description>the iOS video tutorial in the documentation section is using version 0.0.1 which is wrong as this version does not have mceTextReader_t data type.&lt;br /&gt;&amp;#160;&lt;br /&gt;please make a new build for iOS for version 0.0.2&lt;br /&gt;&amp;#160;&lt;br /&gt;I got the code and I am trying to make the build myself, if it worked fine please allow me to upload it.&lt;br /&gt;&amp;#160;&lt;br /&gt;best regards,&lt;br /&gt;Mahmoud Fayez&lt;br /&gt;</description><author>mfayez</author><pubDate>Thu, 16 May 2013 10:31:19 GMT</pubDate><guid isPermaLink="false">Closed Task: missing iOS build for build 0.0.2 [794] 20130516103119A</guid></item><item><title>Commented Feature: add Zip64 64bit support [165]</title><link>http://libopc.codeplex.com/workitem/165</link><description>Currently Zip64-based OPC container are not supported.&lt;br /&gt;Comments: ** Comment from web user: gemmell ** &lt;p&gt;Would be good to have.&lt;/p&gt;</description><author>gemmell</author><pubDate>Thu, 02 May 2013 00:49:41 GMT</pubDate><guid isPermaLink="false">Commented Feature: add Zip64 64bit support [165] 20130502124941A</guid></item><item><title>New Post: Building libopc for armv7 with clang</title><link>http://libopc.codeplex.com/discussions/441784</link><description>&lt;div style="line-height: normal;"&gt;Hey Florian,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for the input, works like a charm. Just one thing, you can't set the host in your config file so I had to hack it a little to get it to work (set it manually), I don't know if this is intended (or if there is a nicer way to do it) or not, but I though I should write it here if anybody has this problem in the future.&lt;br /&gt;
&lt;/div&gt;</description><author>valentinradu</author><pubDate>Sat, 27 Apr 2013 18:23:21 GMT</pubDate><guid isPermaLink="false">New Post: Building libopc for armv7 with clang 20130427062321P</guid></item><item><title>New Post: Building libopc for armv7 with clang</title><link>http://libopc.codeplex.com/discussions/441784</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div dir="ltr"&gt;Hi,
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;you need to define the platform in the Makefile.platform.xml. I use &lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&amp;lt;platform name=&amp;quot;ios4-debug-gcc-i386&amp;quot; family=&amp;quot;ios-debug-gcc-x86&amp;quot;&lt;span style="white-space:pre"&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;cc=&amp;quot;/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2&amp;quot;&lt;/div&gt;
&lt;div&gt;ld=&amp;quot;/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ld&amp;quot;&lt;/div&gt;
&lt;div&gt;ar=&amp;quot;/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags=&amp;quot;-g -O0 -arch i386 -fno-exceptions -fvisibility=hidden -fstack-protector&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags_c=&amp;quot;-std=c99&amp;quot; cflags_cpp=&amp;quot;-fno-rtti&amp;quot;&lt;/div&gt;
&lt;div&gt;cppflags=&amp;quot;-D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/&amp;quot;
&lt;/div&gt;
&lt;div&gt;ldflags=&amp;quot;-framework Foundation -framework UIKit -framework CoreText -framework CoreGraphics -framework OpenGLES -framework QuartzCore -lstdc&amp;#43;&amp;#43;&amp;quot;/&amp;gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&amp;lt;platform name=&amp;quot;ios4-release-gcc-i386&amp;quot; family=&amp;quot;ios-release-gcc-x86&amp;quot;&lt;span style="white-space:pre"&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;cc=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang&amp;quot;&lt;/div&gt;
&lt;div&gt;ld=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld&amp;quot;&lt;/div&gt;
&lt;div&gt;ar=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags=&amp;quot;-g -Os -arch i386 -fno-exceptions -fvisibility=hidden&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags_c=&amp;quot;-std=c99&amp;quot; cflags_cpp=&amp;quot;-fno-rtti&amp;quot;&lt;/div&gt;
&lt;div&gt;cppflags=&amp;quot;-DNDEBUG -D_NDEBUG -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/&amp;quot;
&lt;/div&gt;
&lt;div&gt;ldflags=&amp;quot;-framework Foundation -framework UIKit -framework CoreText -framework CoreGraphics -framework OpenGLES -framework QuartzCore -lstdc&amp;#43;&amp;#43;&amp;quot;/&amp;gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&amp;lt;platform name=&amp;quot;ios4-debug-gcc-armv7&amp;quot; family=&amp;quot;ios-debug-gcc-arm&amp;quot;&lt;/div&gt;
&lt;div&gt;cc=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang&amp;quot;&lt;/div&gt;
&lt;div&gt;ld=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld&amp;quot;&lt;/div&gt;
&lt;div&gt;ar=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags=&amp;quot;-g -O0 -arch armv7 -fno-exceptions -fvisibility=hidden -mthumb&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags_c=&amp;quot;-std=c99&amp;quot; cflags_cpp=&amp;quot;-fno-rtti&amp;quot;&lt;/div&gt;
&lt;div&gt;cppflags=&amp;quot;-miphoneos-version-min=4.3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk&amp;quot;
&lt;/div&gt;
&lt;div&gt;ldflags=&amp;quot;-framework Foundation -framework UIKit -framework CoreText -framework CoreGraphics -framework OpenGLES -framework QuartzCore -lstdc&amp;#43;&amp;#43;&amp;quot;/&amp;gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&amp;lt;platform name=&amp;quot;ios4-release-gcc-armv7&amp;quot; family=&amp;quot;ios-release-gcc-arm&amp;quot;&lt;/div&gt;
&lt;div&gt;cc=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang&amp;quot;&lt;/div&gt;
&lt;div&gt;ld=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld&amp;quot;&lt;/div&gt;
&lt;div&gt;ar=&amp;quot;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags=&amp;quot;-g -Os -arch armv7 -fno-exceptions -fvisibility=hidden -mthumb&amp;quot;&lt;/div&gt;
&lt;div&gt;cflags_c=&amp;quot;-std=c99&amp;quot; cflags_cpp=&amp;quot;-fno-rtti&amp;quot;&lt;/div&gt;
&lt;div&gt;cppflags=&amp;quot;-DNDEBUG -D_NDEBUG -miphoneos-version-min=4.3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk&amp;quot;
&lt;/div&gt;
&lt;div&gt;ldflags=&amp;quot;-framework Foundation -framework UIKit -framework CoreText -framework CoreGraphics -framework OpenGLES -framework QuartzCore -lstdc&amp;#43;&amp;#43;&amp;quot;&amp;quot;/&amp;gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;on my machine.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div style=""&gt;Let me know whether this works,&lt;/div&gt;
&lt;div style=""&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div style=""&gt;Florian&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;br&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>flr</author><pubDate>Sat, 27 Apr 2013 17:04:13 GMT</pubDate><guid isPermaLink="false">New Post: Building libopc for armv7 with clang 20130427050413P</guid></item><item><title>New Post: Building libopc for armv7 with clang</title><link>http://libopc.codeplex.com/discussions/441784</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Fist of all, thank you for this great lib. I'm trying to build it for armv7 but it seems it's not supported out of the box. I've tried to set the os/ver/toolchain/arch to ios4-debug-clang-armv7 with no luck. Also, it seems the config file only accepts &lt;code&gt;debug&lt;/code&gt; for the &lt;code&gt;clang&lt;/code&gt; toolchain. Is there a easy way to do it?&lt;br /&gt;
&lt;/div&gt;</description><author>valentinradu</author><pubDate>Sat, 27 Apr 2013 16:27:50 GMT</pubDate><guid isPermaLink="false">New Post: Building libopc for armv7 with clang 20130427042750P</guid></item><item><title>New Post: .rels xml missing header</title><link>http://libopc.codeplex.com/discussions/438392</link><description>&lt;div style="line-height: normal;"&gt;Hi Florian,&lt;br /&gt;
thank you for your reply. I'm using the compiled version libopc-sdk-darwin-debug/release-gcc-x64-0.0.3 and do not feel confident to compile the library myself at this stage.&lt;br /&gt;
If you don't mind could you please add this line:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;opcContainerWriteUtf8Raw(out, _X('&amp;lt;?xml version=&amp;quot;1&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;')) &lt;/code&gt;&lt;/pre&gt;

before your next release?&lt;br /&gt;
Thank you for this very useful library.&lt;br /&gt;
Regards,&lt;br /&gt;
Matthias&lt;br /&gt;
&lt;/div&gt;</description><author>DrLudwig</author><pubDate>Sat, 30 Mar 2013 20:44:25 GMT</pubDate><guid isPermaLink="false">New Post: .rels xml missing header 20130330084425P</guid></item><item><title>New Post: .rels xml missing header</title><link>http://libopc.codeplex.com/discussions/438392</link><description>&lt;div style="line-height: normal;"&gt;Hi, well --- it should not be a problem. But you can easily add the header in opcContainerWriteRels (container.c). Simply put a opcContainerWriteUtf8Raw(out, _X(&amp;quot;&amp;lt;?xml version=....&amp;quot;)); in there. Best, Florian&lt;br /&gt;
&lt;/div&gt;</description><author>flr</author><pubDate>Sat, 30 Mar 2013 10:37:23 GMT</pubDate><guid isPermaLink="false">New Post: .rels xml missing header 20130330103723A</guid></item><item><title>New Post: .rels xml missing header</title><link>http://libopc.codeplex.com/discussions/438392</link><description>&lt;div style="line-height: normal;"&gt;When I create a custom opc package using libopc on MacOS X and add a relationship with opcRelationAdd the produced .rels xml file does not have the usual xml header:&lt;br /&gt;
&amp;lt;?xml version= ...&lt;br /&gt;
&lt;br /&gt;
This does not seem to be a problem, but is not equivalent to what microsoft is doing.&lt;br /&gt;
&lt;/div&gt;</description><author>DrLudwig</author><pubDate>Thu, 28 Mar 2013 23:16:55 GMT</pubDate><guid isPermaLink="false">New Post: .rels xml missing header 20130328111655P</guid></item><item><title>New Post: using in C#</title><link>http://libopc.codeplex.com/discussions/401985</link><description>&lt;div style="line-height: normal;"&gt;I do need this library to create a c# .net wrapper how to do it&lt;br /&gt;
&lt;/div&gt;</description><author>connectsrini2011</author><pubDate>Sun, 10 Mar 2013 01:11:35 GMT</pubDate><guid isPermaLink="false">New Post: using in C# 20130310011135A</guid></item><item><title>New Post: .NET Wrapper</title><link>http://libopc.codeplex.com/discussions/436029</link><description>&lt;div style="line-height: normal;"&gt;Does a .NET Wrapper Exist and if not how to create a .NET Wrapper ( C# ) from object file library&lt;br /&gt;
&lt;/div&gt;</description><author>connectsrini2011</author><pubDate>Sun, 10 Mar 2013 01:07:16 GMT</pubDate><guid isPermaLink="false">New Post: .NET Wrapper 20130310010716A</guid></item><item><title>New Post: .NET Wrapper (no SDK)</title><link>http://libopc.codeplex.com/discussions/432545</link><description>&lt;div style="line-height: normal;"&gt;Do you know if a .NET wrapper exists for libOPC? I'm working with WinRT, which doesn't support IO.Packaging. So it looks like libOPC may be the way to go, but I haven't a clue as to what do with C++/CLI stuff.&lt;br /&gt;
&lt;br /&gt;
If a wrapper exists, could you point me to it? If not, how would one go about creating one? My needs are pretty simple - read-only and a rough estimation of IO.Packaging to load the streams (PackageParts, XML, images, etc.). No need for SDK type of mapping to named package parts.&lt;br /&gt;
&lt;/div&gt;</description><author>toddmain</author><pubDate>Sat, 09 Feb 2013 01:40:11 GMT</pubDate><guid isPermaLink="false">New Post: .NET Wrapper (no SDK) 20130209014011A</guid></item><item><title>Commented Feature: add Zip64 64bit support [165]</title><link>http://libopc.codeplex.com/workitem/165</link><description>&amp;#60;p&amp;#62;Currently Zip64-based OPC container are not supported.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;Comments: ** Comment from web user: harikoduru ** &lt;p&gt;We support this request as well.&lt;/p&gt;</description><author>harikoduru</author><pubDate>Thu, 24 Jan 2013 16:47:32 GMT</pubDate><guid isPermaLink="false">Commented Feature: add Zip64 64bit support [165] 20130124044732P</guid></item><item><title>New Post: Problem iterating relations</title><link>http://libopc.codeplex.com/discussions/430451</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Well, sorry for the question, the real problem was at example code!!!!!!!!!!!!&lt;/p&gt;
&lt;p&gt;In the second loop, &amp;quot;rel&amp;quot; must be compared with&amp;nbsp;OPC_RELATION_INVALID instead of&amp;nbsp;OPC_PART_INVALID.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;
&lt;/div&gt;</description><author>rebustiano</author><pubDate>Tue, 22 Jan 2013 16:51:59 GMT</pubDate><guid isPermaLink="false">New Post: Problem iterating relations 20130122045159P</guid></item><item><title>New Post: Problem iterating relations</title><link>http://libopc.codeplex.com/discussions/430451</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Well, I have just fixed my problem but I think the solution is not &amp;quot;elegant&amp;quot;.&lt;/p&gt;
&lt;p&gt;I could see when a part has no relations opcRelationFirst return UINT_MAX as relation. Then:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt; &lt;span style="color:blue"&gt;for&lt;/span&gt;(opcPart part=opcPartGetFirst(c);OPC_PART_INVALID!=part;part=opcPartGetNext(c, part)) {
		 &lt;span style="color:green"&gt;//printf(&amp;quot;%s;%s \n&amp;quot;, part, opcPartGetType(c, part));&lt;/span&gt;
	   &lt;span style="color:blue"&gt;for&lt;/span&gt;(opcRelation rel=opcRelationFirst(c, part);
		 OPC_PART_INVALID!=rel; rel=opcRelationNext(c, part, rel)) 
      {
		   &lt;span style="color:blue"&gt;if&lt;/span&gt; (rel == UINT_MAX) &lt;span style="color:blue"&gt;break&lt;/span&gt;;
			...
			...
       }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As I said, I dont like the solution, Could somebody get de images &amp;quot;id&amp;quot; by other way or with a more elegant code?&lt;br&gt;
Many Thanks!&lt;/p&gt;
&lt;/div&gt;</description><author>rebustiano</author><pubDate>Tue, 22 Jan 2013 16:32:18 GMT</pubDate><guid isPermaLink="false">New Post: Problem iterating relations 20130122043218P</guid></item><item><title>New Post: Problem iterating relations</title><link>http://libopc.codeplex.com/discussions/430451</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;HI every one.&lt;/p&gt;
&lt;p&gt;I am making a reader and render for docx files and using libopc to read it.&lt;/p&gt;
&lt;p&gt;Well, I have a problem to get the images &amp;quot;id&amp;quot;, then I decided get the image &amp;quot;Id&amp;quot; by the same way that opcContainerDump method is printing this information. For beginning I tried to print every relationship by using the code that I see in libopc documentation
 but the code is crashing...&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;opcContainer *c = opcContainerOpen(_X(filePath.c_str()),  OPC_OPEN_READ_ONLY,  NULL,  NULL);
&lt;span style="color:blue"&gt;if&lt;/span&gt; (c)
{
		
    &lt;span style="color:blue"&gt;for&lt;/span&gt;(opcPart part=opcPartGetFirst(c);OPC_PART_INVALID!=part;part=opcPartGetNext(c, part)) {
	   &lt;span style="color:blue"&gt;for&lt;/span&gt;(opcRelation rel=opcRelationFirst(c, part); OPC_PART_INVALID!=rel; rel=opcRelationNext(c, part, rel)) {
		   opcPart internal_target=opcRelationGetInternalTarget(c, part, rel);
		   &lt;span style="color:blue"&gt;const&lt;/span&gt; xmlChar *external_target=opcRelationGetExternalTarget(c, part, rel);
		   &lt;span style="color:blue"&gt;const&lt;/span&gt; xmlChar *target=(NULL!=internal_target?internal_target:external_target);
		   &lt;span style="color:blue"&gt;const&lt;/span&gt; xmlChar *prefix=NULL;
		   opc_uint32_t counter=-1;
		   &lt;span style="color:blue"&gt;const&lt;/span&gt; xmlChar *type=NULL;
		   opcRelationGetInformation(c, part, rel, &amp;amp;prefix, &amp;amp;counter, &amp;amp;type);        
		   &lt;span style="color:blue"&gt;if&lt;/span&gt; (-1==counter) { &lt;span style="color:green"&gt;/* no counter after prefix */&lt;/span&gt;
			  printf(&lt;span style="color:#a31515"&gt;&amp;quot;%s;%s;%s;%s\n&amp;quot;&lt;/span&gt;, part, prefix, target, type);
		   } &lt;span style="color:blue"&gt;else&lt;/span&gt; {
			  printf(&lt;span style="color:#a31515"&gt;&amp;quot;%s;%s%i;%s;%s\n&amp;quot;&lt;/span&gt;, part, prefix, counter, target, type);
		   }
	   }
}
...
....
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any suggestion?&lt;/p&gt;
&lt;p&gt;Many thanks and great library!&lt;/p&gt;
&lt;/div&gt;</description><author>rebustiano</author><pubDate>Tue, 22 Jan 2013 16:01:38 GMT</pubDate><guid isPermaLink="false">New Post: Problem iterating relations 20130122040138P</guid></item><item><title>Commented Feature: add Zip64 64bit support [165]</title><link>http://libopc.codeplex.com/workitem/165</link><description>&amp;#60;p&amp;#62;Currently Zip64-based OPC container are not supported.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;Comments: ** Comment from web user: rursem ** &lt;p&gt;When using OPC from a C++ environment with large files, 64 bit support is needed. In our field we plan to use OPC for reservoir descriptions, which can easily exceed the 32 bit limit.&lt;/p&gt;</description><author>rursem</author><pubDate>Fri, 18 Jan 2013 21:47:17 GMT</pubDate><guid isPermaLink="false">Commented Feature: add Zip64 64bit support [165] 20130118094717P</guid></item><item><title>New Post: Large parts and Windows X64</title><link>http://libopc.codeplex.com/discussions/428893</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Well, duh, now that I submitted this, I see that Zip64 is not currently supported and there is an
&lt;a title="Work item for Zip64 support." href="http://libopc.codeplex.com/workitem/165"&gt;
existing work item to add Zip64 support&lt;/a&gt;. The field set in the quoted code is the original zip header, for file sizes up to 0xFFFFFFFF. &amp;nbsp;I just voted the work item up. Any comments on the difficulty of accomplishing this?&lt;/p&gt;
&lt;/div&gt;</description><author>dmendres</author><pubDate>Tue, 08 Jan 2013 17:18:33 GMT</pubDate><guid isPermaLink="false">New Post: Large parts and Windows X64 20130108051833P</guid></item><item><title>New Post: Large parts and Windows X64</title><link>http://libopc.codeplex.com/discussions/428893</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have rebuilt libopc on Windows (VS2010) for X64 platform (I think!). It certainly is running in a 64-bit executable. However, I see that the part headers in zip.c appear to be hard-coded as unsigned int 32:&lt;/p&gt;
&lt;pre style="font-family:Consolas; font-size:13; color:black; background:white"&gt;&amp;nbsp;&amp;&amp;&amp;nbsp;(4==opcZipRawWriteU32(io,&amp;nbsp;rawState,&amp;nbsp;compressed_size))&amp;nbsp;&amp;nbsp;&lt;span style="color:green"&gt;//&amp;nbsp;compressed&amp;nbsp;size&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;&amp;&amp;nbsp;(4==opcZipRawWriteU32(io,&amp;nbsp;rawState,&amp;nbsp;uncompressed_size))&amp;nbsp;&amp;nbsp;&lt;span style="color:green"&gt;//&amp;nbsp;uncompressed&amp;nbsp;size&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As expected, when I create a large part (12391552489), the recorded archive compressed size &amp;nbsp;(3801617899) is incorrect, and is exactly the remainder of the original size modulo max unsigned int32:&lt;/p&gt;
&lt;p style="margin:0in; font-family:Calibri; font-size:11.0pt"&gt;12391552489%4294967295&lt;/p&gt;
&lt;p style="margin:0in; font-family:Calibri; font-size:11.0pt"&gt;=&lt;/p&gt;
&lt;p style="margin:0in; font-family:Calibri; font-size:11.0pt"&gt;3801617899&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now, Winzip knows the actual size of the uncompressed part, so I believe the deflated stream is written correctly, but the header is incorrect.&lt;/p&gt;
&lt;p&gt;Have I built the X64 target incorrectly or is this a libopc limitation? I suspect the latter because of the 4 byte write quoted from zip.c, above.&lt;/p&gt;
&lt;/div&gt;</description><author>dmendres</author><pubDate>Tue, 08 Jan 2013 15:12:56 GMT</pubDate><guid isPermaLink="false">New Post: Large parts and Windows X64 20130108031256P</guid></item><item><title>Commented Issue: At unidentified conditions libopc fail with "Part /_rels/.rels does not exist.!\n" message [1074]</title><link>http://libopc.codeplex.com/workitem/1074</link><description>but unzip show &amp;#38;quot&amp;#59;_rels&amp;#47;.rels&amp;#38;quot&amp;#59; as archive member&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#36; unzip -v 210648_summary_0_avg.xlsx&lt;br /&gt;Archive&amp;#58;  210648_summary_0_avg.xlsx&lt;br /&gt; Length   Method    Size  Cmpr    Date    Time   CRC-32   Name&lt;br /&gt;--------  ------  ------- ---- ---------- ----- --------  ----&lt;br /&gt;     531  Defl&amp;#58;N      192  64&amp;#37; 1980-00-00 00&amp;#58;00 947bd5a8  _rels&amp;#47;.rels&lt;br /&gt;     702  Defl&amp;#58;N      359  49&amp;#37; 1980-00-00 00&amp;#58;00 9c87e49e  docProps&amp;#47;core.xml&lt;br /&gt;     267  Defl&amp;#58;N      163  39&amp;#37; 1980-00-00 00&amp;#58;00 8f99c3e9  docProps&amp;#47;app.xml&lt;br /&gt;...&lt;br /&gt;&amp;#36;&lt;br /&gt;Comments: ** Comment from web user: vitaly_v_ch ** &lt;p&gt;Some hint:&lt;/p&gt;&lt;p&gt;I add following lines to findItem():&lt;/p&gt;&lt;p&gt;     OPC_ASSERT(i==j); &lt;br&gt;     *pos=i;&lt;br&gt;+       {&lt;br&gt;+               for (i=0; i&amp;lt;items; i++)&lt;br&gt;+                       fprintf(stderr, &amp;quot;%s: key1='%s', ((opcContainerPart*)array_)[%u].name='%s'\n&amp;quot;, &lt;br&gt;+                                       __func__, key1, i, ((opcContainerPart*)array_)[i].name);&lt;br&gt;+       }&lt;br&gt;     return OPC_FALSE;&lt;/p&gt;&lt;p&gt;and get on stderr:&lt;/p&gt;&lt;p&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[0].name='docProps/app.xml'                                   &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[1].name='docProps/core.xml'                                  &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[2].name='xl/sharedStrings.xml'                               &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[3].name='xl/styles.xml'                                      &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[4].name='xl/workbook.xml'                                    &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[5].name='xl/worksheets/sheet1.xml'                           &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[6].name='xl/worksheets/sheet10.xml'                          &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[7].name='xl/worksheets/sheet11.xml'                          &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[8].name='xl/worksheets/sheet2.xml'                           &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[9].name='xl/worksheets/sheet3.xml'                           &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[10].name='xl/worksheets/sheet4.xml'                          &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[11].name='xl/worksheets/sheet5.xml'                          &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[12].name='xl/worksheets/sheet6.xml'                          &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[13].name='xl/worksheets/sheet7.xml'                          &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[14].name='xl/worksheets/sheet8.xml'                          &lt;br&gt;findItem: key1='_rels/.rels', ((opcContainerPart*)array_)[15].name='xl/worksheets/sheet9.xml'                          &lt;br&gt;Part /_rels/.rels does not exist.!                                                                                     &lt;/p&gt;&lt;p&gt;So '_rels/.rels' really does not exist in array_. It's by design or it's misbehavior of libopc?&lt;/p&gt;</description><author>vitaly_v_ch</author><pubDate>Tue, 08 Jan 2013 14:57:34 GMT</pubDate><guid isPermaLink="false">Commented Issue: At unidentified conditions libopc fail with "Part /_rels/.rels does not exist.!\n" message [1074] 20130108025734P</guid></item><item><title>Commented Issue: At unidentified conditions libopc fail with "Part /_rels/.rels does not exist.!\n" message [1074]</title><link>http://libopc.codeplex.com/workitem/1074</link><description>but unzip show &amp;#38;quot&amp;#59;_rels&amp;#47;.rels&amp;#38;quot&amp;#59; as archive member&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#36; unzip -v 210648_summary_0_avg.xlsx&lt;br /&gt;Archive&amp;#58;  210648_summary_0_avg.xlsx&lt;br /&gt; Length   Method    Size  Cmpr    Date    Time   CRC-32   Name&lt;br /&gt;--------  ------  ------- ---- ---------- ----- --------  ----&lt;br /&gt;     531  Defl&amp;#58;N      192  64&amp;#37; 1980-00-00 00&amp;#58;00 947bd5a8  _rels&amp;#47;.rels&lt;br /&gt;     702  Defl&amp;#58;N      359  49&amp;#37; 1980-00-00 00&amp;#58;00 9c87e49e  docProps&amp;#47;core.xml&lt;br /&gt;     267  Defl&amp;#58;N      163  39&amp;#37; 1980-00-00 00&amp;#58;00 8f99c3e9  docProps&amp;#47;app.xml&lt;br /&gt;...&lt;br /&gt;&amp;#36;&lt;br /&gt;Comments: ** Comment from web user: vitaly_v_ch ** &lt;p&gt;In my application all calls to libopc are made from same thread. So all calls are properly mutexed :)&lt;/p&gt;&lt;p&gt;-pthread is artefact from main application.&lt;/p&gt;&lt;p&gt;all sample code you can extract from attachment XlsxEditor.zip. My sample code is stripped down from main application except that artifact :).&lt;/p&gt;</description><author>vitaly_v_ch</author><pubDate>Sun, 23 Dec 2012 09:53:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: At unidentified conditions libopc fail with "Part /_rels/.rels does not exist.!\n" message [1074] 20121223095308A</guid></item></channel></rss>