Quote:
Originally Posted by nokia999
all i find here about sniffing was : learn to write own one :S
|
that's the basic reply you seem to get indeed
btw.. I tried to compile your source but I get some errors
Code:
1>c:\...\sniffer\syron x\syron x.cpp(103) : warning C4309: 'initializing' : truncation of constant value
1>c:\...\sniffer\syron x\syron x.cpp(103) : warning C4309: 'initializing' : truncation of constant value
1>c:\...\sniffer\syron x\syron x.cpp(103) : warning C4309: 'initializing' : truncation of constant value
1>c:\...\sniffer\syron x\syron x.cpp(103) : warning C4309: 'initializing' : truncation of constant value
1>c:\...\sniffer\syron x\syron x.cpp(154) : error C2664: 'wsprintfW' : cannot convert parameter 1 from 'char [50]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\...\sniffer\syron x\syron x.cpp(353) : error C2664: 'CreateFileW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\...\sniffer\syron x\syron x.cpp(355) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\...\sniffer\syron x\syron x.cpp(356) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\...\sniffer\syron x\syron x.cpp(357) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
btw, check PM Nokia