yes, it solved my problem.zerochen wrote:hi
try to add
to ensure that a gui event is happend and not a key event or someting like thatCode: Select all
switch(event.EventType) { case EET_GUI_EVENT: s32 id = event.GUIEvent.Caller->getID(); ... break; }
Thanks.
now i have another problem.
I can't create server
it shows this error
Code: Select all
irrNetLite: Error: An error occurred while trying to create an ENet server host.
Code: Select all
'dada.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
Irrlicht Engine version 1.7.2
Microsoft Windows 7 Ultimate Edition (Build 7600)
'dada.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
Using renderer: Direct3D 8.1
'dada.exe': Loaded 'C:\Windows\SysWOW64\d3d8.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\d3d8thk.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\nvd3dum.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\nvapi.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
'dada.exe': Unloaded 'C:\Windows\SysWOW64\powrprof.dll'
'dada.exe': Unloaded 'C:\Windows\SysWOW64\nvd3dum.dll'
NVIDIA GeForce 8800 GTS 512 nvd3dum.dll 8.17.12.6089
'dada.exe': Loaded 'C:\Windows\SysWOW64\nvd3dum.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
Resizing window (640 480)
Resetting D3D8 device.
'dada.exe': Loaded 'C:\Windows\SysWOW64\mswsock.dll', Cannot find or open the PDB file
'dada.exe': Loaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL', Cannot find or open the PDB file
The program '[1328] dada.exe: Native' has exited with code 0 (0x0).