Hi Ruthven,
That is a documentation error...need to specify the second function argument - there is no default value.
So please change code to:
void test_GetFontName()
{
string str;
str = GetFontName(SYSTEM_FONT, NULL);
out_str(str);
}
Easwar
OriginLab