Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Need Some Help With The Com Port
spy_charly
post Mar 9 2006, 01:49 PM
Post #1


Premium Member
********

Group: Members
Posts: 195
Joined: 18-November 05
Member No.: 14,521



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 rolleyes.gif
Go to the top of the page
 
+Quote Post
Inspiron
post Mar 10 2006, 04:08 AM
Post #2


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,205
Joined: 25-March 05
Member No.: 4,883



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.
Go to the top of the page
 
+Quote Post
spy_charly
post Mar 12 2006, 12:12 AM
Post #3


Premium Member
********

Group: Members
Posts: 195
Joined: 18-November 05
Member No.: 14,521



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...
Go to the top of the page
 
+Quote Post
Inspiron
post Mar 12 2006, 05:19 AM
Post #4


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,205
Joined: 25-March 05
Member No.: 4,883



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://freedos-32.sourceforge.net/showdoc....e=index-modules
Go to the top of the page
 
+Quote Post
spy_charly
post Mar 12 2006, 07:51 PM
Post #5


Premium Member
********

Group: Members
Posts: 195
Joined: 18-November 05
Member No.: 14,521



or any ideas on using a usb port, any drivers?
Go to the top of the page
 
+Quote Post
Inspiron
post Mar 13 2006, 08:43 AM
Post #6


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,205
Joined: 25-March 05
Member No.: 4,883



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.
Go to the top of the page
 
+Quote Post
Galahad
post Mar 16 2006, 08:48 AM
Post #7


Neurotical Squirrel
*********

Group: [HOSTED]
Posts: 590
Joined: 4-November 04
From: Novi Sad, Vojvodina
Member No.: 2,127



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Chat Port?(3)
  2. Port Checker, Status(0)
  3. Joystick Problem(3)
  4. Novell Edirectory Imonitor Remote Buffer Overflow(4)
  5. Adsl Routers Are Bad(2)
  6. The Best Port Scanner And O.s. Enumeration(4)
  7. Enabling Port Forwarding Using Adsl Modem With Built-in Router(11)
  8. Ssh And Port Forwarding(0)
  9. To What Port Do You Add Nvidia Sli!(0)
  10. Opening A Port Other Than Port 80(3)
  11. Checking For Open Ports From Php(3)
  12. Open Port Check(6)
  13. Cpanel Port [resolved](2)
  14. Phpmyadmin Port?(1)
  15. Skype / Xampp Port Conflict(5)
  1. Apache Default Port(4)
  2. A Port Scanner(9)
  3. Opening Port(0)
  4. Port Checking Test(1)
  5. Open Port 80?(3)


 



- Lo-Fi Version Time is now: 6th September 2008 - 08:40 PM