There is a way for an app to send data to xport which will then go to all the virtual ports. Just an option.![]()
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![]()
There is a way for an app to send data to xport which will then go to all the virtual ports. Just an option.![]()
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
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.
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
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.
http://www.mp3car.com/vbulletin/road...e-net-app.html
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...
int hWnd;
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;
Bookmarks