Subj : Re: borland equivalent of #pragma pack (2) is? To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Fri Feb 13 2004 04:42 pm Jeff Kish wrote: You shouldn't need to mess with the pragmas. LMAT.H contains the definitions. >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). The command text is Unicode, no? (LPWSTR) Did you convert it to plain STR before sprintfing it? Or did you use the windows version? wsprintf( str, "%ls", atenum.Command ); .