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 / C++ / MFC
  4. What are the equvalent functions in WINCE?

What are the equvalent functions in WINCE?

Scheduled Pinned Locked Moved C / C++ / MFC
comquestion
3 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.
  • K Offline
    K Offline
    kapardhi
    wrote on last edited by
    #1

    Hai! I am using JASPER library for a WINCE application, it has some WINCE unsupported functions lie open(), close (), tmpfile () etc. I could replace most of the functions with those supported in WINCE, but i couldn't replace two functions required in jas_stream.c and jpg_enc.c, the two files use tmpnam() and tmpfile() functions in jas_stream_tmpfile () and jpg_encode () functions sample code is below tempnam (obj->pathname); // within jas_stream_tmpfile () function and if (!(output_file = _tmpfile())) //// within jpg_encode () function { .. } What are the eqivalent functions of tmpnam() and tmpfile () for WINCE, i reffered the following : http://support.microsoft.com/kb/99456 Please tell equivalent functions or any workarround so that the overall functionality is not affected. Thanks!

    _ 1 Reply Last reply
    0
    • K kapardhi

      Hai! I am using JASPER library for a WINCE application, it has some WINCE unsupported functions lie open(), close (), tmpfile () etc. I could replace most of the functions with those supported in WINCE, but i couldn't replace two functions required in jas_stream.c and jpg_enc.c, the two files use tmpnam() and tmpfile() functions in jas_stream_tmpfile () and jpg_encode () functions sample code is below tempnam (obj->pathname); // within jas_stream_tmpfile () function and if (!(output_file = _tmpfile())) //// within jpg_encode () function { .. } What are the eqivalent functions of tmpnam() and tmpfile () for WINCE, i reffered the following : http://support.microsoft.com/kb/99456 Please tell equivalent functions or any workarround so that the overall functionality is not affected. Thanks!

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      What is the functionality of these 2 functions? From the name of it, it looks like the following 2 functions that are available in CE. GetTempFileName GetTempPath

      «_Superman_» I love work. It gives me something to do between weekends.

      K 1 Reply Last reply
      0
      • _ _Superman_

        What is the functionality of these 2 functions? From the name of it, it looks like the following 2 functions that are available in CE. GetTempFileName GetTempPath

        «_Superman_» I love work. It gives me something to do between weekends.

        K Offline
        K Offline
        kapardhi
        wrote on last edited by
        #3

        Actually that part of code designed in jas_stream.c and jpg_enc.c (which are present in Jasper folder of CxImage) is not even clear to me!! http://www.codeproject.com/KB/graphics/cximage.aspx so i am confused to what must be the values of the parameters As of functionality of tmpname (), it chooses a temporary file name and tmpfile () creates a temporary file and returns a pointer to that stream. Thanks!

        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