How to implement a function pointer?

  • Thread starter Thread starter John Smith
  • Start date Start date
J

John Smith

Hi

Is there a way to implement a function pointer in VB.NET

(I don't have enough knowledge about C)


Thanks for any help
 
Hi Join,

Can you describe this something more, (it is not my stuff, but than the next
can answer better).

Cor
 
A generic example just to explain what am I asking for:

Module MyLibrary
Public Function GetVersion(ByRef MyStandardData As Object) as Single
Return MyExternalUserDefinedFunction("VersionInfo",MyStandardData)
End Function
End Module

I need to call MyLibrary.GetVersion from a few classes/modules
MyExternalUserDefinedFunction is specifically implemented in and for
each class/module that deals with the specific type of Object.

Was I clear enough?
 
Hi John,
Public Class MyLibrary
Public Shared Function GetVersion(ByRef MyStandardData As Object) as
Single
Return MyExternalUserDefinedFunction("VersionInfo",MyStandardData)
End Function
End Class

I do not understand what those routines are however I think this does what
you want.

I hope this helps?

Cor
 
Back
Top