Loading 2 DLL that have a Function with the same name

Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2009
Posts: 4
Reputation: SANMI is an unknown quantity at this point 
Solved Threads: 0
SANMI SANMI is offline Offline
Newbie Poster

Loading 2 DLL that have a Function with the same name

 
0
  #1
May 5th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 462
Reputation: FlamingClaw will become famous soon enough FlamingClaw will become famous soon enough 
Solved Threads: 111
FlamingClaw's Avatar
FlamingClaw FlamingClaw is offline Offline
Posting Pro in Training

Re: Loading 2 DLL that have a Function with the same name

 
0
  #2
May 6th, 2009
Use this link for a bit info http://delphi.about.com/od/windowssh...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.
Be a good part of the community.Don't be ungrateful.
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 462
Reputation: FlamingClaw will become famous soon enough FlamingClaw will become famous soon enough 
Solved Threads: 111
FlamingClaw's Avatar
FlamingClaw FlamingClaw is offline Offline
Posting Pro in Training

Re: Loading 2 DLL that have a Function with the same name

 
0
  #3
May 14th, 2009
Listen
  1. {a.dll}
  2. Procedure ShowHelpA;
  3. Begin
  4. ShowHelp();{you have to fill the arguments}
  5. End;
  6. {and the b.dll}
  7. Procedure ShowHelpB;
  8. Begin
  9. ShowHelp();{you have to fill the arguments}
  10. {Do Keyword-based Help request.
  11. procedure ShowHelp(const HelpKeyword, HelpFileName: String);}
  12. End;
call them by their names like ShowHelpA; or ShowHelpB;
by the way showhelp() is a procedure
Be a good part of the community.Don't be ungrateful.
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Pascal and Delphi Forum
Thread Tools Search this Thread



Tag cloud for Pascal and Delphi
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC