News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Interfacing to C++ overloaded functions

Started by K_F, September 07, 2015, 04:45:24 PM

Previous topic - Next topic

K_F

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

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

Zen

Zen

K_F

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