Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionplease tell me Pin
liuyajuan21-Apr-08 16:27
liuyajuan21-Apr-08 16:27 
GeneralRe: please tell me Pin
_AnsHUMAN_ 21-Apr-08 18:04
_AnsHUMAN_ 21-Apr-08 18:04 
GeneralRe: please tell me Pin
Hamid_RT21-Apr-08 19:49
Hamid_RT21-Apr-08 19:49 
QuestionOnInitDialog not called on some PC Pin
Rongqi21-Apr-08 12:35
Rongqi21-Apr-08 12:35 
AnswerRe: OnInitDialog not called on some PC Pin
Shog921-Apr-08 13:08
sitebuilderShog921-Apr-08 13:08 
GeneralRe: OnInitDialog not called on some PC Pin
Rongqi21-Apr-08 13:19
Rongqi21-Apr-08 13:19 
GeneralRe: OnInitDialog not called on some PC Pin
Shog921-Apr-08 15:46
sitebuilderShog921-Apr-08 15:46 
GeneralRe: OnInitDialog not called on some PC Pin
Rongqi22-Apr-08 5:51
Rongqi22-Apr-08 5:51 
Shog,

1. OnInitDialog() is actually not being called (try putting a message box at the start of it and confirm that it doesn't appear on the problem machines)
It is true that OnInitDialog() is not called on the problem PCs, the MessageBox I put in the beginning of OnInitDialog()proves that
2. The problem machines aren't running Win9x
All the test machines are either W2K or WXP
3. This is a normal dialog (not a file dialog / print dialog / other common dialog)
This is a single page dialog that has some edit boxes and check boxes.

I have tried "use MFC in a Static Library" in the project Setting->General->Microsoft Foundation Classes. And also tried copy the mfc42.dll to the exe folder of the problem machine. I am not sure if that is the right way to do it as you mentioned.

Thanks
GeneralRe: OnInitDialog not called on some PC Pin
Shog922-Apr-08 7:16
sitebuilderShog922-Apr-08 7:16 
GeneralC++ program Pin
Oluwaseyi Bamigbade21-Apr-08 10:25
Oluwaseyi Bamigbade21-Apr-08 10:25 
GeneralRe: C++ program Pin
David Crow21-Apr-08 10:32
David Crow21-Apr-08 10:32 
QuestionRe: C++ program Pin
CPallini21-Apr-08 12:03
mveCPallini21-Apr-08 12:03 
GeneralRe: C++ program Pin
Hamid_RT21-Apr-08 19:59
Hamid_RT21-Apr-08 19:59 
GeneralRe: C++ program Pin
CPallini21-Apr-08 21:22
mveCPallini21-Apr-08 21:22 
GeneralRe: C++ program Pin
ThatsAlok30-Jun-09 23:33
ThatsAlok30-Jun-09 23:33 
GeneralRe: C++ program Pin
Rajesh R Subramanian21-Apr-08 18:40
professionalRajesh R Subramanian21-Apr-08 18:40 
Generaltutorial on how to make a proper popup window Pin
Jim Crafton21-Apr-08 9:01
Jim Crafton21-Apr-08 9:01 
GeneralRe: tutorial on how to make a proper popup window Pin
led mike21-Apr-08 10:18
led mike21-Apr-08 10:18 
GeneralRe: tutorial on how to make a proper popup window Pin
Jim Crafton21-Apr-08 11:43
Jim Crafton21-Apr-08 11:43 
GeneralRe: tutorial on how to make a proper popup window Pin
bob1697221-Apr-08 10:29
bob1697221-Apr-08 10:29 
GeneralRe: tutorial on how to make a proper popup window Pin
Jim Crafton21-Apr-08 17:47
Jim Crafton21-Apr-08 17:47 
GeneralCopying the screen to a bitmap Pin
Anthony Appleyard21-Apr-08 6:52
Anthony Appleyard21-Apr-08 6:52 
GeneralRe: Copying the screen to a bitmap Pin
David Crow21-Apr-08 8:44
David Crow21-Apr-08 8:44 
GeneralRe: Copying the screen to a bitmap Pin
Anthony Appleyard21-Apr-08 12:21
Anthony Appleyard21-Apr-08 12:21 
GeneralRe: Copying the screen to a bitmap Pin
Randor 21-Apr-08 15:38
professional Randor 21-Apr-08 15:38 

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.