I have a COM+ component that was written in VB6.
I am trying to use it in Delphi 6, however when I compile I get the error "Not enough actual parameters" on this line:
oMailer := TMail.Create;
The constructor that was imputed from the object's type library looks like this:
constructor TMail.Create(AOwner: Component);
FProps := TMailProperties.Create(Self);
Now I know that the constructor needs a parameter and I haven't provided one but I have know2 idea what to pass as a parameter. I have tried a couple of things and each gives some sort of error in the compile.
Do you need more information?
I know this is probably an easy question but I need help ASAP.