Click here to Skip to main content
16,013,592 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUpper limit on the size of a program's command line arguments Pin
sashoalm31-Jul-08 5:32
sashoalm31-Jul-08 5:32 
AnswerRe: Upper limit on the size of a program's command line arguments Pin
David Crow31-Jul-08 5:38
David Crow31-Jul-08 5:38 
AnswerRe: Upper limit on the size of a program's command line arguments [modified] Pin
Randor 31-Jul-08 6:03
professional Randor 31-Jul-08 6:03 
GeneralRe: Upper limit on the size of a program's command line arguments Pin
sashoalm1-Aug-08 0:30
sashoalm1-Aug-08 0:30 
GeneralRe: Upper limit on the size of a program's command line arguments Pin
Randor 1-Aug-08 3:46
professional Randor 1-Aug-08 3:46 
QuestionHow to see an Arabic letter on an edit box? Pin
iayd31-Jul-08 5:23
iayd31-Jul-08 5:23 
AnswerRe: How to see an Arabic letter on an edit box? [modified] Pin
Matthew Faithfull31-Jul-08 5:40
Matthew Faithfull31-Jul-08 5:40 
AnswerRe: How to see an Arabic letter on an edit box? Pin
Iain Clarke, Warrior Programmer31-Jul-08 23:45
Iain Clarke, Warrior Programmer31-Jul-08 23:45 
You already had an answer to displaying an arabic char - assuming you have the fonts etc etc.

But I can't let the line
str.Format(_T("%s %c"),str,i);

be without jumping on it.

You are trying to put the contents of str into str? At best this will crash, at worst it will do very strange things...

If you are trying to add new characters to the end of your string, why not just do that? Or just build up a string yourself - it;s a fixed length.

A/
CString str;
for (wchar_t i = 1500; i < 1800; i++)
    str += i;

B/
wchar_t  buf [301];
for (wchar_t i = 0; i < 300; i++)
    buf [i] = i + 1500;
buf [i] = 0;


The choice is yours.

Iain.
QuestionDisable Mouse Dragging on a Child Window Pin
Shyam Kodase31-Jul-08 4:00
Shyam Kodase31-Jul-08 4:00 
AnswerRe: Disable Mouse Dragging on a Child Window Pin
Perspx31-Jul-08 7:03
Perspx31-Jul-08 7:03 
QuestionC4430 Pin
T.RATHA KRISHNAN31-Jul-08 3:13
T.RATHA KRISHNAN31-Jul-08 3:13 
AnswerRe: C4430 Pin
CPallini31-Jul-08 3:17
mveCPallini31-Jul-08 3:17 
GeneralRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 3:30
T.RATHA KRISHNAN31-Jul-08 3:30 
GeneralRe: C4430 Pin
Iain Clarke, Warrior Programmer31-Jul-08 3:33
Iain Clarke, Warrior Programmer31-Jul-08 3:33 
GeneralRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 3:41
T.RATHA KRISHNAN31-Jul-08 3:41 
GeneralRe: C4430 Pin
Iain Clarke, Warrior Programmer31-Jul-08 4:34
Iain Clarke, Warrior Programmer31-Jul-08 4:34 
GeneralRe: C4430 Pin
CPallini31-Jul-08 3:38
mveCPallini31-Jul-08 3:38 
GeneralRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 3:44
T.RATHA KRISHNAN31-Jul-08 3:44 
GeneralRe: C4430 Pin
CPallini31-Jul-08 3:46
mveCPallini31-Jul-08 3:46 
GeneralRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 3:51
T.RATHA KRISHNAN31-Jul-08 3:51 
QuestionRe: C4430 Pin
CPallini31-Jul-08 4:02
mveCPallini31-Jul-08 4:02 
AnswerRe: C4430 Pin
T.RATHA KRISHNAN31-Jul-08 4:08
T.RATHA KRISHNAN31-Jul-08 4:08 
GeneralRe: C4430 Pin
Alan Balkany31-Jul-08 3:42
Alan Balkany31-Jul-08 3:42 
QuestionExcel automation compatibility problem Pin
followait31-Jul-08 1:26
followait31-Jul-08 1:26 
AnswerRe: Excel automation compatibility problem Pin
vikas amin31-Jul-08 11:34
vikas amin31-Jul-08 11: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.