comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  What is the difference in user privilege when starts as an Application and a Service?         


Author: Gk
Date: Jan 2, 2008 23:05

I have an SQL Server in my Virtual machine. When im starting my
application normally its connecting to the Database thru System DSN
and working fine. But when started as a Service, Its not connecting to
Database. Any prevelege issue ?
The same is working for most of the machines. Is it problem in the
installation of sql server user privilege?
1 Comment
  How to send LB_SETCURSEL messages to multiple listboxes simultaneously to get a synchronous scrolling effect?         


Author: Scott H
Date: Jan 2, 2008 17:50

This will hopefully be my final listbox question.

When the user scrolls down for the first time, the listboxes scroll
one at a time instead of synchronously. This happens because of the
"smooth scrolling effect" that disappears after the first scroll.

Question: How do I either get the listboxes to scroll simultaneously,
or take away the smooth scrolling effect altogether?
1 Comment
  Send a key to a directx application         


Author:
Date: Jan 2, 2008 11:45

Hello,

I'm trying to send a key to a simulator (lock on).

I've succeeded to send a key using sendmessage(), keybd_event(), ..., to
notepade, but the simulator didn't react. I understood why : it uses
DirectX.

Is there a way to simulate a keypress when such a program uses directx ?
I've found that directinput is COM compatible but I didn't understood
how to act between the keyboard driver and the simulator. Is it the good
way ?

Thank,
Sylvain

PS : HAPPY NEW YEAR !!!!!!!!!!!!!!
2 Comments
  IInternetProtocol and cookies         


Author: emdzej
Date: Jan 2, 2008 09:48

Hello,
I have a problem with cookies when using custom pluggable protocol.
My protocol is accessing some resource, which operates by using HTTP
protocol (but can not be accesed directly with IE). In response to a
request a Set-Cookie header is transmited. But the cookie is not
present in further request headers passed to the protocol by the
browser.
The question is: does WinInet handle cookies regardless of the
protocol or it handles them only for http-like built-in protocols?
Should I parse Set-Cookie header by hand and set it manualy with
InternetSetCookie?

Thanks in advance,
MJ
no comments
  Need source location of file copy operation         


Author: Zarir.Karbhari
Date: Jan 2, 2008 09:02

Hello

I am writing a programme at user level that monitors drives and the
read/write/modify operations on theses drives.

However I have come across a problem where I cannot seem find out the
location from where a file is copied.

Eg. I copy a file called test.txt from c : to d:, I need some api that
will tell me that the source destination is c:\test.txt

i have been able to find out that it was ciopied to d:\test.txt but
cannot seem to find out from where it has been copied.

Any help would be appreciated.

Thank you

Regards

Karbhari
1 Comment
  ShellExecute results in open folder at user logon         


Author: Francis
Date: Jan 2, 2008 03:24

My installer application opens the program folder of the installed
program. However, as side effect seems to be that this folder now
opens on each reboot, actually also when I log off and on again.

The code for opening the folder this this:
ShellExecute(NULL, _T("open"), theStartMenuApplicationDirectory, NULL,
NULL, SW_SHOWDEFAULT);

Could the SW_SHOWDEFAULT flag be responsible for this?

Francis
1 Comment