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:
http://i47.tinypic.com/29mnojq.png
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...
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.
Re: GetDlgItem error - ID Not Found
Quote:
Originally Posted by
SilentNL
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()
{
}