[mono-vb] Issue with callback/delegate

Klaus Siebke ksiebke at web.de
Mon Apr 27 03:41:49 EDT 2009


Hi Rolf,

as you told me, I've tried:

Dim error_handler As New HPDF_ErrorHandler (AddressOf HPdfDoc.ErrorProc)

... which gives me these compiler errors:

[Task:File=, Line=0, Column=0, Type=Error, Priority=Normal,
Description=Int64_Int32(option)]
[Task:File=/share/source/mono/vbnet/vbharutest/vbharutest/<MyGenerator> ,
Line=1, Column=1, Type=Error, Priority=Normal, Description=Unexpected error:
There has been an internal error in the compiler:(VBNC99999)]

Have I missed something?

//Klaus




Rolf Bjarne Kvinge-2 wrote:
> 
> 
> This is not correct VB (8), you need to do:
> 
> Dim error_handler As New HPDF_ErrorHandler (AddressOf HPdfDoc.ErrorProc)
> 
> 

-- 
View this message in context: http://www.nabble.com/Issue-with-callback-delegate-tp23244124p23251516.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list