在64位操作系统中压缩c#中byte []数组的问题 [英] Problem with compressing byte[] array in c# for 64 bit operating System

查看:107
本文介绍了在64位操作系统中压缩c#中byte []数组的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在c#的asp.net网站上工作。在此我需要创建pdf并作为附件发送电子邮件。我使用ionic.dll来压缩byte []数组。它在32位操作系统中工作,但我的服务器是64位。它只是压缩文件,但在64位操作系统的情况下大小不压缩。



所以请提供我的问题的任何链接或解决方案..



请帮帮我...

hello everyone,

I am working in asp.net website in c#. in this i need to make a requirement to create pdf and send as attachment with email. I am using ionic.dll for zip the byte[] array. it is working in 32 bit operating system but my servers are 64 bit. it is only zip the file but size is not compressing in the case of 64 bit operating system.

so please provide any link or solution of my problem..

please help me...

推荐答案

你应该和创造它的人交谈 - 应该有关于你从哪里得到的信息 - 他们应该提供技术支持,并且会比我们更了解他们的产品。如果他们没有,那么找到另一个DLL并使用它。



是什么让你认为随机网站将知道互联网上每个DLL的私密细节?这就像我假设你知道如何在我的厨房里使用每个小工具而没有指定小工具是什么或它的意图!
You should talk to the people who created it - there should be information around where you got it from - they should provide technical support and will know more about their product than we will. If they don't, then find another DLL and use that.

What makes you think that a random website will know the intimate details of every DLL available on the internet? That is like my assuming that you know how to work every gadget in my kitchen without me specifying what the gadget is or what it is meant to do!


尝试从源代码构建它。 [ ^ ]



尝试在他们的支持论坛上询问。 [ ^ ] < br $> b $ b

报告问题。 [ ^ ]



如果可以使用.NET 4.5,请使用 System.IO .Compression [ ^ ]。



尝试使用SharpZipLib。
Try building it from source.[^]

Try asking on their support forums.[^]

Report an issue.[^]

If you can use .NET 4.5, use System.IO.Compression[^].

Try SharpZipLib instead.


这篇关于在64位操作系统中压缩c#中byte []数组的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆