Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

CDialog::OnInitDialog();

I use the above line to display a dialog when there is an error. This was working in VC++ 6 but it is not in VC++ 2010.

I am getting "Attempted an unsupported operation" message at this line in VC++ 2010. What does this error mean?

Thanks!
Posted

1 solution

You should not call this function directly, it is called from the framework when the dialog is first created.
 
Share this answer
 

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