GetDlgItem error - ID Not Found

Results 1 to 3 of 3
  1. #1
    Member cffazot is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    GetDlgItem error - ID Not Found

    I've been working on a simple party finder and for some reason I get random crashes when I'm trying to summon the window using the U key. It seems to be quite random but it also seems to occur the most when I'm moving or about to change regions (Northen Flarine to Central Flarine or something).

    Error log upon client crash:
    Code:
    2012/ 5/31   22:39:51   GetDlgItem : nID=3012 not Found.
    
    2012/ 5/31   22:39:51   GetDlgItem : nID=3012 not Found.
    
    2012/ 5/31   22:39:52   GetDlgItem : nID=3012 not Found.
    
    2012/ 5/31   22:39:52   GetDlgItem : nID=3012 not Found.
    
    2012/ 5/31   22:39:52   GetDlgItem : nID=3012 not Found.
    
    2012/ 5/31   22:40:09   GetDlgItem : nID=3013 not Found.
    
    2012/ 5/31   22:40:09   GetDlgItem : nID=3014 not Found.
    
    2012/ 5/31   22:40:09   GetDlgItem : nID=3015 not Found.
    
    2012/ 5/31   22:40:09   GetDlgItem : nID=3016 not Found.
    
    2012/ 5/31   22:40:11   May 31 2012 20:38:55 1 rCnt=1
    Evidently, the window DOES eventually open:


    Odd thing is that I only get errors for objects with these IDs: 3012, 3013, 3014, 3015, 3016.
    Sometimes it's just 3013 to 3016, without 3012.
    3012 is the big list box on the left and the rest are the first few text boxes under "Party Member List".

    Is it a common bug? Because I really cannot spot anything I've done wrong...


  2. #2
    Scientia sit potentia Worf is offline
    MemberRank
    Mar 2009 Join Date
    Near the starsLocation
    492Posts

    Re: GetDlgItem error - ID Not Found

    Nah, when you can to create a windows
    alsways make a normal 1 and 1 with the ~.

    I will give you an example:
    Code:
    CWndInventory::CWndInventory()
    CWndInventory::~CWndInventory()
    void CWndInventory::OnDestroy( void )
    These need to be in each app, to function well.

  3. #3
    Member cffazot is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    Re: GetDlgItem error - ID Not Found

    Quote Originally Posted by SilentNL View Post
    Nah, when you can to create a windows
    alsways make a normal 1 and 1 with the ~.

    I will give you an example:
    Code:
    CWndInventory::CWndInventory()
    CWndInventory::~CWndInventory()
    void CWndInventory::OnDestroy( void )
    These need to be in each app, to function well.
    I have that.
    Code:
    CWndPartyFinder::CWndPartyFinder() 
    {
    }
    
    CWndPartyFinder::~CWndPartyFinder() 
    {
    }
    Last edited by cffazot; 01-06-12 at 01:45 AM.



Advertisement