How to use .net delegate in vba -


i have .net dll written in c# exposes delegates. now, visible in vba object explorer , appear 'class'. how can instantiate , make point vba function same signature , pass c# function takes delegate argument?

i should able that, right!? dll registered com interop, there com attributes must decorate delegates or what?

thanks, andrei!

use late binding, won't able use vba intellisense program, call functions right parameter:

for example: instantiate class

private obj object set obj = createobject("namespace.class") 

and use methods class

obj.method(a,b,c) 

if need register ddl programmaticaly, can use

shell "c:\windows\microsoft.net\framework\v4.0.30319\regasm.exe c:\mydll.dll /codebase" 

Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -