Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String/Float Functions in DLL

Status
Not open for further replies.

lloydie2

Programmer
Apr 21, 2003
75
GB
I am using some functions in a DLL I wrote to create some strings form a line of text. I need to convert some of these strings to float(real) within a function can someone expalin to me how.

code----------------------------------------------
Function LenOfCallHr (S: String): String; stdcall;
Begin
Result := copy(S,37,2);
end;

Function LenOfCallMin (S: String): String; stdcall;
Begin
Result := copy(S,40,2);
end;

Function LenOfCallSec (S: String): String; stdcall;
Begin
Result := copy(S,43,2);
end;
--------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top