Visual Basic Syntax

Jan 10 2006 4:19 PM
'Here is my declarations: Declare Function atxml_ReadCmds Lib "AtXmlApi_Dbg.dll" (ByVal resourceName As String, _ ByVal ReadBuffer As String, _ ByVal numberBytesToRead As String, _ ByRef numBytesRead As Integer) As Integer Global resourceName As String Global ReadBuffer As String * 255 Dim NBR As Integer 'Number of Bytes Read Dim numberBytesToRead As Integer 'And here is my function call ErrorStatus& = atxml_ReadCmds(resourceName, _ ReadBuffer, _ numberBytesToRead, _ NBR&) 'what is wrong? 'The compile error says: 'Type-declaration character does not match declared data type 'the highlight is on the NBR&

Answers (1)