Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Y

ykutanoor

@ykutanoor
About
Posts
25
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • experts guide
    Y ykutanoor

    If I want to know the dependancies of IE patch ?how should I know? where are these patch ids stored. How should one come to know that a IE has patch? How should one come to know that a machine has a patch?

    C / C++ / MFC tutorial question

  • Query reg patches
    Y ykutanoor

    Hi, It would be great if somebody can help me with this doubt. My main target is :In order to list the patches and their dependancies on the target machine(for ex:my machine): Should I have to go through the path - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\ When I went through this path. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall I am able to get a list of hot fixes . What are hot fixes and are these patched? When I went through this path. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\ I am able to see 3 entries- Data Access Windows 2000 Windows MEDIA pLAYER And under Windows 2000 -I am seeing 2 entries SP4 and SP5. Is SP4 is the list of service packs? Is SP5 is the list of updates? SP5 has a folder called FileList. This folder when I click shows some dlls on the right pane. Are these dependancies?I mean dependancies which these patches depend? Pls guide.

    C / C++ / MFC database help tutorial question

  • Pls help reg patches
    Y ykutanoor

    Hi, I am able to get all the computers connected to a network. Now my next step is to track the list of patches in these computers. For this to achieve -pls advise me how to proceed. Pls correct me if I am going wrong. 1.Detect type of OS on the target machine . 2.List the patches present on the target machine. 3.List out the dependancies of each patch. For that-Do I need to know the list of softwares on the target machine? -Do I need to know the list of service packages on the target machine? -How a patch is detected on the target machine? -How a patch is applicable on the target machine? Regards

    C / C++ / MFC sysadmin help tutorial question

  • Experts !Problem with WNetOpenEnum
    Y ykutanoor

    I am trying to get the list of domains AND LIST OF COMPUTERS under each domain. I am getting domains when I use the parameter RESOURCE_GLOBALNET in WNetOpenEnum. I am getting list of only computers when I use the parameter RESOURCE_CONTEXT in WNetOpenEnum. But my requirement is I would like to get computers under each domain. How should I achive this .This is the code.Pls tell me where I am going wrong. NETRESOURCE res[10]; HANDLE hMain; int x,y,i; DWORD dwCnt = 0xffffffff; DWORD dwSize; DWORD dwRes; dwRes = WNetOpenEnum (RESOURCE_GLOBALNET, RESOURCETYPE_ANY, 0, NULL, &hMain); dwSize = sizeof (res); if (WNetEnumResource (hMain, &dwCnt, res, &dwSize) == NO_ERROR) { HANDLE hEnum; dwRes = WNetOpenEnum (RESOURCE_GLOBALNET, RESOURCETYPE_ANY, 0, res,&hEnum); while (dwRes == NO_ERROR || dwRes == ERROR_MORE_DATA) { dwCnt = 9; dwSize = sizeof (NETRESOURCE) * 10; dwRes = WNetEnumResource (hEnum, &dwCnt, res, &dwSize); if (dwRes != ERROR_NO_MORE_ITEMS) { for ( i = 0; i < dwCnt; i++) { if (res[i].lpLocalName != NULL || res[i].lpRemoteName!= NULL) { //MessageBox(0,res[i].lpLocalName,res[i].lpRemoteName,0); //Add this in to a list box. SendMessage (hwndList, LB_ADDSTRING, 0, (LPARAM)res[i].lpRemoteName) ; } } } WNetCloseEnum (hEnum); } WNetCloseEnum (hMain); Pls guide

    C / C++ / MFC help tutorial learning

  • Network patches
    Y ykutanoor

    Pls Explain what are network patches? How do they occur? Explain this with agood example. AND 3 WORKER THREADS.PLS LET ME HOW TO EXCHANGE THE DATA BETWEEN THESE 3 WORKER THREADS. FOR EX:THE FIRST THREAD WILL GIVE THE SECOND THREAD THE 2 NUMBERS AS ARGUEMENTS.the second thread should return the first thread the sum. Pls help

    C / C++ / MFC tutorial sysadmin help question

  • CFileFind
    Y ykutanoor

    I am doing a search for a particular directory (1). If the directory is found then I am going to the last sub directory of 1. Then I am listing all the files in these directory. Pls kindly help me in this respect. CFileFind l_fileFind; //Find the root directory bool l_bool = l_fileFind.FindFile(_T("D:\\Epson\\CPS")); while(l_bool) { l_bool = l_fileFind.FindNextFile(); if (l_fileFind.IsDirectory()) { //List all the files } }

    C / C++ / MFC help

  • PostMessage
    Y ykutanoor

    I have a Dialog based application . I want to post message from this dialog to another class which is alos part of the same application. Say When I click a button,this dialog posts a message to another class. How should I achieve this? how should I know about the class recieve that particular message? Pls guide me with sample code. Regards YKUT

    C / C++ / MFC tutorial question

  • Problem with std::map insert
    Y ykutanoor

    I have a application that inserts a CString and CList in a std::map; In .h file typedef CList SplFileTSInfoList; typedef std::map tagSplFileInfoMap; tagSplFileInfoMap m_SplFileInfoMap; In .cpp file //A vrialble of type SplFileTSInfoList SplFileTSInfoList *l_SplFileTSInfoList; //Insert the Key and the List in to the Map m_SplFileInfoMap.insert(f_crstrUserID,l_SplFileTSInfoList); But when I compile this I get an error. error C2664: 'std::_Tree<_Traits>::iterator std::_Tree<_Traits>::insert(std::_Tree<_Traits>::iterator,const std::_Tree<_Traits>::value_type &)' : cannot convert parameter 1 from 'CString' to 'std::_Tree<_Traits>::iterator' with [ _Traits=std::_Tmap_traits *,std::less,std::allocator *>>,false> ] and [ _Traits=std::_Tmap_traits *,std::less,std::allocator *>>,false> ]

    C / C++ / MFC help c++ css

  • Problem with std::map
    Y ykutanoor

    I have a application that inserts a CString and CList in a std::map; In .h file typedef CList SplFileTSInfoList; typedef std::map tagSplFileInfoMap; tagSplFileInfoMap m_SplFileInfoMap; In .cpp file //A vrialble of type SplFileTSInfoList SplFileTSInfoList *l_SplFileTSInfoList; //Insert the Key and the List in to the Map m_SplFileInfoMap.insert(f_crstrUserID,l_SplFileTSInfoList); But when I compile this I get an error. error C2664: 'std::_Tree<_Traits>::iterator std::_Tree<_Traits>::insert(std::_Tree<_Traits>::iterator,const std::_Tree<_Traits>::value_type &)' : cannot convert parameter 1 from 'CString' to 'std::_Tree<_Traits>::iterator' with [ _Traits=std::_Tmap_traits *,std::less,std::allocator *>>,false> ] and [ _Traits=std::_Tmap_traits *,std::less,std::allocator *>>,false> ]

    C / C++ / MFC help c++ css

  • Problem with std::map
    Y ykutanoor

    I have a application that inserts a CString and CList in a std::map; In .h file typedef CList SplFileTSInfoList; typedef std::map tagSplFileInfoMap; In .cpp file //A vrialble of type SplFileTSInfoList SplFileTSInfoList *l_SplFileTSInfoList; //Insert the Key and the List in to the Map m_SplFileInfoMap.insert(f_crstrUserID,l_SplFileTSInfoList); But when I compile this I get an error. error C2664: 'std::_Tree<_Traits>::iterator std::_Tree<_Traits>::insert(std::_Tree<_Traits>::iterator,const std::_Tree<_Traits>::value_type &)' : cannot convert parameter 1 from 'CString' to 'std::_Tree<_Traits>::iterator' with [ _Traits=std::_Tmap_traits *,std::less,std::allocator *>>,false> ] and [ _Traits=std::_Tmap_traits *,std::less,std::allocator *>>,false> ]

    C / C++ / MFC help c++ css

  • std::map
    Y ykutanoor

    I am taking std::map which maps CString to CList. Can somebody help me how to iterate through . I did a similar example using CMap that maps CString to CString. Pls guide.

    C / C++ / MFC tutorial help

  • Convert long to SYSTEMTIME
    Y ykutanoor

    Convert long to SYSTEMTIME long day =24,mm =4,year =1976; I need to convert day ,month,year to SYSTEMTIME. How?

    C / C++ / MFC question

  • THreads
    Y ykutanoor

    I have an app with 2 threads that run in background. Now I want to communicate between these threads. I know PostMessage would help ME. But I want to send a message from thread1 to therad 2 Pls help me with code snippet. Regards YKUTTANUR Chintu

    C / C++ / MFC help

  • Checking of a file before the main window is shown
    Y ykutanoor

    Sir, I am doing a file searching program before my appication shows its screen. If the file exists then the main window is shown otherwise an error is reported to the client. I know the code to be written will be in InitInstance but do not understand the exact place to write. Say..... if File Exists Show the Main window else Do not show the main window Report an error to the client. Regards Ykut Pls guide I am doing a multi threaded application that involves exchange of data. ONE UI THREAD AND 3 WORKER THREADS.PLS LET ME HOW TO EXCHANGE THE DATA BETWEEN THESE 3 WORKER THREADS. FOR EX:THE FIRST THREAD WILL GIVE THE SECOND THREAD THE 2 NUMBERS AS ARGUEMENTS.the second thread should return the first thread the sum. Pls help

    C / C++ / MFC help tutorial design algorithms

  • Checking of a file before the main window is shown
    Y ykutanoor

    Sir, I am doing a file searching program before my appication shows its screen. If the file exists then the main window is shown otherwise an error is reported to the client. I know the code to be written will be in InitInstance but do not understand the exact place to write. Say..... if File Exists Show the Main window else Do not show the main window Report an error to the client. Regards Ykut Pls guide

    C / C++ / MFC algorithms help tutorial

  • Problem with sizing
    Y ykutanoor

    Sir, I am integrating flash with VC++. I am using Dialog Based App. I inserted this Active X Control. I wanted to show both this Control and Dialog Window in a maximized state. I called ShowWindow(SW_MAXIMIZED) in OnInitDialog. When I execute the App I get the main window in maximized but the control in that is not at all maximized. Pls help. Regards Chintu

    C / C++ / MFC help c++ adobe

  • Integrating VC with Flash MX
    Y ykutanoor

    Hi, I am doing a dialog based app USING MFC. I need to interact with the front end using Flash. Can anybody help me in this regard? The flow of app is ..... Create a Dialog based app Insert a Flash based control. Insert a Flash control "buton". Pls help me in communicating with these two. Regards

    C / C++ / MFC c++ adobe help question

  • How to map CString to Class
    Y ykutanoor

    Sir, I am developing an which maps CString as the key and maps to the class. For that I am using this code. in Person.h" CPerson { private: int age; public: CPerson (); CPerson (int a){ age = a; } } And in "FileView.cpp" CMapStringToOb map; CPerson one ; //one = new CPreson(); map.SetAt( "Bart", one ); This gives me an error. Pls help me with a solution . Regards

    C / C++ / MFC help c++ tutorial

  • formatting a string
    Y ykutanoor

    USE sprintf rather than printf.

    C / C++ / MFC architecture help question

  • Problem in parsing a file
    Y ykutanoor

    Thnx for the modified code. But if u observe that the last message box(after fields are shown) are coming empty) I need to stop this. If u try ... take a file LIKE this and use the above code. 1000,Y,1 2000,N,1 3000,N,1 4000,N,2

    C / C++ / MFC help c++ json
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups