Hi, People. Does anybody know how to get number of days in
a certain month of a certain year? Looked all the way in MSDN but failed to find such function.
Tx.
Hi, People. Happy New Year!
What technology I have to choose to write a firewall? I need this to be
done on a single computer which isn't connected to network but only to
internet.
Thanks in advance.
Hi, People. There was some job employer which ask to do a
test which includes services. I need touch this topic but
there isn't too evident info on the web. I just need a very
simple, very small example how to use services.
Well, thanks. Can I implement some clock utility which is running like service. For example: I want to create some
clock-alarm which will fire as some date approches. Some kind remider of some data which is important to me. Something like this. I create some GUI application which will set some...
Hi, People. What one can do with services.
Well, I managed to start, stop, pause nt service programm. But what
one can do practically with this. And where on the web to find
information what to do with services.
Tnx in advance.
Well, thanks. But I've got impression that the last example
is just copying pointer from strContent to message.
message = (char*)(LPCTSTR)strContent;
and now message points to strContent buffer?
Hi, People. How correctly copy CString to char * variable.
I have:
char * message;
CString strContent;
//this one is throwing an exception
memcpy(message,str.GetBuffer(str.GetLenght(),str.GetLength());
How do you do it, pros?
Hi, People. How to copy from char *buff to CString?
I've got such an sample:
int size=file.GetLength();
char *buff=new char(size);
file.Read(buff,size);
file.Close();
strCont=*buff;
//strCont=buff; don't work either
delete [] buff;
return strCount;
everything is good but after I try...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.