Greetings and salutations.
Quick question: Does the third party command interface in dbpro support function overloading?
Example:
(c++ code in a dll)
void addResource(LPSTR name,int no)
{
//rest of code here
}
void addResource(DWORD handle,int no)
{
//rest of code here
}
(Stringtable in dll)
STRINGTABLE
{
1, "ADD RESOURCE%SL%Mangled name of function in dll"
2, "ADD RESOURCE%DL%Mangled name of function in dll"
}
Would the dbpro compiler be able to ?differentiate? between the two commands based on the input parameters?
I would simply test this and see if it works, but I'm writing my dll using the free C++ command line tools from Borland so it would take me some time to try this out.
Any takers?