ActiveX developped in VC++ 6.0 and imported in BCB3

I developped a dispinterface to fire events. I fire events with or without
parameters like:

OnError(short code, short id) ...

But when I import this control in BCB3, for each event which takes
parameters (like OnError) I've the following errors in the file
MyComponentLib_TLB.h :

__property TVMyComponentClassProxyOnError OnError={ read=FOnError,
write=FOnError };

(C++ error) --> Simple type name expected

Thanks in advance.