This is a bit specific, but...

Anyone know what the following line in Borland C++ Builder units [really] does.

#pragma package(smart_init)

When I remove it, everything works as normal. Only that the executable lacks 'hidden' export table hooks (which can be seen if viewed with QuickView).

Also, anyone known what the __debugHook export hook is for. Borland doesn't seem to want to tell anyone about these (I've asked).