Page 1 of 1

Rc file syntax error

Posted: Mon Oct 21, 2019 7:11 pm
by Andrei003
Can you please tell me what is wrong with this line of code? It keeps telling me there is a syntax error but I just can't find it.

Code: Select all

MENUITEM "User properties", ID_USRNAME, MFT_STRING, MFS_GRAYED
This is exactly how it is in the code.

Re: Rc file syntax error

Posted: Mon Oct 21, 2019 9:09 pm
by learn_more
Without any context I am going to employ my glass ball,
and it suggests me that the weird spelling of 'ID_USRNAME' is most likely a problem.

Re: Rc file syntax error

Posted: Tue Oct 22, 2019 7:06 pm
by Andrei003
Thank you! The problem was solved before though. It was that I added the ID_USRNAME resource in the en_us.rc file, but not in resources.rc .