|
From: Malcolm N. <m.n...@wa...> - 2004-03-25 11:03:06
|
Hello Site, Thursday, March 25, 2004, 3:51:19 AM, you wrote: SR> Sorry for posting again. This is really stumping SR> me. I tried adding a resource file to my project. In one of my projects it works SR> perfectly fine, but it doesn't seem to want to do so now. I selected new source SR> file, it asked me if I was sure I wanted to add a new one to the project, I SR> selected yes, and saved the files as editor.h and editor.rc. then of course I SR> had my main.cpp. It worked fine until I added the dialog in my .rc SR> file. Don't add a resource file as a source file. What youwant to do is add a new resource file. (File/New/Resource File. I created a new windows project, copied your edit.cpp text into the new main.cpp. Then I created a new resource file copied your text therein, and finally a new source file copied your text therein, saved them all (giving them the correct names) and compiled. NO Problem. Possibly you are creating a new source file instead of a new resource file?? -- Best regards, Malcolm |