hResource = LoadResource (
hInst,
FindResource(hInst, TEXT ("AnnabelLee"), TEXT("TEXT"))
);
资源文件如下:
STRINGTABLE DISCARDABLE
BEGIN
IDS_APPNAME """PoePoem"""
IDS_CAPTION """""""Annabel Lee""""by Edgar Allan Poe"""
IDS_ERRMSG """this Program need Windows XP"""
END