code:
Public Shared WithEvents oMessenger As MessengerAPI.MessengerClass
Public Function Initialize(ByVal nVersion As Integer, ByVal sUserEmail As String, ByVal oMessenger As MessengerAPI.MessengerClass) As Boolean
MsgBox(sAppName + "::Initialise called!", MsgBoxStyle.OKOnly, "DEBUG")
MyPlugin.oMessenger = oMessenger
MsgBox(sAppName + "::Initialise - Got Messenger ref", MsgBoxStyle.OKOnly, "DEBUG")
Initialize = True
End Function
Sorry I didn't notice that before!