class is following
----------------------------
unit dortIslem;
interface
type
TdortIslem = class
private
public
function Topla(x, y:integer):integer;
end;
implementation
function TdortIslem.Topla(x, y: integer): integer;
begin
result:=x+y;
end;
> I Created a class and build it. now it's a dll file, but I don't know how
> I can will use in project.
Did you create an assembly or a package?
Ideally you want to create a package. Then in the other project you
just need to add a reference to the package/dll and use the units in
it just as if they were compiled into your main app.
--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
> how can I? I Try but I can't
File / New / Other / Delphi.NET / Package
> yes, i know it , but i do not know how i can call function in my class
> package
* Add the package dll to your projects references.
* Add the unit you are using to the uses clause in your other app
* Call the function.