Child dialog dependant on SP2 :(
-
I have a many child dialog at are created within the parent. dlg = new childDlg; dlg->Create(childDlg::IDD, this); Works great.. but something it dependant on SP2. Without it, the window will not show up. People who use my program use it for Audio/Midi processing and don't like SP2 installed on their Digital Audio Workstation. So I would like to fix this so the applications does not require SP2. Any Ideas? VC2005 MFC DirectX 8.0 SDK
-
I have a many child dialog at are created within the parent. dlg = new childDlg; dlg->Create(childDlg::IDD, this); Works great.. but something it dependant on SP2. Without it, the window will not show up. People who use my program use it for Audio/Midi processing and don't like SP2 installed on their Digital Audio Workstation. So I would like to fix this so the applications does not require SP2. Any Ideas? VC2005 MFC DirectX 8.0 SDK
-
I have a many child dialog at are created within the parent. dlg = new childDlg; dlg->Create(childDlg::IDD, this); Works great.. but something it dependant on SP2. Without it, the window will not show up. People who use my program use it for Audio/Midi processing and don't like SP2 installed on their Digital Audio Workstation. So I would like to fix this so the applications does not require SP2. Any Ideas? VC2005 MFC DirectX 8.0 SDK
:confused: SP2 for what? Dialog windows have been created the same way for many years. Maybe you're leaving out some information that would make it remotely possible for us to help? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
:confused: SP2 for what? Dialog windows have been created the same way for many years. Maybe you're leaving out some information that would make it remotely possible for us to help? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
Well, I'm not exactly sure why the dialogs don't open without SP2. I don't really know where to begin on finding out either. I figure if it's not the dialog itself, then it is something within the dialog. Is their a way I can hunt down what is causing the need for SP2? Could it be the version of MFC i'm linking against? What kinda information can I provide to help out? Program specs: -------------- MFC statically linked Unicode Not Using ATL No Common Language Runtime support No Whole Program Optimization and Optimization disabled PreProcessor Def's WIN32;_WINDOWS;NDEBUG Link Library Dependencies = YES I guess I will just start stripping down the class the dialog is in till it works :P
-
Well, I'm not exactly sure why the dialogs don't open without SP2. I don't really know where to begin on finding out either. I figure if it's not the dialog itself, then it is something within the dialog. Is their a way I can hunt down what is causing the need for SP2? Could it be the version of MFC i'm linking against? What kinda information can I provide to help out? Program specs: -------------- MFC statically linked Unicode Not Using ATL No Common Language Runtime support No Whole Program Optimization and Optimization disabled PreProcessor Def's WIN32;_WINDOWS;NDEBUG Link Library Dependencies = YES I guess I will just start stripping down the class the dialog is in till it works :P
I still have no idea what SP2 is. I have an idea but I'd be assuming. :) Regardless, why not step into CDialog::Create()....does the actual dialog creation fail at a Win32 API call? Does MFC assert or fail? If creation succeeds, try breaking at PreCreateWindow(), WM_INITDIALOG, WM_SIZE, WM_PAINT. Does execution ever get to any of these? If so, do any of them return an invalid value? Add a PreTranslateMessage() override to the class....do you ever get any messages? etc...
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
I still have no idea what SP2 is. I have an idea but I'd be assuming. :) Regardless, why not step into CDialog::Create()....does the actual dialog creation fail at a Win32 API call? Does MFC assert or fail? If creation succeeds, try breaking at PreCreateWindow(), WM_INITDIALOG, WM_SIZE, WM_PAINT. Does execution ever get to any of these? If so, do any of them return an invalid value? Add a PreTranslateMessage() override to the class....do you ever get any messages? etc...
Mark Salsbery Microsoft MVP - Visual C++ :java:
Thanks Mark.. I'm working on getting VS2005 installed and running on an SP1 machine and I guess I'll work it from there :)
-
Thanks Mark.. I'm working on getting VS2005 installed and running on an SP1 machine and I guess I'll work it from there :)
You;'ve been asked several times... SP2 of WHAT? XP? VSxxxx? The kettle next to your PC? The other trick you can try is to go to the dialogs template, and check the NOFAILCREATE style - then you can find out which control is having trouble. As has been said, dialog creation is not much changed for a decade. Iain.