Subj : Re: #pragma package (smart_init) To : borland.public.cpp.borlandcpp From : Jeff Kish Date : Tue Mar 30 2004 09:30 am On Mon, 29 Mar 2004 17:01:15 -0500, "Ed Mulroy [TeamB]" wrote: >#pragma package (smart_init) did not exist in any version of Borland >C++. It is specific to C++ Builder, the compiler which replaced >Borland C++ years ago. It arranges for correct behavior with respect >to using Packages, a type of enhanced DLL used by both the C++ Builder >and Delphi compilers. There is no Microsoft Visual C++ equivalent. > >C++ Builder newsgroups have the word 'cppbuilder' in their name. >Please ask C++ Builder questions in C++ Builder newsgroups. > >. Ed > >> Jeff Kish wrote in message >> news:4m6h60dr1ehgflkprfas9hm2spjlkuj9fl@4ax.com... >> >> Someone is trying to port some old code to visual c++, and it >> includes a #pragma package (smart_init). >> >> I could not find this in the borland help. Does anyone know >> what it does for Borland 5.02? >> >> If you know what it does for visual c++ also that would help. > Sorry Ed! My mistake. We built this puppy for years with 5.02, and in the somewhat distant past switched to Builder. Appreciate your input. Jeff Kish .