Solved

examples for dll

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

726 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