[Message Deleted]
-
[Message Deleted]
neha.agarwal27 wrote:
Do what ever u want to do...i don care a damn
So, now you're taking the discussion out of its context and proving to be rude. I'm sorry, but I'm bringing more people here.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
[Message Deleted]
So, you still wanted my code and you did not know what you should do with VS 2005 to get rid of those simple errors. You don't know what a an LPCSTR is, you don't know what a CString is, you don't know generic text mappings, you don't know Unicode, but you develop software. You poor little sod.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
[Message Deleted]
neha.agarwal27 wrote:
telling people that they are lazy i smart enogh but try to figure out things first before commenting on anybody
Handed to you on a plate.
-
[Message Deleted]
ever heard off google??? try "LPCSTR" string to "CString" the first link would have given you the answer but I guess it's easyer to ask here and get an answer like Rajesh gave you (wich I support by the way)
If my help was helpfull let me know, if not let me know why. The only way we learn is by making mistakes.
-
[Message Deleted]
Visual Studio 2005 will create project as with Unicode Character set option by default. (the compilation error will resolve if you change the character set to Multibyte (if you can)) I recommend you to use type safe TCHAR alternatives like LPCTSTR, TCHAR, TCHAR* and other routines. and also user _tcsXXX functions for manipulating strings. if you want to convert the a Unicode String to Multibyte, You can use MultiByteToWideChar API. See MSDN for Sample code. Another thing is that CString's internal storage will change according to UNICODE definition of project. So use it accordingly.
-Sarath. "Great hopes make everything great possible" - Benjamin Franklin
My blog - Sharing My Thoughts, An Article - Understanding Statepattern
-
[Message Deleted]
And see The Complete Guide to C++ Strings, Part II - String Wrapper Classes [^] for converts.
-
[Message Deleted]
Can you explain WHY you delete your messages!?
-
I wonder how lazy people have become just because they can get free help. You did not try something as simple as this before asking it on the internet:
LPCSTR str = "I'm the dumbest";
CString szStr = str;Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
Rajesh R Subramanian wrote:
LPCSTR str = "I'm the dumbest";CString szStr = str;
what about "i am still noob"
"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" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/codeProject$$>
-
neha.agarwal27 wrote:
Do what ever u want to do...i don care a damn
So, now you're taking the discussion out of its context and proving to be rude. I'm sorry, but I'm bringing more people here.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
Rajesh R Subramanian wrote:
I'm sorry, but I'm bringing more people here.
Don't you think this is bit childish. My attitude towards people like this is to simply ignore them. You can't educate people like these. -Saurabh
-
[Message Deleted]
-
Rajesh R Subramanian wrote:
I'm sorry, but I'm bringing more people here.
Don't you think this is bit childish. My attitude towards people like this is to simply ignore them. You can't educate people like these. -Saurabh
I agree with you.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP