Je cherche à convertir ce code (écrit en Delphi) en c++builder :
Code:p=PChar(Ptr($FE000));
Erreur à la compilation :
C++Error... Call to undefined function 'Ptr'
Version imprimable
Je cherche à convertir ce code (écrit en Delphi) en c++builder :
Code:p=PChar(Ptr($FE000));
Erreur à la compilation :
C++Error... Call to undefined function 'Ptr'
Salut Socrat
Cette ligne en Delphi
va s'ecrire en BCBCitation:
DrawText(Printer.handle, PChar(S), length(S), R, DT_CALCRECT);
Citation:
DrawText(PaintBox1->Canvas->Handle, S.c_str(),S.Length(), &R, DT_CALCRECT);