Solved

examples for dll

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

760 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

21 Experts available now in Live!

Get 1:1 Help Now