Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

examples for dll

Posted on 1998-12-09
3
Medium Priority
?
219 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 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

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…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

810 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