[Quickfix-developers] Visual Basic.net Error
Brought to you by:
orenmnero
From: sumation <ev...@On...> - 2008-03-31 15:59:36
|
1)Namespace QuickFix Public Interface Application Public Sub onCreate(ByVal sessionID As SessionID) Public Sub onLogon(ByVal sessionID As SessionID) Public Sub onLogout(ByVal sessionID As SessionID) Public Sub toAdmin(ByVal message As Message, ByVal sessionID As SessionID) Public Sub toApp(ByVal message As Message, ByVal sessionID As SessionID) Public Sub fromAdmin(ByVal message As Message, ByVal sessionID As SessionID) Public Sub fromApp(ByVal message As Message, ByVal sessionID As SessionID) End Interface End Namespace This are the errors: 'Public' is not valid on an interface method declaration Type 'SessionID' is not defined Can you give me the Solution of the problem? 2)Sub Main(ByVal CmdArgs() As String) If (CmdArgs <> 1) Then Return Error 2 Operator '<>' is not defined for types '1-dimensional array of String' and 'Integer' Can you give me the Solution of the problem? Thanks and Best Regards, Allen -- View this message in context: http://www.nabble.com/Visual-Basic.net-Error-tp16396516p16396516.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |