LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is process.h?

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?

0 Kudos
Message 1 of 2
(5,104 Views)

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):

  • DJGPP
  • OpenWatcom
  • Digital Mars
  • MinGW
  • Microsoft Visual C++
  • Borland Turbo C, 2.0 and later
  • Lcc32
  • QNX Neutrino QCC 6.x

 

Thanks

 

 

Chris | Applications Engineer NIUK
0 Kudos
Message 2 of 2
(5,011 Views)