Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

invalid dialog template name at runtime

Status
Not open for further replies.

Captrick458

Programmer
Mar 27, 2005
37
US
When I call a modeless dialog using something like

ptr=new MClass();
ptr->Create(IDD_PROGRESS,NULL);

NOTE: For this example, I have left out the error checking, etc.

I get a runtime error that amounts to an inability to resolve IDD_PROGRESS into a TemplateName. The actual error occurs with

if (!_AfxCheckDialogTemplate(lpszTemplateName, FALSE))

Any ideas would be greatly appreciated.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top