By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,998 Members | 2,921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,998 IT Pros & Developers. It's quick & easy.

Different execution behavior between .Net1.1 and .Net2.0

P: n/a
I have a library that reads PDF file and manipilates its content. And I use
SharpZip library to decompress the streams included in PDF file. All well
and good. I have 3 lines of my test code that takes a PDF file and spits out
the required content from the file. It all works fine in .Net.1.
environment.

Now I wrote the same 3 lines of code in .Net2.0 console test application and
use the assemblies for PDF library and SharpZip compiled with .Net.1.1. The
application will throw exceptions in the deflate algorithm "Index out of
bound". Then I tried to replace the SharpZip decompression code with
DelateStream class in .Net2.0 framework, recompiled pdf library and sharpzip
assemblies with .Net2.0. But still no luck.

Is there something I am missing in this whole equation of using my 1.1
libraries with .Net2.0 application?

Thanks
Mar 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Only one CLR can run at one time for an application. If you run 1.1 code in
the 2.0 envirionment, there are about 400 breaking changes between the two
Frameworks. I'm betting you've run into at least one of the 400.

1.0 --> 1.1 was back-ward compatible.

1.1 --> 2.0 is not.

Good luck!
--
Mike McAllister
"Winista" wrote:
I have a library that reads PDF file and manipilates its content. And I use
SharpZip library to decompress the streams included in PDF file. All well
and good. I have 3 lines of my test code that takes a PDF file and spits out
the required content from the file. It all works fine in .Net.1.
environment.

Now I wrote the same 3 lines of code in .Net2.0 console test application and
use the assemblies for PDF library and SharpZip compiled with .Net.1.1. The
application will throw exceptions in the deflate algorithm "Index out of
bound". Then I tried to replace the SharpZip decompression code with
DelateStream class in .Net2.0 framework, recompiled pdf library and sharpzip
assemblies with .Net2.0. But still no luck.

Is there something I am missing in this whole equation of using my 1.1
libraries with .Net2.0 application?

Thanks

May 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.