Click here to Skip to main content
15,909,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialogs in Visual C++ -- Buttons Pin
David Crow27-Jun-05 4:50
David Crow27-Jun-05 4:50 
GeneralRe: Dialogs in Visual C++ -- Buttons Pin
bugDanny27-Jun-05 5:03
bugDanny27-Jun-05 5:03 
GeneralRe: Dialogs in Visual C++ -- Buttons Pin
toxcct27-Jun-05 6:22
toxcct27-Jun-05 6:22 
GeneralCom ports Pin
act_x27-Jun-05 4:34
act_x27-Jun-05 4:34 
GeneralRe: Com ports Pin
TFrancis27-Jun-05 5:28
TFrancis27-Jun-05 5:28 
GeneralRe: Com ports Pin
erkanina28-Jun-05 2:05
erkanina28-Jun-05 2:05 
GeneralRe: Com ports Pin
Blake Miller28-Jun-05 4:23
Blake Miller28-Jun-05 4:23 
GeneralWeird problem - UI related Pin
Don Miguel27-Jun-05 4:29
Don Miguel27-Jun-05 4:29 
Needles to say, not a directly Visual C++ question, but a
weird one, clearly related to intimately Win32 API.

To make a long story short:
- I developed a desktop application, using MFC and having, among other controls a list control.
- During development ant testing, everything looked OK.
- As a must, when the application is installed on a real user machine, it must register itself in "run at startup applications" (Registry locale machine key), and start a dialog, where some data is displayed (loaded in the list control)

And now come the WEIRD thing: on one of the machines, used for testing, the application failed to instantiate... because the List control was not instantiate. In other words, the application UI started before common controls being available!!! Is such a thing possible???

Did anybody encounter such situation before? Does anybody heard about such a weird problem in his experience?? Did exist a remedy?? Of course, I did not take in consideration a hack, like a "sleep" in my application startup... what make me worry is the situation itself. What is particular on machine I experienced the situation is that at machine starup, a service start and took most of machine resources for a while. In this time, I was able to log on (a Windows 2000 machine), and my application started immediately, with the error.

Did anybody hear somethiing like that?? For me, it sounds like Windows OS is not able to fully load its UI libraries, before application start... and this is weird, could be such a flaw? This lead a door to serious problems in how UI is designed... I will search myself further, but I also want your feedback, if such situation was encountered by someone.

I mention of course that, if the apllication is started late enough, it work normally on that machine. So, I'm not intrested in advices, but just in situation I mentioned: is possible that UI resources, needed by a desktop application, don't be available, at a certain moment?? WTF | :WTF: - is a windows system!!!!!!

Any information with such a issue is greatly apreciated.

I can reformulate the problem, to avoid false hints: when is user32.dll loaded by OS, during the boot process??

Regards.


GeneralRe: Weird problem - UI related Pin
Daniel Turini27-Jun-05 4:46
Daniel Turini27-Jun-05 4:46 
GeneralRe: Weird problem - UI related Pin
Don Miguel27-Jun-05 4:53
Don Miguel27-Jun-05 4:53 
GeneralChanging the Dialog Window Button Name Pin
jerry1211a27-Jun-05 3:57
jerry1211a27-Jun-05 3:57 
GeneralRe: Changing the Dialog Window Button Name Pin
Cedric Moonen27-Jun-05 4:02
Cedric Moonen27-Jun-05 4:02 
GeneralRe: Changing the Dialog Window Button Name Pin
jerry1211a27-Jun-05 4:11
jerry1211a27-Jun-05 4:11 
QuestionInsert new media? Pin
Larsson27-Jun-05 3:41
Larsson27-Jun-05 3:41 
AnswerRe: Insert new media? Pin
Blake Miller27-Jun-05 5:02
Blake Miller27-Jun-05 5:02 
GeneralRe: Insert new media? Pin
Larsson27-Jun-05 7:36
Larsson27-Jun-05 7:36 
GeneralRe: Insert new media? Pin
Blake Miller27-Jun-05 7:39
Blake Miller27-Jun-05 7:39 
GeneralRe: Insert new media? Pin
Larsson27-Jun-05 20:36
Larsson27-Jun-05 20:36 
Questionwhy does my view class disappear suddently? Pin
liuyue27-Jun-05 2:05
liuyue27-Jun-05 2:05 
AnswerRe: why does my view class disappear suddently? Pin
Cedric Moonen27-Jun-05 2:07
Cedric Moonen27-Jun-05 2:07 
AnswerRe: why does my view class disappear suddently? Pin
David Crow27-Jun-05 2:19
David Crow27-Jun-05 2:19 
GeneralOnEditPaste Problem Pin
ugur_basak27-Jun-05 1:49
ugur_basak27-Jun-05 1:49 
GeneralRe: OnEditPaste Problem Pin
khan++27-Jun-05 1:53
khan++27-Jun-05 1:53 
GeneralRe: OnEditPaste Problem Pin
ugur_basak27-Jun-05 2:11
ugur_basak27-Jun-05 2:11 
GeneralRe: OnEditPaste Problem Pin
David Crow27-Jun-05 4:11
David Crow27-Jun-05 4:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.