WARNING BUG ! Rev fails to Communicate
Mark Wieder
mwieder at ahsoftware.net
Sun May 20 14:05:40 EDT 2007
Camm29-
Sunday, May 20, 2007, 9:09:14 AM, you wrote:
> have posted this topic before and reported a bug 4927 !
Yes you have. Not sure why you're posting this again.
And I see you mean 4972.
And by the way, "Hangs PC, cannot End Program, Power down only Option"
is not a very useful bug summary.
> Before anybody gets excited it's just a Virtual RS232 Com Port
There's no "just" when you're talking about a virtual driver. Unless
it's something you've written yourself, you're talking to a black box
that's pretending to be a COM port. That's quite different from the
real thing.
>From looking at your bug report,
Open Driver "COM5:"
Write "Hello" & eol to Driver "COM5:"
Read from Driver "COM5:"
Close Driver "COM5:"
1. You're not specifying an open mode. You need "update" here. I'm not
sure what the default mode is, but I wouldn't expect both read and
write to work unless I was explicit about this.
2. You're not checking for errors. Did the "open" work? Did the
"write" work?
3. The "read" command allows you to specify a timeout in case
something goes wrong. You're not specifying one.
4. Do you really mean "only option is Reboot!"? You can't even bring
up the task manager to kill the process?
>IT ONLY FAILS WITH REVOLUTION APPLICATIONS !!!!
>I'm stuffed until this is fixed.
If you've got this working in C, why not just make a shim function as
a C external and call that? Seems like the easy way out if you can't
figure out how to make the rev calls work...
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list