Click here to Skip to main content
14,984,271 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C programming Pin
Kofi_Tommy17-Aug-16 10:04
MemberKofi_Tommy17-Aug-16 10:04 
QuestionMigrating old project to VS2008 - resource file errors Pin
charlieg4-Aug-16 3:10
Membercharlieg4-Aug-16 3:10 
AnswerRe: Migrating old project to VS2008 - resource file errors Pin
Richard MacCutchan4-Aug-16 3:36
mveRichard MacCutchan4-Aug-16 3:36 
GeneralRe: Migrating old project to VS2008 - resource file errors Pin
charlieg4-Aug-16 8:07
Membercharlieg4-Aug-16 8:07 
GeneralRe: Migrating old project to VS2008 - resource file errors Pin
Richard MacCutchan4-Aug-16 8:22
mveRichard MacCutchan4-Aug-16 8:22 
GeneralRe: Migrating old project to VS2008 - resource file errors Pin
leon de boer7-Aug-16 7:47
Memberleon de boer7-Aug-16 7:47 
GeneralRe: Migrating old project to VS2008 - resource file errors Pin
charlieg8-Aug-16 2:02
Membercharlieg8-Aug-16 2:02 
GeneralRe: Migrating old project to VS2008 - resource file errors Pin
leon de boer8-Aug-16 7:11
Memberleon de boer8-Aug-16 7:11 
I am surprised you never ran into the problem with RC files when you went from 16 bit to 32 bit programs because the header includes the language id and the Resource compiler used to always spit it about language not being set.

The solution is dead simple and was given to you by Richard ... open the RC file with a text editor its a straight text file.

Just pick the body up onto the clipboard and post it into a new empty resource file associated to the project. That is why we can't work out why you are stressed over it as it's like 1 min work with a text editor.

All the Resource compiler is complaining about it the header information in the old RC file which has includes directories that are wrong or header commands that aren't supported. The reason for that is most likely you used a resource kit wizzard and it's directing to that old directory or deprecated. You might have one or two resources you are using from the kit which will be trivial junk like ID's or perhaps an icon and if you have any just make your own replacements getting rid of dependency on the old kit.

I guess I should ask do you know what the RC body should look like and where the header ends? Even if you aren't familiar the format detail is so obvious I am sure if you spent 10 min looking at the file you will work it out. If you get stuck just paste the top 10-20 lines of the file and we can help.
In vino veritas


modified 8-Aug-16 13:33pm.

GeneralRe: Migrating old project to VS2008 - resource file errors Pin
charlieg9-Aug-16 7:50
Membercharlieg9-Aug-16 7:50 
AnswerRe: Migrating old project to VS2008 - resource file errors Pin
charlieg24-Sep-16 0:48
Membercharlieg24-Sep-16 0:48 
Questionhow to be sure each child class inherits a method? Pin
FriendOfAsherah2-Aug-16 19:58
MemberFriendOfAsherah2-Aug-16 19:58 
AnswerRe: how to be sure each child class inherits a method? Pin
Richard MacCutchan2-Aug-16 20:28
mveRichard MacCutchan2-Aug-16 20:28 
GeneralRe: how to be sure each child class inherits a method? Pin
FriendOfAsherah2-Aug-16 20:49
MemberFriendOfAsherah2-Aug-16 20:49 
GeneralRe: how to be sure each child class inherits a method? Pin
Richard MacCutchan2-Aug-16 21:03
mveRichard MacCutchan2-Aug-16 21:03 
GeneralRe: how to be sure each child class inherits a method? Pin
FriendOfAsherah2-Aug-16 21:29
MemberFriendOfAsherah2-Aug-16 21:29 
GeneralRe: how to be sure each child class inherits a method? Pin
Richard MacCutchan3-Aug-16 3:15
mveRichard MacCutchan3-Aug-16 3:15 
GeneralRe: how to be sure each child class inherits a method? Pin
FriendOfAsherah3-Aug-16 19:23
MemberFriendOfAsherah3-Aug-16 19:23 
SuggestionRe: how to be sure each child class inherits a method? Pin
Krishnakumartg21-Sep-16 20:19
MemberKrishnakumartg21-Sep-16 20:19 
QuestionCrichEditCtrl::Find returns zero when second RichEdit is Created as a Child of A Different CDialog Pin
ForNow2-Aug-16 16:38
MemberForNow2-Aug-16 16:38 
QuestionRe: CrichEditCtrl::Find returns zero when second RichEdit is Created as a Child of A Different CDialog Pin
Richard MacCutchan2-Aug-16 20:24
mveRichard MacCutchan2-Aug-16 20:24 
AnswerRe: CrichEditCtrl::Find returns zero when second RichEdit is Created as a Child of A Different CDialog Pin
ForNow2-Aug-16 23:25
MemberForNow2-Aug-16 23:25 
GeneralRe: CrichEditCtrl::Find returns zero when second RichEdit is Created as a Child of A Different CDialog Pin
Richard MacCutchan3-Aug-16 3:11
mveRichard MacCutchan3-Aug-16 3:11 
AnswerRe: CrichEditCtrl::Find returns zero when second RichEdit is Created as a Child of A Different CDialog Pin
leon de boer4-Aug-16 5:19
Memberleon de boer4-Aug-16 5:19 
GeneralRe: CrichEditCtrl::Find returns zero when second RichEdit is Created as a Child of A Different CDialog Pin
ForNow4-Aug-16 5:29
MemberForNow4-Aug-16 5:29 
GeneralRe: Had a number of controls CTEXT and I didn't allocate Corresponding Ctatic Pointers thanks Pin
ForNow5-Aug-16 5:29
MemberForNow5-Aug-16 5:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.