On Mon, 6 Oct 2008, Vincent R. wrote:
> On Mon, 6 Oct 2008 08:03:01 +0200 (CEST), Vincent Torri > <[EMAIL PROTECTED]> wrote: >> Hey, >> >> I wanted to use _mktemp, _locking, _get_osfhandle and > SetHandleInformation >> with mingw32ce >> >> they are all declared: >> >> _mktemp, _locking and _get_osfhandle are in io.h >> SetHandleInformation is in winbase.h >> >> but they are not defined. >> > Natively these functions are not defined not implemented in Visual so they > shouldn't be defined in mingw32ce. > Now I have proposed a long time ago to implement a compat4wce lib that > would implement posix function using > mingw32ce ones. > > _mktemp is not difficult to implement, > _get_osfhandle : I wrote an article about this topic : > http://www.smartmobili.com/index.php?option=com_content&task=view&id=20&Itemid=42 > Basically I show how to retrieve the underlying file handle (HANDLE) from a > file descriptor > > SetHandleInformation : don't think it could be implemented on wince ... > >> About the 3 CRT functions, msdn does not mention them: >> >> http://msdn.microsoft.com/en-us/library/ms859613.aspx >> >> (it's for win ce 5.0, i didn't find the doc for crt and other version of >> win ce, that msdn site is an absolute horror) >> >> I also didn't find SetHandleInformation for win ce in msdn with its > search >> engine or google. But it does not imply that it does not exist for win > ce. My mail is more about removing from the the mingw32ce header files the functions that are not supported, rather than keeping them. 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