|
You may use Crypto API , see here [^] for a code sample.
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.
|
|
|
|
|
i want code for a editor which is looks like a c editor.
plz send the code. the code is must and should in vc++ only
|
|
|
|
|
|
ROTFL - that's brilliant.
This site is for asking people to help you, not to make random requests for people to send you complete projects.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
google
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi
Does anyone know what is the use of having the member function of the = operator has private?
eg Class A
{
A& operator=(const A& a);
public:
void display()
}
what is the use of having A& operator=(const A& a)function has private ?
|
|
|
|
|
To prevent people from using it. For example, if you have a very complex object, or are just too lazy to implement a copy constructor and assignment operator.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Hi
Do you know how to do exception handling in constructor?
|
|
|
|
|
Yes, I know how to do both catching exceptions in the constructor, and catching them from the calling code that is invoking the constructor.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
... and where is your smile?
--
=====
Arman
|
|
|
|
|
See here.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
hi all
i want to convert wstrint to WCHAR* how to do that?
i am getting following error:
error C2664: 'UnicodeToUtf8' : cannot convert parameter 1 from 'std::wstring *__w64 ' to 'const WCHAR *'
|
|
|
|
|
use the c_str() method of wstring for instance:
std::wstring myWideString = L"FOO";
const WCHAR * pMyWideString = myWideString.c_str();
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.
|
|
|
|
|
C_str()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
How can we hide a column in a list control, an option is to set the column width to zero, but it can be visually identified by maipulating header of zero width column.
|
|
|
|
|
|
Thanks
|
|
|
|
|
You're welcome.
|
|
|
|
|
Hi,
I want to define preprocessor constants in command line.
In source it would be something like this:
#define STR_SOMETHING "something"
Now how can I get the same result in command line using /D?
I tried in VS 2005, in Project Property Pages->Configuration Properties-> C/C++->Preprocessor-> Preprocessor Definitions…
Adding STR_SOMETHING=”something” doesn’t work. In Command line it looks like this:
/D "SOMETHING="something"".
The problem is with "".
Any idea how to do this?
|
|
|
|
|
IMHO you can't, because MSDN ([^]) states:
/D has much the same effect as using the #define directive at the beginning of your source file.
However, /D strips quotes on the command line and #define retains them.
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.
|
|
|
|
|
hi guys,i want to know how to set up a timer to read text from a file repeatedly after time interval of 1 second on to the child window
Shanky
|
|
|
|
|
Handle WM_TIMER message which will be called after each specified time interval. Use SetTimer to specify the time interval. And use KillTimer to cancel the timer.
--
=====
Arman
|
|
|
|
|
|
hi i have to copy an exe to a specified path when a button is clicked and then have to run the exe automatically. how to do this
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
Use CopyFile() to copy the exe to a certain location and then use ShellExecute()
Didn't get you on this.system tray
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|