hello all i am anil kumar, pursuing master's degree in Computer
applications . now i have got some opensource project. that is related
to USB sniffing. tha t is snoopypro. Actalluy this is developed under
Microsoft visual c++. i am getting the folloeing problems at following
code. can u update me please, this code atuclly in winddk.h
static __inline struct _KPCR * KeGetCurrentKPCR(VOID){ULONG Value;__asm__
__volatile__ ("movl %%fs:0x18, %0\n\t": "=r" (Value): /* no inputs
/ );return (struct _KPCR *) Value;} errors: 1.c:\Documents and
Settings\ANil_Desktop\Desktop\SnoopyProSrc\SnoopyPro\wind dk.h(124): error
C2065: '__asm__' : undeclared identifier 2.c:\Documents and
Settings\ANil_Desktop\Desktop\SnoopyProSrc\SnoopyPro\wind dk.h(124): error
C2146: syntax error : missing ';' before identifier '__vola tile__'
3.c:\Documents and
Settings\ANil_Desktop\Desktop\SnoopyProSrc\SnoopyPro\wind dk.h(125): error
C2143: syntax error : missing ')' before ':' 4.c:\Documents and
Settings\ANUPAMA_Desktop\Desktop\SnoopyProSrc\SnoopyPro\w inddk.h(127):
error C2059: syntax error : ')' 5.c:\Documents and
Settings\ANUPAMA_Desktop\Desktop\SnoopyP roSrc\SnoopyPro\w inddk.h(124):
error C3861: '__volatile__': identifier not found, even with
argument-dependent lookup and some other warnings. if anybody know
correct solution , i require it urgently. i think here we need
inputs. If you identify those inputs, we can solve(i think). plz suggest
me.. i will wait for your replies. thank u all for spending time to
read it...
P.V.S.ANIL KUMAR
Stephen MacKenzie - 17 May 2006 00:06 GMT
Try changing __asm__ to __asm for starters.

Signature
Stephen MacKenzie
Microsoft Visual C++
> hello all i am anil kumar, pursuing master's degree in Computer
> applications . now i have got some opensource project. that is related
[quoted text clipped - 22 lines]
>
> P.V.S.ANIL KUMAR