Hello:
I am trying to use a DLL in VB.NET, one parameter of the DLL exported
function accepts an address of a function. I added a delegate and everything
went fine; however, sometimes I need to pass 0 (zero) to the function but
VB.NET doesn't allow me to pass values (non delgates).
Daniel O'Connell [C# MVP] - 29 Nov 2004 20:56 GMT
> Hello:
> I am trying to use a DLL in VB.NET, one parameter of the DLL exported
> function accepts an address of a function. I added a delegate and
> everything
> went fine; however, sometimes I need to pass 0 (zero) to the function but
> VB.NET doesn't allow me to pass values (non delgates).
Have you tried passing Nothing?