PrevNextUpHome BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1

19.1. BREW Helper Function

SFXHelper is the wrapper class for the BREW helper functions.

[Caution] BREW helper function substitution

Almost all the BREW helper functions can be substituted by the SophiaFramework classes.

For instance, the SFXAnsiString class (SFXAnsiString::GetLength function) can be used instead of the STRLEN function.

Example 19.1. How to use BREW helper functions

SFXHelper::dbgprintf("Hello World!"); // same as DBGPRINTF function

UInt32 time = SFXHelper::gettimems(); // get present time in milliseconds