Anyoune knows differences with custom controls in NT and W98???
-
Hi, I am stuck... We use a custom control (yes, THE Grid Control ;-) in a big project . With NT4 everything is running fine, but now someone dared to run it with Win98 and W2k. The Result: every dialog with the grid in it refused to open!!! The samples provided with the grid run fine on the same machine, so it is nothing with the grid. When I setl the custom control in the resource editor to the classname EDIT, the dialog starts (but it looks terrible, of course ;-). So: what can be wrong in this project? ANY hints? Martin
-
Hi, I am stuck... We use a custom control (yes, THE Grid Control ;-) in a big project . With NT4 everything is running fine, but now someone dared to run it with Win98 and W2k. The Result: every dialog with the grid in it refused to open!!! The samples provided with the grid run fine on the same machine, so it is nothing with the grid. When I setl the custom control in the resource editor to the classname EDIT, the dialog starts (but it looks terrible, of course ;-). So: what can be wrong in this project? ANY hints? Martin
-
Did you try to recompile the code under w98 ? I have experienced some similar problems - I can't run the programm compiled in NT under 98 , but the programm compiled under 98 it works fine on both NT & 98.I think some links aren't good ....
Yes, I tried it, but with no success. In the meantime I got another hint: The dialogs don't load when I put the ressources into an external DLL (as it is the case in this project)! Is there a way to tell the application, that it has to run with such an external DLL AND custom controls? Did I miss something important to do? Every other dialog works just fine, only the dialogs with custom controls in it refuse to load... Martin
-
Hi, I am stuck... We use a custom control (yes, THE Grid Control ;-) in a big project . With NT4 everything is running fine, but now someone dared to run it with Win98 and W2k. The Result: every dialog with the grid in it refused to open!!! The samples provided with the grid run fine on the same machine, so it is nothing with the grid. When I setl the custom control in the resource editor to the classname EDIT, the dialog starts (but it looks terrible, of course ;-). So: what can be wrong in this project? ANY hints? Martin
Hi, I've got it!!! When using an external DLL, you have to register the window class for THAT DLL! So you have to set the hInst of the WNDCLASS-structure via AfxGetResourceHandle() instead of AfxGetInstanceHandle() as it is done most of the time... Happy greetings, Martin