Community
The correct call is
acedSSGet(_T("_:S"), NULL, NULL, NULL, sset);
Without '_' the call will fail on non-English versions of AutoCAD! Maybe the capital 'S' is important too.
It will always fail with 2nd argument !=NULL.