Neue App-> Neuz crash

09/15/2012 13:45 ThoughtfulDev#1
hey leute ich habe ein problem und zwar habe ich ne neue app mit i hate daisy erstellt nur wenn ich ingame C drücke (darauf habe ich sie gelegt) kakt die neuz ab.

erro log:
Code:
2012/ 9/15   13:40:21   string error: IDS_RESDATA_INC_008337

2012/ 9/15   13:40:21   string error: IDS_RESDATA_INC_008339

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   LoadString: textClient.txt.txt

2012/ 9/15   13:40:21   FileName textClient.inc(14542) : IDS_TEXTCLIENT_INC_004051 Not Found. : IDS_TEXTCLIENT_INC_004051

}

TID_EVENT_LUCKYBOX_COND12			0xffffffff

{

	IDS_T

2012/ 9/15   13:40:21   FileName textClient.inc(16769) : TID_MMI_GLOWSHOP Not Found. : TID_MMI_GLOWSHOP 0xffffffff

{

	IDS_TEXTCLIENT_INC_004015

}



MMI_GLOWSHOP 0

2012/ 9/15   13:40:23   FileName Spec_Item.txt(7281) : IK2_SCROLL Not Found. : IK2_SCROLL	IK3_SCROLL	=	=	1	=	3000000	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NO

2012/ 9/15   13:40:49   CWndTaskBar::SetTaskBarTexture : V19Theme 2010

2012/ 9/15   13:40:49   CWndTaskBar::SetTaskBarTexture : V19Theme 581

2012/ 9/15   13:40:55   © Sunrise Flyff - Developed by Shonen rCnt=1

Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004D8BCE

 - Registers

EAX=00000000  EBX=7EFDE000  ECX=00000000  EDX=00000005  ESI=00000000
EDI=75B31245  EBP=0018B518  ESP=0018B4C8  EIP=004D8BCE  FLG=00010212
CS=0023   DS=002B  SS=002B  ES=002B   FS=0053  GS=002B

0023:004D8BCE Neuz.exe
0023:005B205A Neuz.exe
0023:004C2CB9 Neuz.exe
0023:004C33E1 Neuz.exe
0023:004C2F0C Neuz.exe
0023:00609F96 Neuz.exe
0023:005106EC Neuz.exe
0023:004C52FF Neuz.exe
0023:0046F9AB Neuz.exe
0023:0048FB00 Neuz.exe
0023:0048F945 Neuz.exe
0023:004767AC Neuz.exe
0023:0092928C Neuz.exe
0023:75B3339A kernel32.dll
0023:77419EF2 ntdll.dll
0023:77419EC5 ntdll.dll

FuncApplet.cpp
Code:
DECLAREAPPLET( AppMain_CountryV3        , new CWndSelectCountryv3 );

und
AddAppletFunc( AppMain_CountryV3		, APP_COUNTRY_V3                , _T( "WndSelectCountryv3" )       , _T( "Icon_Housing.dds"    )    , GETTEXT(TID_GAME_HOUSING_BOX), 'C' );
WndField.h
Code:
#ifdef __COUNTRY_ICON_V3
class CWndSelectCountryv3 : public CWndNeuz
{
public:

	int m_nCountryIcon;
	CWndSelectCountryv3();
	virtual ~CWndSelectCountryv3();

	virtual void OnDraw( C2DRender* p2DRender );
	virtual	void OnInitialUpdate();
	virtual BOOL Initialize( CWndBase* pWndParent = NULL,DWORD dwWndId = 0 );

	virtual BOOL OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase = NULL );
	virtual BOOL OnChildNotify( UINT message, UINT nID, LRESULT* pLResult );
	virtual void OnSize(UINT nType, int cx, int cy);
};
#endif
Code:
#ifdef __COUNTRY_ICON_V3
CWndSelectCountryv3::CWndSelectCountryv3() 
{ 
	m_nCountryIcon = 0;
} 
CWndSelectCountryv3::~CWndSelectCountryv3() 
{ 
} 
void CWndSelectCountryv3::OnDraw( C2DRender* p2DRender ) 
{ 
	/*CWndStatic* pCountryTxt = (CWndStatic*)GetDlgItem( WIDC_CONTROL7 );
	CString str;
	switch( m_nCountryIcon )
	{
			case 1:
				str = "Albania"; break;
			case 2:
				str = "Argentina"; break;
			case 3:
				str = "Australia"; break;
			case 4:
				str = "Austria"; break;
			case 5:
				str = "Belgium"; break;
			case 6:
				str = "Brazil"; break;
			case 7:
				str = "China"; break;
			case 8:
				str = "Czech Republic"; break;
			case 9:
				str = "Denmark"; break;
			case 10:
				str = "England"; break;
			case 11:
				str = "France"; break;
			case 12:
				str = "Germany"; break;
			case 13:
				str = "Great Britain"; break;
			case 14:
				str = "Greece"; break;
			case 15:
				str = "Israel"; break;
			case 16:
				str = "Italy"; break;
			case 17:
				str = "Japan"; break;
			case 18:
				str = "Korea"; break;
			case 19:
				str = "Kosova"; break;
			case 20:
				str = "Netherlands"; break;
			case 21:
				str = "Poland"; break;
			case 22:
				str = "Portugal"; break;
			case 23:
				str = "Russia"; break;
			case 24:
				str = "Spain"; break;
			case 25:
				str = "Sweden"; break;
			case 26:
				str = "Switzerland"; break;
			case 27:
				str = "Turkey"; break;
			case 28:
				str = "Ukraina"; break;
			case 29:
				str = "Uruguay"; break;
			case 30:
				str = "USA"; break;
			case 31:
				str = "Philippine"; break;
			default:
				str = "Select a Country"; break;
	}
	pCountryTxt->SetTitle( str );*/
} 
void CWndSelectCountryv3::OnInitialUpdate() 
{ 
	/*CWndComboBox* pWndCountryBox = ( CWndComboBox* )GetDlgItem( WIDC_CONTROL7 );
	pWndCountryBox->AddString("Albania");
	pWndCountryBox->AddString("Argentina");
	pWndCountryBox->AddWndStyle( EBS_READONLY );
	pWndCountryBox->SetCurSel( 0 );
	CWndNeuz::OnInitialUpdate(); */
	CWndNeuz::OnInitialUpdate();
	MoveParentCenter();
} 
BOOL CWndSelectCountryv3::Initialize( CWndBase* pWndParent, DWORD dwWndId ) 
{  
	//return CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), dwWndId, WBS_MODAL, CPoint( 0, 0 ), pWndParent );
	return CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), APP_COUNTRY_V3, 0, CPoint( 0, 0 ), pWndParent );
} 
BOOL CWndSelectCountryv3::OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase ) 
{ 
	return CWndNeuz::OnCommand( nID, dwMessage, pWndBase ); 
} 
void CWndSelectCountryv3::OnSize( UINT nType, int cx, int cy ) 
{ 
	CWndNeuz::OnSize( nType, cx, cy ); 
} 
BOOL CWndSelectCountryv3::OnChildNotify( UINT message, UINT nID, LRESULT* pLResult ) 
{
/*
// Aus Box auslesen welches Country
	CWndComboBox* pWndCountryBox = ( CWndComboBox* )GetDlgItem( WIDC_CONTROL7 );
				assert( pWndCountryBox );

				if( pWndCountryBox->GetCurSel() == -1 )
				{
					g_WndMng.OpenMessageBox( "Please choose a Country" );
				return TRUE;
				}

		// Werte festlegen
				switch( pWndCountryBox->GetCurSel() ) {
					case 0: m_nCountryIcon = 0; break;
					case 1: m_nCountryIcon = 1; break;
					default: m_nCountryIcon = 0; break;
				}*/


	/*switch( nID )
	{
		case WIDC_OK:
			{
				if( m_nCountryIcon >= 31)
					m_nCountryIcon = 31;
				else
					m_nCountryIcon++;
				break;
			}
	}*/

	return CWndNeuz::OnChildNotify( message, nID, pLResult ); 
} 
#endif
jo resdata.inc
Code:
APP_COUNTRY_V3 "WndTile00.tga" "" 1 300 200 0x410000 26
{
	IDS_RESDATA_INC_017747	// Title String
}
{
	IDS_RESDATA_INC_017747	// Help Key
}
// Object Data
{
	WTYPE_COMBOBOX WIDC_CONTROL7 "WndEditTile00.tga" 1 44 47 244 77 0x260000 0 0 0 0 46 112 169
	{
		IDS_RESDATA_INC_017748	// Title String
	}
	{
		IDS_RESDATA_INC_017748	// ToolTip
	}
	WTYPE_BUTTON WIDC_OK "ButtOk.tga" 1 85 95 205 125 0x260000 0 0 0 0 46 112 169
	{
		IDS_RESDATA_INC_017749	// Title String
	}
	{
		IDS_RESDATA_INC_017749	// ToolTip
	}
}
alles compilt und startet nur die neuz crasht dann wenn ich C drücke
09/15/2012 15:34 Shiaru#2
Ich weiß nicht ob es der Fehler ist oder ob es hilft, aber hast du auch schon eine andere Taste versucht zu belegen? Weil auf C liegt doch bekanntlich die Ausführung des Actionslots.
09/15/2012 17:04 ThoughtfulDev#3
nein das hat damit nix zu tun denn lege in ne andere app darauf geht es...
09/15/2012 20:22 Teresaty#4
textClient.txt.txt not found in data and IK2_SCROLL not definie in defineitemkind.h
09/16/2012 05:41 ThoughtfulDev#5
that errors i had before too ^^