I have 2 DLL , namely A.dll and B.Dll
They both have a function called ShowHelp()
How do I declare the two functions that have The Same name
Use this link for a bit info http://delphi.about.com/od/windowsshellapi/a/dll_basics.htm
The above link can help you create and then call a dll file from delphi
What if you use only one dll?If both of dll contains only the same function,my opinion is that enough one. :-O
Listen
{a.dll}
Procedure ShowHelpA;
Begin
ShowHelp();{you have to fill the arguments}
End;
{and the b.dll}
Procedure ShowHelpB;
Begin
ShowHelp();{you have to fill the arguments}
{Do Keyword-based Help request.
procedure ShowHelp(const HelpKeyword, HelpFileName: String);}
End;
call them by their names like ShowHelpA; or ShowHelpB;
by the way showhelp() is a procedure :icon_smile:
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.