Extract information from RCDATA resource
See the question and my original answer on StackOverflowYou can just cast the result from LockResource to whatever you think it contains, something like this:
char* pMem = (char*)LockResource(hglob);
if it's an ANSI string.