Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. GZipStream for compact framework 2.0

GZipStream for compact framework 2.0

Scheduled Pinned Locked Moved C#
helpcsharpc++algorithmsregex
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wajih boukaram
    wrote on last edited by
    #1

    hi - i'm a newbie at c# programming for pocket pcs (mainly a c/c++ programmer) i'd like to believe i've gotten the hang of it but some things still escape me like i used the GZipStream to uncompress an http web response stream on the regular framework and it works fine - but when i move to the pocket pc it seems i am not allowed to create a GZipStream (the compression namespace is unavailable) i'd appreciate any help anyone can give me i want to achieve the same result in any way possible (if there is a simple algorithm i could just plug in then great - or a way to include the class then even better) btw i have tried SharpZipLib and it didn't work (it threw an exception saying "Error baseInputStream GZIP header, first byte doesn't match") thanks so much to anyone who took the time to read this.

    S 1 Reply Last reply
    0
    • W wajih boukaram

      hi - i'm a newbie at c# programming for pocket pcs (mainly a c/c++ programmer) i'd like to believe i've gotten the hang of it but some things still escape me like i used the GZipStream to uncompress an http web response stream on the regular framework and it works fine - but when i move to the pocket pc it seems i am not allowed to create a GZipStream (the compression namespace is unavailable) i'd appreciate any help anyone can give me i want to achieve the same result in any way possible (if there is a simple algorithm i could just plug in then great - or a way to include the class then even better) btw i have tried SharpZipLib and it didn't work (it threw an exception saying "Error baseInputStream GZIP header, first byte doesn't match") thanks so much to anyone who took the time to read this.

      S Offline
      S Offline
      Suelinda_W
      wrote on last edited by
      #2

      Hi, According to http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx[^], GZipStream is supposed to work on CF 2.0. If you are looking for an alternative, ComponentOne has Zip for the .NET compact framework. We have versions for both the 1.0 and 2.0 compact framework. For more information, please visit http://www.componentone.com/products.aspx?ItemType=1&TabTypeID=1&PanelIndex=14&TabMapID=310&Itemid=26&Tabid=435&SubCategoryTypeID=-1[^].

      Suelinda W Customer Engagement, ComponentOne LLC http:\\www.componentone.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups