Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sulacco
  • Content: Threads
  • Order by date
  1. sulacco

    How to get checksum...

    Hi, People! How to get checksum of a file using something simple like sdk or win32?
  2. sulacco

    How to hide Dialog at start time?

    Hi, People. Maybe it's stupid question but How to hide Dialog at start up time? The app is dialog based.
  3. sulacco

    How to get number of a month?

    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.
  4. sulacco

    What technology I have to choose to write a firewall?

    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.
  5. sulacco

    How to use nt services programmatically?

    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.
  6. sulacco

    What one can do with nt services?

    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.
  7. sulacco

    Does anybody knows why CEditView dosn't respond to..

    Hi, People. Does anybody knows why view class derived from CEditView doesn't respont to UpdateAllViews(NULL) function? Much obliged.
  8. sulacco

    How correctly copy CString to char * variable.

    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?
  9. sulacco

    How to copy from char *buff to CString?

    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...
  10. sulacco

    How to check professionally if a directory exist?

    How to check professionally if a directory exist?
  11. sulacco

    Can't hightlight CTreeCtrl item.

    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 )...
  12. sulacco

    Can't derive COleDragTarget from Class Wizard.

    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?
  13. sulacco

    Bad communications skills between tree view and list view.

    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...
  14. sulacco

    No hightlighting of treeview control.

    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...
  15. sulacco

    There is trouble passing CArray into the function.

    What's wrong with this code? //declaration GetArrFromName(CString name, CArray<CString,CString>arr); ... //definition void CMyClass::GetArrFromName(CString name, CArray<CString,CString>arr){ } ... While I'm not using this function everything ok. compiler don't bark at me but when I...
  16. sulacco

    How to get pointer to class itself?

    I want create function in class which returns pointer on itself. How member function of class looks like which returns a pointer on the class itself?
  17. sulacco

    How to get pointers to every class in the project?

    Suppose I have some classes in Visual C++ project. And suppose I created every last of them. In other words I created objects from those classes. How can I get all poiters to those objects. While some objects were created by Visual C++ internals so I don't know where they started. I like to...
  18. sulacco

    Does anybody can decipher what this Macro means?

    Does anybody can decipher what this Macro means? ... #define RUNTIME_CLASS(class_name) ((CRuntimeClass*)(&class_name::class##class_name)) I don't understand the last words: &class_name::class##class_name
  19. sulacco

    How to communicate CListCtrl with CTreeCtrl?

    How can I to drag item from CListCtrl to CtreeCtrl with passing some information from CListCtrl to CTreeCtrl that I dropped an item to the later. It's like in Outlook when you drag a letter and drop it into the folder on the left side. I think that I need pass info from one class to another...
  20. sulacco

    ioctlsocket(...) don't work properly.

    Does anybody know why ioctlsocket don't work properly. It must place how much bytes is waiting in socket. When I place breakpoint to ioctlsocket then this function place how much bytes is waiting in i_HowMuch. But if I remove breakpoint then in i_HowMuch just zero. Why that? What's the problem...

Part and Inventory Search

Back
Top