![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The error below doesn't make sense to me: Method 'Private Sub ResultCallback(Status As Boolean, cbCICSBuffer As CclECILib.CclOBuf, cbMFReason As String)' does not have the same signature as delegate 'Delegate Sub MFCallback(Status As Boolean, MFcicsbuf As CclECILib.CclOBuf, MFReason As String)'. Does it have anything to do with CclECILib.CclOBuf not being CLS-compliant? |
#3
| |||
| |||
|
|
Arne Garvander <ArneGarvander (AT) discussions (DOT) microsoft.com> wrote: The error below doesn't make sense to me: Method 'Private Sub ResultCallback(Status As Boolean, cbCICSBuffer As CclECILib.CclOBuf, cbMFReason As String)' does not have the same signature as delegate 'Delegate Sub MFCallback(Status As Boolean, MFcicsbuf As CclECILib.CclOBuf, MFReason As String)'. Does it have anything to do with CclECILib.CclOBuf not being CLS-compliant? Not sure - but what's the return type of the delegate and of the method? -- Jon Skeet - <skeet (AT) pobox (DOT) com http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet World class .NET training in the UK: http://iterativetraining.co.uk |
#4
| |||
| |||
|
|
it is a sub. It does not have an explicit return type. |
I know the syntax if I|
I am able to run my website despite this error message. Now I am trying to have my code to run in an NUnit test case. |
#5
| |||
| |||
|
|
Arne Garvander <ArneGarvander (AT) discussions (DOT) microsoft.com> wrote: The error below doesn't make sense to me: Method 'Private Sub ResultCallback(Status As Boolean, cbCICSBuffer As CclECILib.CclOBuf, cbMFReason As String)' does not have the same signature as delegate 'Delegate Sub MFCallback(Status As Boolean, MFcicsbuf As CclECILib.CclOBuf, MFReason As String)'. Does it have anything to do with CclECILib.CclOBuf not being CLS-compliant? Not sure - but what's the return type of the delegate and of the method? -- Jon Skeet - <skeet (AT) pobox (DOT) com http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet World class .NET training in the UK: http://iterativetraining.co.uk |
#6
| |||
| |||
|
|
One is a public delegate void MFCallback(bool Status, CclOBuf MFcicsbuf, string MFReason) the other is public void ResultCallback(bool Status, CclOBuf cbCICSBuffer, string cbMFReason) according to Reflektor. |
#7
| |||
| |||
|
|
The error below doesn't make sense to me: Method 'Private Sub ResultCallback(Status As Boolean, cbCICSBuffer As CclECILib.CclOBuf, cbMFReason As String)' does not have the same signature as delegate 'Delegate Sub MFCallback(Status As Boolean, MFcicsbuf As CclECILib.CclOBuf, MFReason As String)'. Does it have anything to do with CclECILib.CclOBuf not being CLS-compliant? -- Arne Garvander Certified Geek Professional Data Dude |
#8
| |||
| |||
|
|
I rewrote my test program in C# and my compilation error mysteriously disappered. The code that I am testing is still in VB 8. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |