Hello!
>Pellesc is definitely a great c compiler !
Thanks!
>1- when does it update the .h file ? it is often not synchronized
The definitions should be updated immediately, and the symbol file (.h) should be saved when the resource script (.rc) is saved.
When you have loaded the resource script in the IDE, you can use View -> Resource includes... to check which symbol file is used, that is has a valid path, and so on.
>2- let's say I have a control that was named 1001, I name it
>IDC_CONTROl, then when I create a new control it takes the
>name 1001, and when I try to rename it to anything else, it
>says that 1001 is already assigned to another control (the
>IDC_CONTROL which was previously 1001)
Hmm... I can't really explain this. The generated ID for a new control should be unique - it is verified against the other controls in the current dialog. Since I sometimes need to map from ID to name, the ID numbers should be unique. To simplify this for the IDE, I try to keep the numbers in different groups:
1001-2000 (dialogs)
2001-3000 (menus)
3001-3500 (accelerator tables)
3501-4000 (accelerator items)
4001-6000 (dialog controls)
6001-8000 (menu items)
8000-10000 (bitmaps, icons, cursors, ...)
10000- (strings)
(You should be able to use other numbers too, but they might clash with these defaults, I guess...)
If you use View -> Resource symbols... you will see all your defined names and ID values. Maybe this will give a clue?
I know this part can be improved, but I'm not sure what is *best*. If you have any ideas, please let me know...
>3- I have a rc file in which I can't open any more a spefici
>dialog, it simply crash the resource editor, :
Sounds bad. I tried this on my Windows XP, but can't get a crash. I had to create main.h with the symbol definitions - maybe it's something in this file? If possible - can you attach both the resource script (.rc) and symbol file (.h) so I can test?
>I hope I didn't break any rules, and did not repeat already asked questions.
No problems! Just ask away...
Pelle