10-04-2012 11:50 AM
Hi folks,
I am hoping this is a pretty silly question.
Where is process.h? I am porting a c shared object that was originally intended for Linux to Windows and specifically the LabWindows/CVI 2009 compiler. The code includes conditional defines for windows and in one of these sections there is an #include <process.h>.
Some fast googling and I see that other LabWindows/CVI developers use this in their code, but when I try to compile the compiler can't find this header. Windows search can't find it either, so no surprise there.
Where do you get it? Are you borrowing it from a Microsoft compiler?
10-17-2012 11:17 AM - edited 10-17-2012 11:18 AM
Hi Clendon
'process.h' is a component of C compilers that target DOS, Windows 3.1x, Win32, OS/2 or Novell NetWare - it contains function declarations and macros used in working with threads and processes. It's not a part of ANSI C so it will depend on which C compiler you're using to compile your code, if you're using GCC then I definitley wouldn't expect to find it included.
It's installed on my system within my Visual Studio headers folder. Here's a list of compilers which provide access to the file (Which I've taken from Wikipedia):
Thanks