Solved

examples for dll

Posted on 1998-12-09
3
208 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
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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 79
Correct Component for Shopping Cart. 2 96
QRReport  TQrmemo vertical stretching 1 42
When i run adoquery my application freezes 26 150
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now