Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UI Thread to control CAsyncSocket [modified] Pin
Ryan Binns25-May-06 13:18
Ryan Binns25-May-06 13:18 
QuestionUser Defined Messages - Value [modified] Pin
Cliff Hatch24-May-06 8:42
Cliff Hatch24-May-06 8:42 
AnswerRe: User Defined Messages - Value [modified] Pin
David Crow24-May-06 10:24
David Crow24-May-06 10:24 
GeneralRe: User Defined Messages - Value [modified] Pin
PJ Arends24-May-06 10:50
professionalPJ Arends24-May-06 10:50 
GeneralRe: User Defined Messages - Value [modified] Pin
David Crow24-May-06 10:57
David Crow24-May-06 10:57 
GeneralRe: User Defined Messages - Value [modified] Pin
Cliff Hatch24-May-06 11:38
Cliff Hatch24-May-06 11:38 
AnswerRe: User Defined Messages - Value Pin
Michael Dunn24-May-06 12:25
sitebuilderMichael Dunn24-May-06 12:25 
GeneralRe: User Defined Messages - Value Pin
Cliff Hatch25-May-06 0:52
Cliff Hatch25-May-06 0:52 
QuestionPostMessage - What should the handler return? Pin
Cliff Hatch24-May-06 8:39
Cliff Hatch24-May-06 8:39 
AnswerRe: PostMessage - What should the handler return? Pin
RChin24-May-06 9:48
RChin24-May-06 9:48 
GeneralRe: PostMessage - What should the handler return? Pin
Cliff Hatch24-May-06 11:18
Cliff Hatch24-May-06 11:18 
QuestionCorrect use of extern Pin
masnu24-May-06 8:38
masnu24-May-06 8:38 
AnswerRe: Correct use of extern Pin
David Crow24-May-06 10:20
David Crow24-May-06 10:20 
AnswerRe: Correct use of extern Pin
Chris Losinger24-May-06 10:58
professionalChris Losinger24-May-06 10:58 
Questionjpeg/png/tiff libs in VS 2005 linker errors. Pin
CodeGoose24-May-06 7:45
CodeGoose24-May-06 7:45 
AnswerRe: jpeg/png/tiff libs in VS 2005 linker errors. Pin
David Crow24-May-06 8:23
David Crow24-May-06 8:23 
AnswerRe: jpeg/png/tiff libs in VS 2005 linker errors. Pin
Chris Losinger24-May-06 8:23
professionalChris Losinger24-May-06 8:23 
GeneralRe: jpeg/png/tiff libs in VS 2005 linker errors. Pin
CodeGoose24-May-06 8:48
CodeGoose24-May-06 8:48 
QuestionIs it too late to write a book on how to do Owner-Draw components using Win32 API/MFC/WTL? Pin
Han Bo Sun24-May-06 7:36
professionalHan Bo Sun24-May-06 7:36 
Question[C++] Remote WMI ==> "Access denied" Pin
mocrotronics24-May-06 5:33
mocrotronics24-May-06 5:33 
AnswerRe: [C++] Remote WMI ==> "Access denied" Pin
Sheng Jiang 蒋晟24-May-06 11:16
Sheng Jiang 蒋晟24-May-06 11:16 
Topic in microsoft.public.windowsxp.security_admin
WMI settings for remote access on XP
From: Jerry Bryant [MS] - view profile
Date: Fri, Jan 25 2002 4:09 pm

1. the user needs to either be an admin on the XP machine or have remote
enabled privilege set on the XP machine

2. Win2k needs the SP because XP requires at least Packetlevel
authentication and the SP fixes a bug in Win2k to correctly allow
Packetlevel connections

3. if the XP machine is in a workgroup, you won't be able to remote in
anyways as all incoming connections to the XP machine will be reduced to the
guest account (this is by-design of the OS), if in a domain, it should work
given the previous 2 statements are fulfilled.

How to enable remote privileges on the XP machine:

1. Right Click "My Computer", choose "Manage"

2. Open "Services And Applications", right click over "WMI Control" and
choose "properties"

3. Click on the "Security" Tab, highlight the namespace you want to give
security to (most likely root\cimv2) and click the Security button

4. add the user, and check "Remote Enable"
also check out this: http://support.microsoft.com/kb/q282949/

if you are using XP home in Step #3 behavior cannot be
changed. If you are using XP Pro in a workgroup you can change the behavior
via the local group policy:
Computer\Windows Settings\Security Settings\Local Polices\Security Options:
Network Access: Sharing and security model for local accounts:

In unjoined WinXP Pro the ForceGuest behavior is on by default. This
will cause all inbound connections to be anonymous (null)
connections. Try disabling the ForceGuest behavior by setting the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\ForceGuest
value to 0 and reboot.

The "firewall" option on the LAN connection must be disabled.

Regards

Microsoft MVP in Visual C++

http://blog.joycode.com/jiangsheng
QuestionINT_PTR/INT usage confusion Pin
bob1697224-May-06 4:51
bob1697224-May-06 4:51 
AnswerRe: INT_PTR/INT usage confusion Pin
toxcct24-May-06 5:18
toxcct24-May-06 5:18 
GeneralRe: INT_PTR/INT usage confusion Pin
bob1697224-May-06 5:27
bob1697224-May-06 5:27 
GeneralRe: INT_PTR/INT usage confusion Pin
toxcct24-May-06 5:50
toxcct24-May-06 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.