Click here to Skip to main content
16,009,057 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Advise - How to make C++ Windows Form App without .NET framework Pin
TheGreatAndPowerfulOz21-Feb-08 8:47
TheGreatAndPowerfulOz21-Feb-08 8:47 
GeneralRe: Advise - How to make C++ Windows Form App without .NET framework Pin
alanteigne21-Feb-08 9:05
alanteigne21-Feb-08 9:05 
GeneralRe: Advise - How to make C++ Windows Form App without .NET framework Pin
alanteigne21-Feb-08 9:22
alanteigne21-Feb-08 9:22 
GeneralRe: Advise - How to make C++ Windows Form App without .NET framework Pin
Ali Rafiee21-Feb-08 9:45
Ali Rafiee21-Feb-08 9:45 
GeneralRe: Advise - How to make C++ Windows Form App without .NET framework Pin
alanteigne21-Feb-08 10:55
alanteigne21-Feb-08 10:55 
GeneralRe: Advise - How to make C++ Windows Form App without .NET framework Pin
jhwurmbach21-Feb-08 23:23
jhwurmbach21-Feb-08 23:23 
GeneralRe: Advise - How to make C++ Windows Form App without .NET framework Pin
Moak22-Feb-08 7:03
Moak22-Feb-08 7:03 
GeneralAbout DoModal failing [modified] Pin
Fernando A. Gomez F.21-Feb-08 6:22
Fernando A. Gomez F.21-Feb-08 6:22 
Hello all. I have this application that was built with VC6. Now I am migrating it to VC8, and as it compiled perfectly, it is not running. It is a dialog-based app, but when I call CDialog's DoModal, it fails miserably (returns -1) without even calling OnInitDialog.

Now, I already checked for the resources and they all seem to be alright. Any reason why it is failing, any clue?

Thanks in advance.

[EDIT]
So I finally managed to set up the (remote) debug environment. It is failing while calling CreateDlgIndirect.

I'm calling GetLastError and it is returning error 1408, whose translation would be something like: "invalid window, it belongs to another subprocess". What the...? WTF | :WTF:

[/EDIT]

Regards,
FG.


Stupidity is an International Association - Enrique Jardiel Poncela

modified on Thursday, February 21, 2008 5:15 PM

QuestionRe: About DoModal failing Pin
David Crow21-Feb-08 6:30
David Crow21-Feb-08 6:30 
GeneralRe: About DoModal failing Pin
Fernando A. Gomez F.21-Feb-08 6:59
Fernando A. Gomez F.21-Feb-08 6:59 
QuestionRe: About DoModal failing Pin
David Crow21-Feb-08 7:05
David Crow21-Feb-08 7:05 
GeneralRe: About DoModal failing Pin
Mark Salsbery21-Feb-08 7:04
Mark Salsbery21-Feb-08 7:04 
GeneralRe: About DoModal failing Pin
Fernando A. Gomez F.21-Feb-08 7:10
Fernando A. Gomez F.21-Feb-08 7:10 
GeneralRe: About DoModal failing Pin
Mark Salsbery21-Feb-08 7:17
Mark Salsbery21-Feb-08 7:17 
GeneralRe: About DoModal failing Pin
Fernando A. Gomez F.21-Feb-08 10:57
Fernando A. Gomez F.21-Feb-08 10:57 
GeneralRe: About DoModal failing Pin
James R. Twine21-Feb-08 7:22
James R. Twine21-Feb-08 7:22 
GeneralRe: About DoModal failing Pin
David Crow21-Feb-08 7:43
David Crow21-Feb-08 7:43 
GeneralRe: About DoModal failing Pin
Fernando A. Gomez F.21-Feb-08 8:00
Fernando A. Gomez F.21-Feb-08 8:00 
GeneralRe: About DoModal failing Pin
Ali Rafiee21-Feb-08 9:47
Ali Rafiee21-Feb-08 9:47 
GeneralRe: About DoModal failing Pin
Fernando A. Gomez F.21-Feb-08 10:00
Fernando A. Gomez F.21-Feb-08 10:00 
QuestionWhat is the difference between Visual C++ 2008 free download version and paid persion? Pin
Anthony Appleyard21-Feb-08 5:57
Anthony Appleyard21-Feb-08 5:57 
AnswerRe: What is the difference between Visual C++ 2008 free download version and paid persion? Pin
David Crow21-Feb-08 6:25
David Crow21-Feb-08 6:25 
AnswerRe: What is the difference between Visual C++ 2008 free download version and paid persion? Pin
Stephen Lowe21-Feb-08 7:48
Stephen Lowe21-Feb-08 7:48 
GeneralRe: What is the difference between Visual C++ 2008 free download version and paid persion? Pin
CPallini21-Feb-08 7:59
mveCPallini21-Feb-08 7:59 
AnswerRe: What is the difference between Visual C++ 2008 free download version and paid persion? Pin
Dave Calkins21-Feb-08 10:34
Dave Calkins21-Feb-08 10:34 

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.