?
Solved

examples for dll

Posted on 1998-12-09
3
Medium Priority
?
215 Views
Last Modified: 2010-04-04
if you experts god have for me example of dll project then let me now or send the code in experts-exchange

i need dll tutorial

thanks.....

0
Comment
Question by:emmi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:sassas081597
ID: 1350155
Put your E-mail and I could send you some types of dlls.
Here is a copy of Delphi Help on DLLs

library MinMax;

function Min(X, Y: Integer): Integer; stdcall;
begin
  if X < Y then Min := X else Min := Y;
end;

function Max(X, Y: Integer): Integer; stdcall;
begin
  if X > Y then Max := X else Max := Y;
end;

exports
  Min index 1,
  Max index 2;

begin
end.

unit1;
.
function Max(X, Y: Integer): Integer;external 'MinMax.dll';

//here you can use Max function.

begin
end;
SASSAS
0
 

Author Comment

by:emmi
ID: 1350156
emil@vis.is
0
 

Accepted Solution

by:
jackton earned 150 total points
ID: 1350157
Develop dll project is easy for Delphi
you can select New--,and in Object Form:
choose New Dll
then Declare your function

note:
  all exported dll should be declared like

  procedure  ExportFunc;{$IFDEF win32}stdcall;{$ELSE}export;{$ENDIF}

<Mastering Delphi 3 or 4>is the best Delphi Progmming book
I'll mail you some example of it.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question