ola,
muchas gracias, ahora el codigo se va marchando derecho por derecho!
Now I'm going to bookmark this working example.
One more question, please:
what does it mean this line:
Pointer(hello):=DynLibs.GetProcedureAddress(mylib_handle,PChar('hello'));
Exactly, what does it happen to hello at: Pointer(hello)?
Because i left hello as an integer (hello: function(a : integer; b : integer):integer ; cdecl;)
So, in the last line (edit1.text:=inttostr(hello(3,5))

hello is used as integer or pointer? Or is it at the same time the integer with the Address as sender, and an integer as receiver?
thanks again