Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#12

Re: chr Funktion in Delphi 2009

  Alt 28. Mai 2010, 09:31
Hallo,

Also du müsstest (wahrscheinlich) den Pointer auf das 5 Element (Index 4) auf einen PWideChar casten:

Result:=GetDefaultCommConfig(PWideChar(@UsedComm[4]),CommConfig,i) or GetDefaultCommConfig(UsedComm,CommConfig,i);
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat