Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Multiple serial port connections

Author
Message
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 13th Apr 2010 21:00
I need to write a program that utilizes a PCMCIA 4 port serial card. I have seen some threads about a plugin by CattleRustler, but I am not sure his plugin will work with multiple ports at once. Does anyone have a solution?

The fastest code is the code never written.
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 15th Apr 2010 23:28
OK. It's been over 2 days and noone has responded. I'm bumping it because I need some help.

The fastest code is the code never written.
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 16th Apr 2010 02:41
CR's DLL doesn't support more than 1 port at a time.

You might be best to go ahead and write one. If you don't know C++, there's a tutorial I wrote on how to make DLLs with C#.Net, which would also work for VB.Net.

How to Write a DBPro DLL

sladeiw
17
Years of Service
User Offline
Joined: 16th May 2009
Location: UK
Posted: 16th Apr 2010 03:02 Edited at: 16th Apr 2010 03:03
I've used CR's plugin for ages and it has been very stable for me. I looked at the instructions and it does say "any or all com ports on the host PC simultaneously" but I have never tried using more than one at once.
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 16th Apr 2010 04:03
Thanks for the reply. I'm going to try to use the built-in stuff first, but if anyone knows of a plugin, I would like to look at that too.

The fastest code is the code never written.
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 16th Apr 2010 04:52
Ok, I may have missed that in CR's documentation.

His plugin might do it for you.

Quote: "I'm going to try to use the built-in stuff first"


What built in stuff?

Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 16th Apr 2010 15:32
Quote: "What built in stuff?"

DBP's "net connect" or whatever it's called for connecting to a network has the ability to do serial connections (well, at least one). The only problem is that there is no documentation on what to put into the string for the serial connection. I have also found some .dll's that loop promising, but I was hoping someone knew with specificity how to go about this.

The fastest code is the code never written.
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 16th Apr 2010 17:58
The built in stuff is based on DirectPlay then, which might help you find what to put in there, but I suspect you would be better off with CR's DLL.

Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 16th Apr 2010 17:59
Do you have a link for CR's DLL?

The fastest code is the code never written.

Login to post a reply

Server time is: 2026-07-26 14:30:52
Your offset time is: 2026-07-26 14:30:52