Xport in google brings up Curiosity's site on the 5 or 7th link.
which is good enough for me.
However my main point of reference, as I said in my previous post, was Curiosity on here.
And I thought that Thunderstick, who has been here for awhile, would already be aware of Curiosity and his Xport program as it's mentioned alot in the RoadRunner forum which is one of Thundersticks main hangouts :p
There is a way for an app to send data to xport which will then go to all the virtual ports. Just an option. :)
Since I spend more time here than at the bar (WTF it's true):peep:, I was well aware of xport and all the serial splitter tools. I am just trying to create one of my own with a few added features.
Originally Posted by Enforcer
com0com is open source, so how to do it is all there. If it was around when I started XPort, I think that would have been a good starting point or at least a great reference.
can this be done using Visual Basic?
Originally Posted by Curiosity
If so guide me jedi master...
I'm not too great with VB, but searching can always find goods examples of similar code to help out. Here's a similar setup.
Ah, here's a VB one: http://social.msdn.microsoft.com/for...-f9f75717456c/
So based on that, it should be something like...
Find the XPort message window...
hWnd = FindWindow(NULL, "XPortMsgWnd");
Now there are 3 different message you want to send using a COPYDATA and
SendMessage(hWnd, WM_COPYDATA, 0, cds)
cds.dwData = 1 and everything else cleared will stop the real data relay
cds.dwData = 0 and everything else cleared will restart real data relay
To send data, use command 2 for dwData, then lpData is a pointer to your data, and cbData is the length of the data...
cds.cbData = length of string;
cds.dwData = 2;
cds.lpData = string;