comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
Your Ad Here
comp.os.mswindows.programmer.win32 only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
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
  AVI PLAYER         


Author: Theodore
Date: May 5, 2008 23:10

I need a avi player to play the cg for my mate's game.
I've tried it for some time , but I cannt make it .

It's in c++ on vs2005 as a win32 application WITHOUT MFC.
I'll appreciate if anyone can help.Maybe this is a very old question ...
2 Comments
  CreateToolhelp32Snapshot         


Author: Aaron Moore
Date: May 5, 2008 13:41

For a little bit now I've been struggling with an issue involving
OpenProcess and CreateToolhelp32Snapshot. The issue revolves around a
single process returning ERROR_ACCESS_DENIED when I attempt to either call
CreateToolhelp32Snapshot on the process or OpenProcess. The target process
has Medium Integrity, is running in Session 1, is not protected, and is
being run as a standard user on Vista. My process that is attempting to
view the target process has all of the same permissions and is being run as
a standard user on Vista.

What I do not understand is that my process can call
CreateToolhelp32Snapshot on every other process of the same integrity level
on my test machine except one. My process has enabled debug permissions, so
that isn't an issue. It just doesn't seem to have permissions, but why? Is
there a way to design a process in windows Vista to prohibit
CreateToolhelp32Snapshot or OpenProcess from being called on it, even if
they normally could be called?

Note: If I run my process as an administrator, it is able to view the
target process fine. However, I obviously don't want to require my process
be run as an administrator just to view the modules loaded into other
processes.
2 Comments
  Regarding some specificity of RDP login         


Author: Martin
Date: May 5, 2008 01:55

Hi,

I'm working on a project which has its own GINA for some Windows logon
customizations. It works fine for ordinary (local) logon; with Remote
Desktop logon problems are encountered. I looked into the app logs and
was surprised at smashing differences of local and RDP logon
processes. It turned out that RDP logon includes as much as 3
'winlogon.exe' processes, instead of only 1 during local logons. In my
GINA I need to trap and store user's password, and this doesn't work
for RDP logons, as the 'winlogon.exe' which obtains the password is
not the one which activates the user shell. Another problem is
intercepting pressing 'OK' button on login dialog, which again,
normally works for local, but doesn't work for RDP logon. Thus my
questions are:

1) Could you give any links with technical details on RDP logon
process;
2) How to trap password during RDP logon, if it's present in a
'winlogon.exe' process, which has nothing to do with activating user
shell, and I need to trap it in the one, which activates the user
shell. Should any IPC mechanisms be used?
Show full article (1.09Kb)
1 Comment
Your Ad Here
  Subclassing error         


Author: Philipp
Date: May 5, 2008 01:25

Hi,

I am trying to subclass a button using the SetWindowSubclass() function but
it tells me that the 'identifier was not found'. I have included "commctl.h"
and added comctl32.lib to the linker command line. I also had a look in
comctl32.lib and found the word SetWindowSubclass. I assume this means I
have at least version 6 of the library which is required. Why would this
error still come up? What could I be doing wrong? How can I be definite of
what version of comctl32.lib I have?

Maybe I'll have to use SetWindowLongPtr()....

Thanks,

Philipp
7 Comments