Re: Execute a DLL function
Marius Zaharia <[email protected]> Tue, 05 Aug 2003 16:12:20 +0300
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
You may also use the 'external' directive in declaring the function at the calling place: procedure MyDLLProc(Value1: yourtype; Value2: yourtype); external 'myDLLfile.dll'; and the call the function as usual. Regards, Deck davidmuinos wrote: > HI guys, I'd like to execute a function of my DLL in my application. > > I've already found two functions in Windows SDK : LoadLibrary and > GetProcAddress. They worked, got the Address of my DLL's function , > but how can i execute it ? > One more thing : the DLL's function has parameters. > > > Thanks very much. > > > Yahoo! Groups Sponsor > ADVERTISEMENT > <http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=1705115362:HM/A=1693353/R=0/SIG=11t71ok4g/*http://www.netflix.com/Default?mqso=60178294&partid=3170658> > > > > CodeCoffer - new Delphi code protection Tool! > http://www.delphicollection.com/public/CodeCoffer.htm > --------------------------------------------------------------- > Unsubscribe:[email protected] > List owner:[email protected] > --------------------------------------------------------------- > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service > <http://docs.yahoo.com/info/terms/>. ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/