xxx.hに以下のようにかいてあります
extern "C" __declspec(dllimport) int __stdcall hogehoge();

場所は「extern PACKAGE TForm2 *Form2;」の下です。
こうではないですか?