473,465 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Create 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 * 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\SnoopyP ro\wind dk.h(124): error
C2065: '__asm__' : undeclared identifier
2.c:\Documents and
Settings\ANil_Desktop\Desktop\SnoopyProSrc\SnoopyP ro\wind dk.h(124): error
C2146: syntax error : missing ';' before identifier '__vola tile__'
3.c:\Documents and
Settings\ANil_Desktop\Desktop\SnoopyProSrc\SnoopyP ro\wind dk.h(125): error
C2143: syntax error : missing ')' before ':'
4.c:\Documents and
Settings\ANUPAMA_Desktop\Desktop\SnoopyProSrc\Snoo pyPro\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

May 12 '06 #1
1 1404
> 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\SnoopyP ro\wind dk.h(124):
error C2065: '__asm__' : undeclared identifier
2.c:\Documents and
Settings\ANil_Desktop\Desktop\SnoopyProSrc\SnoopyP ro\wind dk.h(124):
error C2146: syntax error : missing ';' before identifier '__vola tile__'
3.c:\Documents and
Settings\ANil_Desktop\Desktop\SnoopyProSrc\SnoopyP ro\wind dk.h(125):
error C2143: syntax error : missing ')' before ':'
4.c:\Documents and
Settings\ANUPAMA_Desktop\Desktop\SnoopyProSrc\Snoo pyPro\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,


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.public.development.device.drivers
which is the correct group for that.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.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
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...
0
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...
4
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...
0
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...
1
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 ...
0
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
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...
1
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.