|
Thanks.
It has dynamic rendering, to be specific, it plays series of pictures according to time (what might be called animation).
So it must repaint all the time.
|
|
|
|
|
Helo,
i m writing socket application.
my socket server application is running on linux machine.
now i write a client socket application in windows vc++ using winsock API.
I want to use openssl with winsock API.
does winsock and openssl work fine. if not then , what is better option in vc++ to create client socket application with openssl.
tell me , what API i have to use in windows-vc++ so that i can use openssl
Regards,
Amit
|
|
|
|
|
CP search engine answer [^]
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I have 3 files:
1. main.exe
2. rar.exe (the console version of winrar)
3. test.rar
main.exe will call rar.exe to extract text.rar.
Now, I'd like to make ONE install file with the 3 files, any way?
The easier the better, thanks.
|
|
|
|
|
AFAIK, installer-making tools (they're making one file that deploys the project) take care of the compression themselves. Try finding such free tool and just read how to use it. Because what your trying to do in not unusual.
|
|
|
|
|
As already said to you by another CPian, the installers themselves take care of the compression part. You can try NSIS or Inno Setup.
Or, if there's a reason why you would want to do it the way you said, how are you going to ensure the presence of winrar at the target machine? Or, are you going to ship winrar as well? I think that is an overkill.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
All right, I'll ship rar.exe(the console version, only one file).
Because this is a patch, it needs to find a right directory to install.
|
|
|
|
|
|
neha.agarwal27 wrote: I want to convert my "LPCSTR" string to "CString ", how can i do so?
LPCSTR lpText = "Some text";
CString cs( lpText );
|
|
|
|
|
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
|
|
|
|
|
|
neha.agarwal27 wrote: if you think people are lazy out here and just can ask anything because here is free help available, so i suggest there's no need to make people more lazy by just answering their problems
I'm talking about YOU. How you are trying to generalize things by throwing around terms like 'people'! You do not belong to the list of 'people', because they follow the guidelines. And you are rude enough to come back and tell me not to offer anyone help. Thanks for the tip, but I ain't gonna stop it as I love it.
Converting an LPCSTR to a CString? Holy cow! You neither did know what an LPCSTR is, nor did you know what a CString is. You did not try ANYTHING from your side and you came down to ask for help. People like you play a primal role in spoiling India's name in the International arena.
FYI, I've marked your reply as abusive.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
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
|
|
|
|
|
I agree with you.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
Can you explain WHY you delete your messages!?
|
|
|
|
|
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" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/codeProject$$>
|
|
|
|
|
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
|
|
|
|
|
|
Don't worry Neha.
This lad is a dickhead...Just ignore whatever he said. You are free to ask anything you like. But yeah it would be better if you first google it though.
All the best for your work.
tc
Julia
|
|
|
|