Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 2:47
Joseph Marzbani12-Apr-08 2:47 
GeneralRe: EndDialog doesn't terminate the app! Pin
Luc Pattyn12-Apr-08 3:02
sitebuilderLuc Pattyn12-Apr-08 3:02 
GeneralRe: EndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 3:10
Joseph Marzbani12-Apr-08 3:10 
GeneralRe: EndDialog doesn't terminate the app! Pin
Luc Pattyn12-Apr-08 4:10
sitebuilderLuc Pattyn12-Apr-08 4:10 
AnswerRe: EndDialog doesn't terminate the app! Pin
Mark Salsbery12-Apr-08 4:28
Mark Salsbery12-Apr-08 4:28 
GeneralRe: EndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 6:29
Joseph Marzbani12-Apr-08 6:29 
GeneralRe: EndDialog doesn't terminate the app! Pin
Hamid_RT14-Apr-08 4:30
Hamid_RT14-Apr-08 4:30 
Questionusing the '€'-sign with std::wofstream doesn't work Pin
souljumper12-Apr-08 1:48
souljumper12-Apr-08 1:48 
hi
i need to write the € sign (currency in europe) to a file.

i have some text in a std::wstring which includes a €-sign. if i put the text in the stream any following letter after the euro sign won't receive the output file.

i tried to solve the problem by replacing the sing with the unicode sequence, but with no positivie result

<br />
<br />
#include "stdafx.h"<br />
#include <fstream><br />
<br />
<br />
int _tmain(int argc, _TCHAR* argv[])<br />
{<br />
	std::wstring s = L"Hello World, i own 20 \u20AC hurray!";<br />
	std::wofstream out(L"C:/euro.dat", std::ios::binary);<br />
	out<<s.c_str();<br />
	return 0;<br />
}<br />
</fstream>


my outfile euro.dat contains for this example "Hello World, i own 20 " anything after is missing.

i figured out that if i use std::string it works(why ever), but i would prefer a soloution that supports std::wstring. anyone has a idea how to make things running with wstring ?
GeneralRe: using the '€'-sign with std::wofstream doesn't work Pin
CPallini12-Apr-08 2:13
mveCPallini12-Apr-08 2:13 
AnswerRe: using the '€'-sign with std::wofstream doesn't work Pin
souljumper12-Apr-08 11:17
souljumper12-Apr-08 11:17 
GeneralPassing parameter through ShellExecute Pin
neha.agarwal2712-Apr-08 1:38
neha.agarwal2712-Apr-08 1:38 
GeneralRe: Passing parameter through ShellExecute Pin
CPallini12-Apr-08 2:30
mveCPallini12-Apr-08 2:30 
GeneralRe: Passing parameter through ShellExecute Pin
neha.agarwal2712-Apr-08 2:38
neha.agarwal2712-Apr-08 2:38 
GeneralRe: Passing parameter through ShellExecute Pin
Luc Pattyn12-Apr-08 3:10
sitebuilderLuc Pattyn12-Apr-08 3:10 
GeneralProblems occuring when compiling C++ Programs using visual C++ 6 Pin
scene_8412-Apr-08 0:45
scene_8412-Apr-08 0:45 
GeneralRe: Problems occuring when compiling C++ Programs using visual C++ 6 Pin
CPallini12-Apr-08 1:51
mveCPallini12-Apr-08 1:51 
GeneralRe: Problems occuring when compiling C++ Programs using visual C++ 6 Pin
Joseph Marzbani12-Apr-08 2:54
Joseph Marzbani12-Apr-08 2:54 
GeneralRe: Problems occuring when compiling C++ Programs using visual C++ 6 Pin
CPallini12-Apr-08 4:42
mveCPallini12-Apr-08 4:42 
QuestionHow set the Form on the center of my screen ? Pin
Schehaider_Aymen11-Apr-08 23:44
Schehaider_Aymen11-Apr-08 23:44 
AnswerRe: How set the Form on the center of my screen ? Pin
ftbk11-Apr-08 23:57
ftbk11-Apr-08 23:57 
GeneralRe: How set the Form on the center of my screen ? Pin
Schehaider_Aymen12-Apr-08 0:08
Schehaider_Aymen12-Apr-08 0:08 
AnswerRe: How set the Form on the center of my screen ? Pin
Schehaider_Aymen12-Apr-08 0:41
Schehaider_Aymen12-Apr-08 0:41 
GeneralOnNewWindow2 multithread Pin
ftbk11-Apr-08 23:29
ftbk11-Apr-08 23:29 
Questionlogonuser returns 1314 Pin
vineeshV11-Apr-08 23:24
vineeshV11-Apr-08 23:24 
QuestionRe: logonuser returns 1314 Pin
David Crow24-Apr-08 10:43
David Crow24-Apr-08 10:43 

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.