Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am new driver writing and I am facing a problem. I want to make an http put request but whenever I include windows.h or winsock.h I get 102 errors. After searching on the internet, I found out that I cannot use these files in kernel-mode code.

Any clue how to make an http put request in kernel-mode native C++?

Your help is much appreciated.

Thanks a lot.

PS. I am using Winddk to build the miniport.
Posted
Comments
Jörgen Sigvardsson 4-Aug-10 11:44am    
I have only dabbled with driver writing, but I do know that you can't just use user space code in the kernel. This means that you can't just include user space header files and hope it'll work.

Wouldn't it be easier if you wrote some kind of background user space process that you communicate with the driver, and performs the HTTP requests for you?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900