Error 998 with home grown component

After succesfully creating a non-visual component, I thought I'd get a
little cleverer and try to make one which also called a C++ DLL. I've
now hit the problem that Delphi announces on start up that it can't
load the component library and the error code is 998.

Any clues anybody?

Thanks

Alan