Click here to Skip to main content
15,886,873 members

Comments by Fran Porretto (Top 13 by date)

Fran Porretto 4-Sep-13 8:23am View    
"It's not the friendliest API to use."

Holy BLEEP! You hit that nail squarely on the head. Thanks; I'll see if I can muddle through it.

I've been introduced to the Remote Desktop Connection utility program that comes with 2003 Server. Is there a way to script the invocation of that program, perhaps through the WMI?
Fran Porretto 4-Sep-13 6:38am View    
Apologies. This is all rather new to me.

My need is merely to get a logged-in session running on each of those workstations. Each workstation is configured such that a login causes the automatic startup of a preinstalled program. In other words, I have no need to interact with any of the workstations in any way, except for:

1. Compelling each of them to start a logged-in session;
2. Eventually compelling each of them to log out and terminate that session.

Are there other details to account for? If so, and if there are many such, is there an available reference work that covers this area, perhaps from Microsoft itself?

Fran Porretto 27-Jun-13 13:52pm View    
Hm, I don't know. (Just in case I worded my question confusingly, the Win2003 Server environment from which the app is being ported is 32-bit, NOT 64-bit.) How would I check that?
Fran Porretto 24-Jan-12 7:04am View    
Sorry! It really is syntactically correct; I just mistyped it. I'll correct it. (It's very early in the morning here.)

The error from ::SetCommState() is 995, which Microsoft translates as "Either a thread abort or an application exit has occurred." This DOES NOT HAPPEN when I use an RS-232 port with identical code.
Fran Porretto 24-Jan-12 7:02am View    
Deleted
Oops! I should also correct the code above. Apologies! It's very early in the morning here.
<p>::GetCommState(hComm, &dcb);
<p>::BuildCommDCB("BAUD=19200 PARITY=N DATA=8 STOP=1 to=off xon=off odsr=off octs=off dtr=off, &dcb);

<p>It really is coded properly, as far as syntax goes. The error returned by ::SetCommState is 995, which Microsoft translates as "either a thread abort or an application exit." Baffling!