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
 
#7

AW: UnicodeString unbrauchbar

  Alt 9. Sep 2014, 18:08
Hallo,

Versuch mal ob das hier geht (keine Garantie, bin auch kein Experte und hab grad kein C++ drauf)
Code:
FILE* file = fopen(&Edit1->Text[1], "rb");
Davon abgesehen castet man in c++ nicht so:

PChar(x)

sondern so

(PChar)x
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