Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redim of Function Pointer Arrays
#1
When trying to do this it gives a duplicate definition error.

Code:
'$Dynamic

Sub FPInit
Dim FPArr(0) As Function (ByVal As Integer) As Integer

numptrs = 9

Redim FPArr(numptrs) As Function (ByVal As Integer) As Integer

...Whatever...

End Sub
Reply
#2
Fixed, changes are on CVS (SF takes up to 5 hours to update the anonymous CVS access though).

I was using a hack to handle function ptr symbol "names", now i changed to a proper one, using name mangling.
Reply
#3
Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)