What are the equvalent functions in WINCE?
-
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!
-
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!
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.
-
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.
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!