Well, I have this SMTPsecureSocket, which I subclass, to use in code.
I addHandlers to the various events … and I get this error:-
"Type mismatch error. Expected delegate Delegate( cMailSocket, String ) but got delegate Delegate( cMailSocket, String )
AddHandler mailSimpleSocket.connectionEstablished, addressOf mssConnEstablished
I cannot see the difference between what is expected:-
delegate Delegate( cMailSocket, String ) and what I supply:-
delegate Delegate( cMailSocket, String )
mssConnEstablished is a method local to the app, declared as mssConnEstablished(sender as cMailSocket, byRef greeting as string)
Any thoughts ?
Regards,
Tony Barry
Sydney, Australia