Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C++ Libraries / May 2006

Tip: Looking for answers? Try searching our database.

your help urgently required.....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
anil - 11 May 2006 09:35 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.