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
Not to worry.. have all the info
:biggrin:
So,...problem solved ???
Problem ??
:biggrin:
Some good soul posted the link of this page in a Stack Overflow page where discussion is about how to safely pass "this" pointer to a wndproc function. And when I arrived this page.... My day spoiled!
Hmm; seems like "K_F" answered their own question but didn't bother to let the rest of us in on the solution. I think they may still be around here.
Quote from: kcvinu on August 06, 2024, 11:22:21 AMSome good soul posted the link of this page in a Stack Overflow page where discussion is about how to safely pass "this" pointer to a wndproc function. And when I arrived this page.... My day spoiled!
Quote from: NoCforMe on August 07, 2024, 04:55:20 AMHmm; seems like "K_F" answered their own question but didn't bother to let the rest of us in on the solution. I think they may still be around here.
Yeah,.. Not all that helpful really eh ??,.. lol
He Does occasionally Drop-In and is still active, perhaps try sending him a PM ??