delegate = pointer to function?

  • Thread starter Thread starter Ken Kast
  • Start date Start date
K

Ken Kast

I've got an externally-defined method in a dll. The .h files for the dll
has something like

typedef int func (...);

int f (func* x);

Is this the right conversion:

Public Delegate func(...) as Integer
Declare Function f Lib "dll" (ByVal x as func) as Integer

Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top