how do i compile pipe() API on windows ?

This is a discussion on how do i compile pipe() API on windows ? within the C++ Programming forums, part of the General Programming Boards category; Hi everybody.. I am making a platform independant application which will work on any platform. Pipe implementation is done in ...

  1. #1
    Registered User intruder's Avatar
    Join Date
    Nov 2002
    Posts
    48

    how do i compile pipe() API on windows ?

    Hi everybody..

    I am making a platform independant application which will work on any platform.

    Pipe implementation is done in the code and the code compiles perfectly on FreeBSD and unix but how when i try to compile the same on windows then it gives error for pipe() function.

    i am including the unistd.h file but still it gives the same problem.

    the read() API is working fine though.

    Can anybody tell me how do i compile the code on windows ??

    Thanks,
    Intruder.

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,806
    Isn't the pipe function under windows _pipe instead of just pipe? What windows compiler/IDE are you using.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    Registered User intruder's Avatar
    Join Date
    Nov 2002
    Posts
    48
    ohh ok ok .. when i am using the _pipe its working.. fine..

    Thanks
    Intruder

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Want to learn Windows API for Game Programming
    By George M. in forum Windows Programming
    Replies: 15
    Last Post: 09-28-2008, 11:26 AM
  2. Windows API
    By valaris in forum Windows Programming
    Replies: 7
    Last Post: 08-01-2008, 01:37 AM
  3. Windows API - Controlling other windows
    By Asmyldof in forum Windows Programming
    Replies: 11
    Last Post: 11-06-2006, 08:05 AM
  4. Calling raw windows API using borland
    By TiMBuS in forum C++ Programming
    Replies: 3
    Last Post: 06-16-2005, 09:46 AM
  5. Help with editor windows with win api
    By NightStalker in forum Windows Programming
    Replies: 1
    Last Post: 03-13-2003, 03:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21