Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have inherited some older MFC code. That I am updating and maintaining. It has a form of comment in from of most methods and global declararions of //##ModelId=xxxxxxxxxxxx. I am wondering what the use of ModelId is/was?

I suspect that they are left over from some IDE or wizard that used this to keep track of what the IDE/wizard had done.

Are these ModelId's useful anymore or can they be deleted?

Clayton
Posted

1 solution

It is commented out which means it won't be compiled which means it is useless unless it is there to describe the functionality of some code that is not commented out.
The easy way to find out is to remove these instances and see if the code still compiles and runs properly.
 
Share this answer
 
Comments
snavece 19-Dec-11 14:16pm    
This does not address the question is the ModelId useful for an IDE/wizard/
fjdiewornncalwe 19-Dec-11 14:21pm    
You can just remove them and then see if things behave properly. That is the easy way to find out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900