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...
Hi, People. Can't figure out how to highlight CTreeCtrl Item when I
click on the one in stand alone function.
CTreeCtrl& m_ctlTree=GetTreeCtrl();
CSplitterDoc* pDoc = GetDocument();
HTREEITEM hItem=m_ctlTree.GetSelectedItem();
m_ctlTree.Select(hItem,TVGN_DROPHILITE )...
Hi, people. Can't create class with Class Wizard with base Class
COleDragTarget. When I'm trying to choose from drop-list there isn't
such base class like COleDragTarget. What's the problem?
Hi, People. Does anybody know how to communicate treeview control with
list view control. I want to drag item from list view to tree view but
list view capturing mouse events in order to make some manipulation so
my tree control never get chance to react to mouse controls. So all control
in list...
Hi, People. There is a problem with some listview control. When I choose some item in
listview control and try to drag it to treeview control there is no highlighting of treeview
control. I figured out that it is due to SetCapture(); function. Well, I withdrew this function from
there. It is...
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.