Jump to content

How to create a driver for Barcode scanner

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
15 replies to this topic

#1
mechslayer

mechslayer

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
Hi everyone,

I doing a programming which able to check where cars are parked at.

The idea is using a Barcode scanner and scan your card's barcode to save the data. After that, you scan it at another scanner to check where was the card previously scanned therefore know the location of your car.

So the question is, if I can actually let all barcode scanner have their own Form which have a textbox to send decoded data to it's individual class when used.

I have done the programming for such purpose. (Which I uploaded here) I am using VB 2008 Express Edition. But I does not know how to let 3 barcode scanner work together at the same time without using the mouse to click on the specific form I want to scan the data in.

My programming might not be that neat as I am still a begginner which start learning two month ago.

I was told to create a mini-driver for it. But I have no idea how to start cause I only learnt Visual Basic and a bit of C prog.

Can give some advice on how to start how such programme?

Thanks in advance :)

Attached Files



#2
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
If you only know a bit of C, there is no way you can write a driver.

#3
mechslayer

mechslayer

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
So its not easy as I thought so then.

I can learn but is it really very hard? Cause I have not much time left. Left only 1 month for me.

#4
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
I guess it would depend on the person. Although going from limited to no knowledge of C programming to writing a driver in one month seems pretty much impossible.

#5
mechslayer

mechslayer

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
Even its seem impossible I still need to try.

Is there any other source of information I can read to learn what I need?

Like internet source, books etc..

#6
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Yeah just search for Windows Driver Development. You'll need to download WDK.

#7
mechslayer

mechslayer

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
So WDK an programme which use to create driver?

Okay, Thanks a lot...

#8
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
It's documentation, and a couple of build environments for driver development.

#9
mechslayer

mechslayer

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
Nil

#10
mechslayer

mechslayer

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
Hmm.. So roughly what should I read about? I started to read some books on C++. I also got a book for Window Driver Development from Microsoft. I downloaded the WDK from there. So am I in the right track?

If I am, what should I focus on cause the content is too much. I wanna just focus on what I should be learning. Hope to get some advice.

Thanks :)

#11
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
In order to write a driver, you need a strong knowledge of general C. You also need to understand how the drivers, userland, the kernel, etc. all interface together. Then you'll need to understand the basic skeleton for a driver, and then you need to see how you can communicate with the scanner to and from the computer.

#12
mechslayer

mechslayer

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
Okay.. I will try.

Thanks for the helps. :)