Subj : Re: borland equivalent of #pragma pack (2) is? To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Fri Feb 13 2004 05:16 pm Yes, I meant to do it from the command line. Both grep and find are command line tools. I do not know of any function called netschedulejobenum. The case is wrong. The one I can find is NetScheduleJobEnum, a WINAPI function found in NetApi32.DLL. There is a listing for it in the import32.lib that C++ Builder uses but I do not have Borland C++ on this machine so cannot verify it for that compiler. If you can't link to it then do something like this and add the library it creates to your project. implib -c c:\bc5\lib\netapi32.LIB c:\winnt\system32\netapi32.DLL Sorry but I do not have any working code using that function. .. Ed "Jeff Kish" wrote in message news:mq9q209tfmnv25u2drhbmtvfc8cld1m7re@4ax.com... > > (what do you mean by "Make the compiler's INCLUDE > directory the default"? do you mean just go do a dos prompt, cd > there, and do the grep? I'm not sure how to make the INCLUDE > directory the default for the IDE's version of grep) > > mmm Well. Thanks. I tried the pragma and the program still had > problems (I was trying to use the netschedulejobenum call and > sprintf'ing the command text out was blowing up on me.. I figured > it was just alignment/packing or something). > > err you don't happen to have a copy of working borland 5.02 code > that makes the call and can read the command text, do you? .