Author Topic: Interfacing to C++ overloaded functions  (Read 297 times)

K_F

  • Member
  • ****
  • Posts: 948
  • Anybody out there?
Interfacing to C++ overloaded functions
« on: September 07, 2015, 04:45:24 PM »
I would like to interface to a C++ object function which is overloaded.
I can understand that the MS compiler can easily pick up which function it is from the source code, but does anyone know offhand how to do this dynamically.

The overloaded functions have to be separate code pieces or implement via 'switch' structures.

I'd would think that each overload function has a pointer in the object's virtual table - would this be correct ?

Thanks
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

K_F

  • Member
  • ****
  • Posts: 948
  • Anybody out there?
Re: Interfacing to C++ overloaded functions
« Reply #1 on: September 07, 2015, 11:28:34 PM »
Not to worry.. have all the info
 :biggrin:
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

Zen

  • Member
  • ****
  • Posts: 712
  • slightly red-shifted
Re: Interfacing to C++ overloaded functions
« Reply #2 on: September 09, 2015, 05:55:53 AM »
So,...problem solved ???
Zen

K_F

  • Member
  • ****
  • Posts: 948
  • Anybody out there?
Re: Interfacing to C++ overloaded functions
« Reply #3 on: September 09, 2015, 05:09:51 PM »
Problem ??
 :biggrin:
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'