Hey, i have a question about how to deal with the libpng port.
internally, libpng already manages Windows CE with _WIN32_WCE guards. To read file, it uses ReadFile(). And we have to pass a HANDLE (created with CreateFile, iirc) to one of the init functions. What I can also do is using the crt: modifying libpng so that it uses fread, hence the user must supply a FILE * created by fopen to the user function. What would be the best solution ? i was told that the crt of windows ce was not that good. I think that providing both ports is not that good. the best way would be libpng to add 2 functions to open and close a file, so that we can manage all the platform in a portable manner :) Vincent ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel