I created a dialog using the Resource-Manager. I changed the IDs in main.h. In the main.rc file, not always the defined IDs from main.h were used, so the program doesn not work any more. I changed the ID-numbers (e.g. 4007) in main.rd to the symbols (e.g. IDAP12) and it worked again.