Dear Nico,

Thanks very much.

--- Nico Heinze <[EMAIL PROTECTED]> wrote:

> --- In [email protected], Deen Selamat
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi guys
> > 
> > I download C codes from the internet and the code
> was
> > successly compiled in linux. There's no error
> > compiling in Visual Studio but my problem is that
> when
> > I want to run in Visual studio, it give few errors
> due
> > to one of linux library file, unix_timer.c.
> > 
> > Visual studio unable to compile the following
> files:
> > 
> > #include <sys/time.h>
> > #include <sys/resource.h>
> > 
> > My question is, what should I replace those file
> in
> > order to run them in WinXP - Visual studio?
> 
> I can't tell for those two specific header files,
> but MSDN has some
> pretty good hints about "porting" Linux/Unix code
> (or POSIX conformant
> code in general) to Windows. Not that I really want
> to do this, but
> the site gives some good hints about how to write
> code utilising
> certain functionality of the POSIX libraries under
> Windows.
> 
> Here are two links:
> 
> http://msdn.microsoft.com/library/default.asp?
>     url=/library/en-us/dnucmg/html/UCMGch02.asp
> 
> and
> 
>
http://msdn.microsoft.com/library/default.asp?url=/library/
>    
>
en-us/vccore98/html/_core_port_from_unix_to_win32.asp
> 
> (I have broken both links into two lines to be
> easier readable in the
> web interface of Yahoo! as well as in emails. So you
> have to assemble
> these links into one line before entering them as
> the web address in
> your browser.)
> 
> Regards,
> Nico
> 
> 



       
____________________________________________________________________________________Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

Reply via email to