|
|
Yeh..But since last 2 days, I have problem with google( server problem ) so i thought it would be good if i will ask this question in Codeproject..
|
|
|
|
|
Shah Satish wrote: I have problem with google( server problem )
Ok, well the first hit returned in my query is a link to a CodeProject Article. So you should be able to find that then right?
led mike
|
|
|
|
|
Did you search on the codeproject?
|
|
|
|
|
Hi !!
Yeh..I got it n thank you very very much for your reply..
Shah
|
|
|
|
|
Very good
|
|
|
|
|
I'm writing a serial communications library for communicating with GPS devices. Serial ports are opened in overlapped mode. A thread is responsible for reading data from the device at regular time intervals, and displaying relevant information to the user. I already have the core reading functionality working. What I'm looking for now is a way to notify the user when the connection has been lost, in as reasonably short a delay as possible. How can I accomplish this? Allen Denver's MSDN article includes a basic description of overlapped serial status checking, and I'm guessing that there is a particular event I should be waiting for. Which event would that be?
Cheers.
|
|
|
|
|
Is there any difference in the privileges of the 'localsystem' account under XP,2000 and 2003 server?
We are launching a browser through the IwebBrowser2 interface ,from an INTERACTIVE windows service (running under 'localsystem' account),and make it navigate to a url.
The url in turns redirects to another page.
This navigation/redirection is allowed in 2000 and XP ;but fails in 2003.
Is this a result of difference in network privileges for localsystem account?
|
|
|
|
|
rana74 wrote: Is there any difference in the privileges of the 'localsystem' account under XP,2000 and 2003 server?
I would be shocked if there wasn't.
rana74 wrote: Is this a result of difference in network privileges for localsystem account?
I would not think so.
rana74 wrote: We are launching a browser through the IwebBrowser2 interface ,from an INTERACTIVE windows service (running under 'localsystem' account),and make it navigate to a url.
Are you sure that is the proper solution for your requirements? I am doubtful.
led mike
|
|
|
|
|
rana74 wrote: Is there any difference in the privileges of the 'localsystem' account under XP,2000 and 2003 server?
Yes. AFAIK it will remain that way for future versions as well.
*edit* I thought it changed on XP as well - maybe in SP2.
I can't find the whitepaper that recommends setting up a special account for services so one
can better control priveledges if the built-in ones aren't sufficient. This one may help a
bit though:
The Services and Service Accounts Security Planning Guide[^]
|
|
|
|
|
I don't have an answer about the redirect, but FYI this scheme won't work in Vista either because services can't display any windows on the user's desktop.
|
|
|
|
|
I have come across a heated debate of preventing interactive services in Vista too.
The problem is that if we configure the service under a domain account ;it ceases to be interactive.
The only way a service can be interactive is with 'localsystem' privileges.Am i wrong on this?
FYI - Also,this setup works fine on Xp(Sp2) and 2000.In 2003,a normal navigatino works - but a redirection doesnt.
|
|
|
|
|
I am trying to output some bullet points to my dialog. Anyone know how to code this using CString/strings, etc.?
|
|
|
|
|
goodoljosh1980 wrote: bullet points
You mean bullet text or are you talking radio buttons?
led mike
|
|
|
|
|
|
I believe those are just character codes
·• See
·• Like
·• This
led mike
|
|
|
|
|
you mean like ascii codes? How do I insert them into a CString?
|
|
|
|
|
that is, I can't find bullet points in the ASCII chart, if you have the value let me know and I can insert them using the CString::AddChar() function, I think.
|
|
|
|
|
goodoljosh1980 wrote: in the ASCII chart
Yeah that won't help because they might be FONT specific. Try the Windows Character Map tool since it allows you to set the font.
led mike
|
|
|
|
|
Can't you just use an asterisk?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Or just paint them yourself!
led mike
|
|
|
|
|
asterisks look more like bullet holes to me *
|
|
|
|
|
Do any of you guys know of a control which allows you to capture key combinations, and then present them in a human readable format? For instance, if I click the control, and then hit Win+F, it'll present Win+F.
--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören
|
|
|
|
|
OnKeyDown
led mike
|
|
|
|
|
I'm already investigating various possibilities... The problem with OnKeyDown (if my memory serves me right), I won't get Alt/Ctrl/Shift-keys. I'm currently playing with a thread local keyboard hook. So far, so good. Now I just have to figure out when a keypress ends. (Which isn't as trivial as it may seem it turned out)
--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören
|
|
|
|