Please find my problem as below -
objPtr(obj) is the method used in VB to retrieve the address of an object. This method has been supressed in .Net. .Net approach to achieve the same can be something as follows -
Dim obj as SFCTI.SFTSAPI
Dim GC As System.Runtime.InteropServices.GCHandle = System.Runtime.InteropServices.GCHandle.Alloc(Marshal.SizeOf(obj), System.Runtime.InteropServices.GCHandleType.Pinned)
Dim ret As IntPtr = GC.AddrOfPinnedObject.ToInt32
So as to Pin an object the object must be of blittable type (containing only basic types) but MyControl.MyFunction has arrays/strings/structs/enums etc hence cannot be used in above manner.