Go Up to Keywords, Alphabetical Listing Index
__declspec( pascalimplementation ) declarator
The pascalimplementation argument indicates that the code defining the class was implemented in Object Pascal. This specifier tells the C++ compiler not to generate any RTTI/VMT/TypeIds for
declarator because the Object Pascal compiler has done so already. This modifier appears in an Object Pascal portability header file that has an .hpp extension.
A Object Pascal package can be compiled using the
-JPHNE flag, and then it generates a file with an .hpp extension, which is the C++ header for the functions in the package. These functions need to be declared
__declspec(pascalimplementation) so that the compiler knows to enforce the restrictions imposed by Object Pascal OOP rules.
Note: C++ programs that you write should not use this __declspec specifier. Code generated by the Object Pascal compiler can contain this specifier.