string probleme

Previous topic - Next topic

Heiko

dieser code eines wrappes inline...
Code (glbasic) Select
FUNCTION xAppTitle: title$
INLINE
PROC_ADDR(wrap_xAppTitle);
title_Str.Alloc(512);
wrap_xAppTitle((char*)title_Str.GetStrData());
title_Str.CalcLen();
ENDINLINE
ENDFUNCTION

hat fr?her funktioniert.
jetzt wird er mit:
Code (glbasic) Select
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp: In function `DGInt __GLBASIC__::xAppTitle(__GLBASIC__::DGStr)':
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp:610: error: 'class __GLBASIC__::DGStr' has no member named 'Alloc'
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp:611: error: 'class __GLBASIC__::DGStr' has no member named 'GetStrData'
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp:612: error: 'class __GLBASIC__::DGStr' has no member named 'CalcLen'


quittiert!

Kitty Hello

Sorry, das hab ich ge?ndert:
.Alloc -> .alloc
.GetStrData -> .getbuffer
.CalcLen -> .releasebuffer

Sorry.

Heiko

achso, kein ding, daf?r gibts ja suchen->ersetzen.