Subj : Re: borland equivalent of #pragma pack (2) is? To : borland.public.cpp.borlandcpp From : Jeff Kish Date : Thu Feb 12 2004 05:39 pm On Thu, 12 Feb 2004 21:37:17 +0100, Gerhard Wolfstieg wrote: >Jeff Kish wrote: > >> Greetings. >> I am trying to get some code to run that came from a ms c++ code set. >> They have #pragma pack (4) at the top > >I'm nearly sure that you have to #include on the place where >you find the #pragma pack (4) -- and it has to be followed by a > at the end of (either class declaration or) the file. Have a >look into pshpack4.h. (This is guilty for at least for BC 5.x) > >> with a note that is is absolutely essential. > >I only believe in something when I know the reason. > > > Gerhard Thanks. I'll try it. Where did you find/get/see this information? Do you know anything else about it? Thanks again, Jeff Kish .