Hi everybody,
:( I wrote a simple gui with tabs. It was working a second ago. When I reopened it and tried running it, DoModal suddenly started returning -1. I traced it and it seems it is giving me that because it failed to load template dialog reosurce. Anybody would know how to fix the problem:
found in dlgcore.cpp
ThanksCode:
// return -1 in case of failure to load the dialog template resource
if (lpDialogTemplate == NULL)
return -1;
Amish