spy_charly 0 Report post Posted March 9, 2006 hello guys! i was wondering if someone know how to connect the COM port or knows how to receive data from it, my situation is:I have a program that has some games, and the games are controlled via the keyboard, but i can also add a DLL that detects the COM port entries (data) so that i just tell the program which data(like simulating a pressed key) is doing certain things, the problem is that I am not familiar with VB or C, so does anyone has a DLL that can be executed from outside and return the value?thanx in advance guys Share this post Link to post Share on other sites
Inspiron 0 Report post Posted March 10, 2006 I don't think a keyboard uses a COM port anymore. COM port is pretty obsolete already. If your device uses a COM port, then it should come with a driver. Simply install the driver and your device will be recognised on the COM port. After that, data will be able to transfer successfully, even in your games. Share this post Link to post Share on other sites
spy_charly 0 Report post Posted March 12, 2006 nop buddy i mean, i want to create another "mini" keyboard through the com port, so do you know where i can find a DLL that detects the data that enters to the computer... Share this post Link to post Share on other sites
Inspiron 0 Report post Posted March 12, 2006 Wow.. so you are trying to create your own compatibility between your computer and the keyboard through the COM port? That's pretty interesting as no one will look into this obselete port again.Anyway, you can try looking to Linux drivers to see if they have COM port drivers as well. Usually they will work. Here is one site which I think might be useful to you.http://forums.xisto.com/no_longer_exists/ Share this post Link to post Share on other sites
spy_charly 0 Report post Posted March 12, 2006 or any ideas on using a usb port, any drivers? Share this post Link to post Share on other sites
Inspiron 0 Report post Posted March 13, 2006 You probably will not need any drivers if you use a USB port. Windows will automatically detect your device after plugging into the USB port. Share this post Link to post Share on other sites
Galahad 0 Report post Posted March 16, 2006 Here's a question for you: How are you going to make a mini keyboard, or other controlling device for use via COM port? If you plan on using few wires and contacts, then I'll have to crash your dreams. You will need to design your own PCB, with your own electronic components, and micro controllers, and you will have to programm that microprocessor by yourself.I work with a company that uses COM ports for out basic communications in our products, and we have engineers design our PCB's, and programm micro controllers, so we can use standard MSComm control within Visual Basic. Working with COM ports is quite simple, once you've got the hardware and have that hardware programmed well. For example, communication with our main computer, is done with a little over 10 bytes! And we have all the information we need.So, just answer me this question, were you planning to design your own hardware controller for this game, or were you to buy a complete solution. If you are making your own controller, it's puzzles me how you are not familiar with either C or Visual Basic.And since you didn't make that particular game, I'm assuming you need a DLL that will take the input from COM port, and simulate key presses to that program. This way too, you need heavy programming, and I'm afraid, you'll have difficulty finding who will do it for you.Hope this helped some, and I'll see your reply soon. Share this post Link to post Share on other sites