Add the command AfxEnableControlContainer(); in your Apps InitInstance()-Method !!! e.g. ///////////////////////////////////////////////////////////////////////////// // CMyApp initialization BOOL CMyApp::InitInstance() { AfxEnableControlContainer(); greets al
E
Elmar Weber
@Elmar Weber
Posts
-
Active X problem -
Random numberssorry, the includes are: :-D #include #include greets al
-
Random numbersPlease take a look into the MSDN under command 'srand' !!! Try to extend your code as follow: #include #include .. ... srand ( (unsigned)time (NULL) ); for(int k=0;k<21;k++) { myarray[k] = (char)(((int)rand()%25)+65); } ... ... greets al