Hi, I'm designing an application that consists of ONLY a wizard. I use this code to show it. int Run(LPTSTR /*lpstrCmdLine*/ = NULL, int nCmdShow = SW_SHOWDEFAULT) { CMainWizard wizard; if ( IDOK == wizard.DoModal() ) { } return 0; } The rest of the code is default wizard code. It all works perfectly but when i close the wizard with the cancel button i get a first chance exeception. It think this is because Run() always returns zero. What should i do to let it exit in an ordinate fashion? Thnx:)
User 12162796
Posts
-
[wtl] Making a Wizard-Only app -
How to check wheter a specified path is a dir?See title:), thanks.. Couldn't find the functions using MSDN or google:(..
-
What format is this file in and how to open it in C++Hi, I want to make a playlist editor for my MP3 player. I've upped the playlist file to my server. You can download it here: www.tommy2d.com/MyFavorite.plp I can open it with notepad without any problems. However, when i save it to UNICODE LE, UNICODEBE or whatever format Notepad support, i can't load aymore on my MP3 player... Could anybody please indicate what type of file this is and how to open it in C++? Thnx...
-
What format is this file in and how to open it in C++Hi, I want to make a playlist editor for my MP3 player. I've upped the playlist file to my server. You can download it here: www.tommy2k.com/MyFavorite.plp I can open it with notepad without any problems. However, when i save it to UNICODE LE, UNICODEBE or whatever format Notepad support, i can't load aymore on my MP3 player... Could anybody please indicate what type of file this is and how to open it in C++? Thnx...
-
A little unicode question.Thanks:) This solved all of my coding problems. Never knew the conversions where this easy ;-).
-
A little unicode question.Hi! I'm storing a certain path in a CAtlString class. The function i need to pass this path to however only likes char pointers. How do i get a char pointer from a Unicode CAtlString?