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
G

ganesh dp

@ganesh dp
About
Posts
38
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Incremental search method for CEditview or CRicheditView
    G ganesh dp

    BOOL CSimpleFinderView::Findx(CString str)
    {
    return FindText(str,FALSE,FALSE,FALSE);
    }

    I have wrote above function in view class derived from CRicheditview. I will call this function from mainfrm class. Consider following example text present view. "function is not working, so remove the the function" To find the word "function", I traps characters at mainfrm pretranslate message and calling above function for every key pressing. Keypressed | Result -------------------- f | function is not working, so remove the the function fu | function is not working, so remove the the function Findtext() selecting the second occurrence of the word function. But it suppose to be first one. I feel this CRichEditView::FindText() will not help Can u suggest any other solution?

    C / C++ / MFC help tutorial question

  • Incremental search method for CEditview or CRicheditView
    G ganesh dp

    Is there any inbuild function available to implement Incremental Search in CRicheditview?

    C / C++ / MFC question

  • Number of instances running
    G ganesh dp

    Is there any way to find how many instance of an applications are running?

    C / C++ / MFC question

  • creating sidebar like vista sidebar for XP
    G ganesh dp

    I want to create a sidebar for windows xp using vc++. Sidebar is similar to vista sidebar. I tried google to get idea, but everybody giving details about gadgets not side bar. Anybody have any details about how to create a sidebar ?

    C / C++ / MFC c++ tutorial question

  • how to find memory leaks in attached dll
    G ganesh dp

    My applications uses many dll libs. I suspecting these dlls may has the memory leaks. All dll uses "#define new DEBUG_NEW" for memory allocation. when my application ends, the dll's teriminated before reporting memory leaks. because of that i can't find the leaks of dll(I think).

    ListBoxs.DLL Terminating!
    EVENTS.DLL Terminating!
    Detected memory leaks!
    Dumping objects ->
    {174217} normal block at 0x04545900, 1024 bytes long.
    Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
    {174216} normal block at 0x044E8A20, 36 bytes long.
    Data: <HG YT YT > 48 47 97 01 A2 CD CD CD 00 59 54 04 00 59 54 04
    {174215} normal block at 0x045454B8, 1024 bytes long.

    I need to get the memory leak info of ListBoxs.DLL & EVENTS.DLL how to get those dll leak details?

    C / C++ / MFC debugging performance tutorial question

  • Identifying Memory leak location
    G ganesh dp

    thanks for reply. After that if you're still having problems start thinking about using a diagnostic new and delete so you can start getting a handle on what you're allocating and not freeing "diagnostic new and delete" - Can u explain it in detail

    C / C++ / MFC question performance

  • Identifying Memory leak location
    G ganesh dp

    VC reporting some memory leaks in my application but without line number and file name. because of that i can't locate the leak. Report is given below

    Detected memory leaks!
    Dumping objects ->
    {159399} normal block at 0x04D98460, 1024 bytes long.
    Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
    {159398} normal block at 0x044E4F30, 36 bytes long.
    Data: <HG ` ` > 48 47 97 01 A2 CD CD CD 60 84 D9 04 60 84 D9 04
    {159397} normal block at 0x04D98028, 1024 bytes long.
    Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
    {159396} normal block at 0x04CABF20, 68 bytes long.
    Data: <(H ( ( > 28 48 97 01 A2 CD CD CD 28 80 D9 04 28 80 D9 04
    {159393} normal block at 0x044F37F0, 36 bytes long.
    Data: < 7O 8PN 7O > F0 37 4F 04 38 50 4E 04 F0 37 4F 04 CD CD CD CD
    {159392} normal block at 0x044E5038, 36 bytes long.
    {21242} normal block at 0x04507C18, 4 bytes long.
    The program 'D:\Kty\Program\kty.exe' has exited with code 0 (0x0).

    How can I locate leak?

    C / C++ / MFC question performance

  • onlick event of command button is not called
    G ganesh dp

    I have one propertypage and it has the 10 radio button and two command button. All buttons has the onclick event function. My problem is two command button event is not called. I checked the message map area. Its looking fine. I can't simply add another control and compile it. Because it's huge lib, I have to wait 10 hours to complete. resource.h has the control Id. Some other dialog also has the control with same ID, there the event is occured. Anybody suggest me what could be the problem?

    C / C++ / MFC help question learning

  • How reduce build time of the project?
    G ganesh dp

    IDE : vc 6.0 I want reduce my project build time, project is quite big one. Is there any way?

    C / C++ / MFC visual-studio question

  • How AfxWinMain() function is getting called?
    G ganesh dp

    Can anybody explain me how the afxwinmain() is called?

    C / C++ / MFC question

  • broadcasting failed in vista but working on xp
    G ganesh dp

    I have the application which will broadcast some message to network. It's working fine in XP system, but failing on vista system. regarding this surfed net... and found some registry has to be changed. why it's required? broadcast is common network concept why vista blocking this one or it's vista bug. if it's bug, whether microsoft fixed it or not? any way i want fix it. so kindly help me. my application is MFC based one.

    Windows API help c++ sysadmin windows-admin question

  • adding checkbox to submenu item
    G ganesh dp

    I want show some options as checkbox in menu. this menu could be called by right clicking the dialog. If user select some menu item according to that i will make some operation. how could i add checkbox to submenu item

    C / C++ / MFC

  • Udp broadcast failed in vista
    G ganesh dp

    Firewall is switched off. and UAC is disabled. Running in administrator rights.

    C / C++ / MFC announcement debugging help question

  • Udp broadcast failed in vista
    G ganesh dp

    I have the application which will send udp broadcast message. And it is working fine xp. but in vista it is getting failed in release version. Debug version working fine in vista. what could be the problem ?

    C / C++ / MFC announcement debugging help question

  • How could I add print facility to Analogmeter Control
    G ganesh dp

    Hi, I have the "Analog Meter Control" class by Mark C. Malburg. I downloaded this from code project only. Now I want to add the print facility to that control. how could I make this, any suggestion and directions are welcome. Thanks in advance.

    C / C++ / MFC

  • CueBanner in vc6
    G ganesh dp

    how can i add "cue banner" facility to cedit in vc++ 6.0

    C / C++ / MFC c++ question

  • MFC application has encountered a problem and need to close
    G ganesh dp

    win xp sp2

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

  • MFC application has encountered a problem and need to close
    G ganesh dp

    I have one MFC application which is working with some PCI boards. I have been run this application for past one year without any problem. But now i got this error "MFC application has encountered a problem and need to close". What will be the reason for this problem? help me to solve this one...

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

  • Cleint Server - Connection refused.
    G ganesh dp

    I made one simple client server program. Server Socket created without any error but client program returns WSAECONNREFUSED error. For one confirmation i create another one server socket with same port at that time it's not gives any error. I get confused because it creates two sockets for same port without any error. But this also client gives same error please help me to get out from this issue. Server:

    m_pserversock = new CServerSocket(this);
    bsucessflag= m_pserversock->Create(m_portno,SOCK_STREAM,NULL);
    status=m_pserversock->GetLastError();
    if(bsucessflag)
    {
    // TODO: Server Listen
    bsucessflag= m_pserversock->Listen(5);
    if(bsucessflag)
    {
    //CString Stemp = m_display.GetWindowText(Stemp,m_display.get
    m_display.SetWindowText("Server Listening\r\n");
    }
    else
    {
    m_display.SetWindowText("Unable to Listen\r\n");
    OnDisconnect();
    }
    int a=m_pserversock->m_hSocket;
    }
    else AfxMessageBox("Unable to Create");

        CSocket \*temp;
    temp = new CSocket;
    bsucessflag=temp->Create(m\_portno+1,SOCK\_STREAM,NULL);
    if(!bsucessflag)
    	AfxMessageBox("Error");
    

    CServerSocket,CClientsock is from CSocket. Client:

    m_pClientsock = new CClientsock(this);
    if(m_pClientsock->Create())
    {
    if(m_pClientsock->Connect(dlg.m_Servername,dlg.m_Portno))
    {
    AfxMessageBox("Connected to Server");
    Init();
    m_bIsConnect = TRUE;
    m_Username = dlg.m_Username;
    }
    else
    {
    int istatus=m_pClientsock->GetLastError();

    			AfxMessageBox("Not able to Connect Server");
    			delete m\_pClientsock;
    			m\_pClientsock = NULL;
    		}
    	}
    	else 
    		AfxMessageBox("Not able to Create");
    
    C / C++ / MFC help sysadmin

  • Email Notification for Outlook Express 6
    G ganesh dp

    But that document explaining how to access Microsoft Office and I did not understand how to access the OE. Please Explain me

    C / C++ / MFC tools json tutorial
  • Login

  • Don't have an account? Register

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