How can I retrive values from a string table in a resource associated with my project? For example, I have a value IDS_TITLEBAR in my string table, how can I get the string value?
I tried TEXT(MAKEINTRESOURCE(IDS_TITLEBAR)) but that's crashing my program.
This is where I'm using it:
Code:hwnd = CreateWindow( szAppName, MAKEINTRESOURCE(IDS_TITLEBAR), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL );