473,804 Members | 3,259 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

your help urgently required...

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 * KeGetCurrentKPC R(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_D esktop\Desktop\ SnoopyProSrc\Sn oopyPro\wind dk.h(124): error
C2065: '__asm__' : undeclared identifier
2.c:\Documents and
Settings\ANil_D esktop\Desktop\ SnoopyProSrc\Sn oopyPro\wind dk.h(124): error
C2146: syntax error : missing ';' before identifier '__vola tile__'
3.c:\Documents and
Settings\ANil_D esktop\Desktop\ SnoopyProSrc\Sn oopyPro\wind dk.h(125): error
C2143: syntax error : missing ')' before ':'
4.c:\Documents and
Settings\ANUPAM A_Desktop\Deskt op\SnoopyProSrc \SnoopyPro\w inddk.h(127):
error C2059: syntax error : ')'
5.c:\Documents and Settings\ANUPAM A_Desktop\Deskt op\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

May 12 '06 #1
1 1425
> 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 * KeGetCurrentKPC R(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_D esktop\Desktop\ SnoopyProSrc\Sn oopyPro\wind dk.h(124):
error C2065: '__asm__' : undeclared identifier
2.c:\Documents and
Settings\ANil_D esktop\Desktop\ SnoopyProSrc\Sn oopyPro\wind dk.h(124):
error C2146: syntax error : missing ';' before identifier '__vola tile__'
3.c:\Documents and
Settings\ANil_D esktop\Desktop\ SnoopyProSrc\Sn oopyPro\wind dk.h(125):
error C2143: syntax error : missing ')' before ':'
4.c:\Documents and
Settings\ANUPAM A_Desktop\Deskt op\SnoopyProSrc \SnoopyPro\w inddk.h(127):
error C2059: syntax error : ')'
5.c:\Documents and Settings\ANUPAM A_Desktop\Deskt op\SnoopyP
roSrc\SnoopyPro \w inddk.h(124): error C3861: '__volatile__': identifier
not found,


Alex already answered your question yesterday in the other newsgroup. I
added some advise afterwards.
you should follow up on that thread, instead of just posting your question
here.

if you do feel that you did not get a satisfying answer, you could post your
question on
microsoft.publi c.development.d evice.drivers
which is the correct group for that.

--

Kind regards,
Bruno van Dooren
br************* *********@hotma il.com
Remove only "_nos_pam"
May 12 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1556
by: Zeeshan | last post by:
Hi Everybody, I want to search the filename recursively for "this is the code original" using linux command grep or ls or any other Result should be as follows: FilenamePath and Linenumber in the file Please let me know urgently
0
1475
by: Kamliesh Nadar | last post by:
Hi I am developing a software using VB.NET I am facing following problems - 1. Though I have placed the NotifyIcon control on the window service application, after starting the service I am not able to view the icon on the system tray. 2. Secondly how to add a new item in the Window explorer
4
1023
by: Hylton | last post by:
Hi Long Post - Please read to end to understand my question. I am writing a telnet server in VB.net (code samples lower down) I connect two hyperterm sessions to the code. (2 telnet sessions.)
0
1193
by: Asim Khan | last post by:
Dear all, A well reputable group of companies in Pakistan we urgently required a System Support Engineer for our sister concern factory located in Karachi at Korangi Industrial Area, Preference will be given to Candidates those are living near to the K.I.A. and have done MCP and A+ certification. For walk-in interview contact in office timings (9:00-5:00)
1
1792
by: surrayya | last post by:
AOA: Is there any one to help me.i am in great trouble.i want to read a file in c++ program that is consisting of data in 2cols and 70 rows. Tokens freq abcd 50 dssd 87 . . . . . . . .
0
1181
by: bylabylamo | last post by:
hi , can anyone of u please give me an idea of how to convert xml to json using java.it is very urgently required.
11
1697
by: sarika | last post by:
Hi all I am making a website related to uploading art pieces. My requirement is to protect art pieces from being saved by any means. I dont want my images to be save in temporary internet files,not in cookies. Also the page should not be saved as in any browser. and Right click on image should be disables . Also no one can take the printout using print screen. Please help me as it is urgently required.
1
1486
by: George Orwell | last post by:
its urgent.pls help me. mona said: mona said: Hey again, mona. Please check the thread "(part 21) Han from China answers your C questions", in which I gave you a program with
0
9572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4282
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2978
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.