Click here to Skip to main content
15,887,267 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: Error opening a serial modem Pin
SoMad29-May-12 23:02
professionalSoMad29-May-12 23:02 
AnswerRe: Error opening a serial modem Pin
Erudite_Eric24-May-12 23:30
Erudite_Eric24-May-12 23:30 
QuestionDraytek ADSL Routers Pin
DaveAuld16-May-12 6:44
professionalDaveAuld16-May-12 6:44 
QuestionWhere do programs execute from? Pin
Brandon-X1200029-Apr-12 14:42
Brandon-X1200029-Apr-12 14:42 
AnswerRe: Where do programs execute from? Pin
Erudite_Eric30-Apr-12 8:19
Erudite_Eric30-Apr-12 8:19 
SuggestionRe: Where do programs execute from? Pin
Brandon-X1200030-Apr-12 8:59
Brandon-X1200030-Apr-12 8:59 
GeneralRe: Where do programs execute from? Pin
Richard MacCutchan30-Apr-12 23:17
mveRichard MacCutchan30-Apr-12 23:17 
GeneralRe: Where do programs execute from? Pin
Erudite_Eric1-May-12 4:19
Erudite_Eric1-May-12 4:19 
1). Drivers are written in C. C++ is not supported by Microsoft in the kernel. Yes you can use it, but be very careful, so it is best to use C. And you are going to have to use iy in its very raw form. Lots of pointers, pointers to pointers, casting pointers to ints, and so on.

2)
Brandon T. H. wrote:
Network/Ethernet Filter Driver"
Thats an NDIS model driver. It isnt WDM, and isnt anything like a file system filter. (Yep. I have written plenty of both).

3)
Brandon T. H. wrote:
so it's not something that is completely new or very hard and complex to understand,
I so wish I could watch your first efforts... Drivers ARE very complex and hard to understand.


Brandon T. H. wrote:
I could look up some code blocks online and change some words around in the programming and change a network/ethernet filter driver into a execution filter driver (it is possible).


As stated that isnt possible, totally different model, diferent API, different everything.


Brandon T. H. wrote:
I have converters to translate from language-to-language


This isnt going to work.

You need to be very very proficient in C and understand the kernel/OS/HW in detail in the particular realm you will be working in.

FSF drivers are some of the hardest to write too, so you are jumping in at the deep end. NDIS drivers are actually fairly simple (in comparison).

OK, think of this, kernel code is about 20 times more complex than user mode code. Thats the kind of mind numbing nastiness you will be working with.

You also need to use windbg to debug, so you need to be very proficient in its use.

Oh, and assembler. You are going to be debugging alot in assembler as you trace into system calls to see why your code is going wrong.


Ten there is the install. This can be a major nightmare in its own right and can have fundamental impacts on the way your driver works, or not.
==============================

Nothing to say.

GeneralRe: Where do programs execute from? Pin
Dave Kreskowiak12-May-12 4:27
mveDave Kreskowiak12-May-12 4:27 
GeneralRe: Where do programs execute from? Pin
Erudite_Eric12-May-12 10:40
Erudite_Eric12-May-12 10:40 
AnswerRe: Where do programs execute from? Pin
Eddy Vluggen25-May-12 0:07
professionalEddy Vluggen25-May-12 0:07 
GeneralRe: Where do programs execute from? Pin
CDP180230-May-12 4:53
CDP180230-May-12 4:53 
Questionwhat is mainframe testing software? Pin
Rakib khan00927-Apr-12 9:48
Rakib khan00927-Apr-12 9:48 
AnswerRe: what is mainframe testing software? Pin
Albert Holguin27-Apr-12 9:54
professionalAlbert Holguin27-Apr-12 9:54 
AnswerRe: what is mainframe testing software? Pin
Richard MacCutchan27-Apr-12 23:29
mveRichard MacCutchan27-Apr-12 23:29 
AnswerRe: what is mainframe testing software? Pin
Jon Bravo09829-Apr-12 20:04
Jon Bravo09829-Apr-12 20:04 
AnswerRe: what is mainframe testing software? Pin
JosephvObrien1-May-12 20:28
JosephvObrien1-May-12 20:28 
QuestionFile System Driver Programming Pin
casa cargo8-Apr-12 9:11
casa cargo8-Apr-12 9:11 
AnswerRe: File System Driver Programming Pin
Richard Andrew x648-Apr-12 11:38
professionalRichard Andrew x648-Apr-12 11:38 
Questionminifilter demo Pin
daotian5-Apr-12 22:55
daotian5-Apr-12 22:55 
AnswerRe: minifilter demo Pin
Richard MacCutchan5-Apr-12 23:57
mveRichard MacCutchan5-Apr-12 23:57 
GeneralRe: minifilter demo Pin
Erudite_Eric6-Apr-12 6:24
Erudite_Eric6-Apr-12 6:24 
GeneralRe: minifilter demo Pin
Erudite_Eric1-May-12 5:12
Erudite_Eric1-May-12 5:12 
GeneralRe: minifilter demo Pin
daotian9-Apr-12 15:47
daotian9-Apr-12 15:47 
GeneralRe: minifilter demo Pin
Richard MacCutchan9-Apr-12 21:23
mveRichard MacCutchan9-Apr-12 21:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.