|
I am not the one downvoted,
strcpy(nstring, orig /* CString object*/); // think.
it is not generic solution although your code is not unicode build,
CString orig("Hello, World!");
|
|
|
|
|
Thanks for reply Rajkumar but i give answer according to question
How to convert CString to char* in vc++ 6 platform
Trioum is not specific. May be his code is not unicode build.
It is not the wrong answer.
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
you should had a comment regarding this in your orginal post, and also i think you added the link to msdn regarding string conversion after you got downvoted.
modified on Friday, May 23, 2008 3:38 AM
|
|
|
|
|
No you are totally wrong.i edit link because in that code
strcpy_s and strcat_s is used and in vc 6.0 these function is not working.
please check the link.
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
ok, corrected.
|
|
|
|
|
gr8.. u r intelligent ...
Don`t fight .......
Where did u find this quote---
"Yes U Can ...If U Can ,Dream it , U can do it ...ICAN"
..
|
|
|
|
|
Dont Fight
When i was doing MCA, One of the guest faculty give a seminar about PD and i was impressed and also like his line
Yes you can,
If you can dream it,
You can do it.
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
gr8..
I am also impressed....
Well.. where r u working...????
how much experience u have...??
|
|
|
|
|
do you have a problem with your keyboard ?
or with your english maybe ?
|
|
|
|
|
wht happened.........
|
|
|
|
|
Ashutosh Shashi wrote: wht happened
wht NO ! --> what
Ashutosh Shashi wrote: gr8..
I am also impressed....
Well.. where r u working...????
how much experience u have...??
gr8 NO !! --> great
r hell NO !!! --> are
u f*ck NO !!!! --> you
man, this is not a mobile phone. SMS is not the proper way to express yourself here.
also, why did you vote the whole thread '1' ?
|
|
|
|
|
thankx ........
u r looking so intelligent..
|
|
|
|
|
thankx ........
u r looking so intelligent..
No i did`t vote ant article or message here........
|
|
|
|
|
what I don't understand is why you keep talking badly (yes, SMS typing is bad for the eyes and for the understanding of everyone).
do you know that CodeProject members are from all around the world ?
do you understand that not everyone here is speaking english as his mother tongue ?
so please be comprehensive and stick to the posting guidelines (which you should certainly read before posting anything else).
also, why did you sent your post twice, instead of editing the first one ?
don't you see the [Modify][Delete] links at the bottom of your posts ?
so please delete your first post
|
|
|
|
|
He is trying to tell you that CP frowns upon text speak. Please use full English words.
|
|
|
|
|
Ashutosh Shashi wrote: u r looking so intelligent..
No i did`t vote ant article or message here........
off course i am ..kyun panga le raha hai be
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Please avoid using SMS lingo on the boards.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Ashutosh Shashi wrote: wht happened.........
Nothing, you are writing sms language in forum
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Ashutosh Shashi wrote: Well.. where r u working...????
how much experience u have...??
are you taking Job interview on forum?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Ashutosh Shashi wrote: Where did u find this quote---
"Yes U Can ...If U Can ,Dream it , U can do it ...ICAN"
isn't you write that..sometime in your office
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi everyone,
Whats the meaning of "class doesnt support automation" I get this error when I want to make dialog box project?
|
|
|
|
|
When do you get the error? At runtime? What exactly are you doing when the error occurs?
Steve
|
|
|
|
|
When I want to make a new dialog box project on the New Project window.
|
|
|
|
|
Hi,
I have an application that is accessing the physical drive to read and write directly to the sectors.
Unfortunately my application is not working anymore. I get write access denied error when trying to write to sectors in the physical drive. I use CREATEFILE to get the handle to the physical drive ( ie: \\.\c: ), then the WRITEFILE to write directly to the sectors.
How can I solve it?
|
|
|
|
|
That is a security feature of Vista. You got to write your file to a location where you have the right to do it. Use GetFolderPath-API or Run in Administrator-mode (only for installations or system chnages)
Greetings from Germany
|
|
|
|