MessageBoxhttp://softtime.ru/cppMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post938Работает ли вариант, предложенный Евгением Петровым? MessageBox(L"text");MessageBoxFri, 2 Feb 2007 23:47:36 +0300cheopsMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post935скажите так всё таки правильно написать в visual studio 2005 MessageBox("test");так было в 6 visual studio пожалуста скажите как правильноMessageBoxFri, 2 Feb 2007 23:29:22 +0300pumaMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post462Я, конечно, извиняюсь, но в MSDN MessageBox описана как BOOLMessageBoxSun, 21 Jan 2007 19:28:38 +0300ФитчMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post459int MessageBox( HWND hWnd, // handle of owner window LPCTSTR lpText, // address of text in message box LPCTSTR lpCaption,...MessageBoxSun, 21 Jan 2007 18:41:29 +0300deZZineSSMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post313хотя я не совсем понимаю для чего нужен первый параметр .. MessageBox(add_text, "Error", MB_OK); так все окей ......MessageBoxThu, 11 Jan 2007 02:39:36 +0300sidPRMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post312не мне нужно чтоб 4 аргумента было .... MessageBox(NULL,add_text,"заголовок",MB_OK); отрубил юникод пишет ошибку мол 1".\testDlg.cpp(196) : error C2660: 'CWnd::MessageBoxA' :...MessageBoxThu, 11 Jan 2007 02:21:43 +0300sidPRMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post311Ну вообще add_text у Вас типа CString, так что MessageBox(add_text); должно катить (и у меня катит)MessageBoxThu, 11 Jan 2007 02:20:04 +0300Евгений ПетровMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post310Да, кстати, юникод можно отключить в настройках: Alt + F7 -" Configuration Properties -" General -" Character Set: Not SetMessageBoxThu, 11 Jan 2007 02:18:59 +0300Евгений ПетровMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post309хм а как мне быть если я текст не сам пишу а он загоняется в переменную тоесть есть переменная add_text...MessageBoxThu, 11 Jan 2007 02:17:25 +0300sidPRMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post308По умолчанию, VS использует юникод. Когда вы пишете строку "Hello!" она по всей видимости в cp1251 записывается. L - перекодирует...MessageBoxThu, 11 Jan 2007 02:14:24 +0300Евгений ПетровMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post307Евгений Петров Великолепно! =) а что за "L" в двух словах? и можно ли применить это в таком виде MessageBoxA(NULL,L...MessageBoxThu, 11 Jan 2007 02:08:09 +0300sidPRMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post306попробуйте: MessageBox(L"Hello!");MessageBoxThu, 11 Jan 2007 02:06:22 +0300Евгений ПетровMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post303извиняюсь теперь все нормально должно бытьMessageBoxWed, 10 Jan 2007 23:22:28 +0300sidPRMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post301Вы попытались получить доступ к адресу ftp://193.238.50.50/test.rar, который сейчас не доступен. Убедитесь, пожалуйста, что веб-адрес (URL) введен правильно и затем...MessageBoxWed, 10 Jan 2007 19:39:58 +0300Евгений ПетровMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post298В архиве вроде все файлы ! ftp://193.238.50.50/test.rarMessageBoxWed, 10 Jan 2007 16:02:16 +0300sidPRMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post297Нет, скиньте все файлы проекта. Там ещё куча заголовочных файлов. Ресурсы и все такое...MessageBoxWed, 10 Jan 2007 15:17:38 +0300Евгений ПетровMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post296 // testDlg.cpp : implementation file // #include "stdafx.h" #include "test.h" #include "testDlg.h" #include "tchar.h" #ifdef _DEBUG #define new DEBUG_NEW...MessageBoxWed, 10 Jan 2007 14:40:34 +0300sidPRMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post294Или создайте новый небольшой проект...MessageBoxWed, 10 Jan 2007 14:08:53 +0300cheopsMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post293Скиньте сюда весь прокет. (Только без Debug и *.ncb)MessageBoxWed, 10 Jan 2007 13:08:43 +0300Евгений ПетровMessageBoxhttp://softtime.ru/cpp/read.php?id_forum=1&id_theme=24#post291а что с ним может быть я ничего не настравал .. просто установил и все . и сделалй пару упражнений...MessageBoxWed, 10 Jan 2007 02:50:01 +0300sidPR