Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Syouki_kou

@Syouki_kou
About
Posts
60
Topics
30
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • About MSCHAPv2 authentication
    S Syouki_kou

    Hi, Gurus:

    Does anyone know how to integrate MSCHAPv2 authentication with AD.

    For example, a PPTP client with MSCHAPv2 auth method connect to PPTP server using a domain account. The domain account is stored in AD.

    Is there a way for PPTP server to authenticate the remote user against AD? I mean that PPTP server sends the necessary auth info to AD and AD returns the result of authentication.

    Client Server
    Challenge
    <---------------------------------

         NTResponse & PeerChallenge
      ---------------------------------->                            \[Here, we will send necessary info to AD and wait for the result\]
    
           AuthenticatorResponse
      <---------------------------------
    

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    Hosting and Servers tutorial sysadmin security question

  • Install LSP(Layered Service Provider) without a reboot?
    S Syouki_kou

    Generally speaking, installation or uninstall for LSP need a reboot. Is that possible not reboot after installation or uninstall in server edition windows, like 2003, 2008? If so, how could i do it, Any link or tip will be appreciated.

    C / C++ / MFC sysadmin question

  • About MSDN Library?
    S Syouki_kou

    Every release for visual studio must be contain a version of MSDN. As follow described: A: The October 2001 MSDN Library integrate with Visual Studio 6.0. B:The January 2003 MSDN Library integrate with Visual Studio .NET (2002). C:The January 2006 MSDN Library integrate with Visual Studio .NET 2003. D: The April 2007 MSDN Library integrate with Visual Studio 2005 (Service Pack 1). E: The January 2008 version integrate with Visual Studio 2008. F: The November 2008 version integrate with Visual Studio 2008 SP1. I only have one question, should i use the newest MSDN for query the usage for function, enum, etc. Or should i use the associated version with VS(if use VS6.0 for development, then use MSDN 2001 oct, if use VS2005, then use MSDN 2007 april)?

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC csharp visual-studio question announcement database

  • How to get specified windows users or group?
    S Syouki_kou

    I don't know what the needed persons are, the user press a button on my application will invoke the pick up dialog. My purpose is, no matter what operation user do on the dialog, it will only return "administrators" or "users".

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC com tutorial question

  • How to get specified windows users or group?
    S Syouki_kou

    Thank you for your reply, i know the two API. But i still want to use the system pick up dialog to finish my work. I just have no idea for set the filter.

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC com tutorial question

  • How to get specified windows users or group?
    S Syouki_kou

    yes, i only want to get all user name in a specified group. Say, user1, user2 are both administrator on local PC, i want to get their names and save the strings into a list. So do "users" group.

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC com tutorial question

  • How to get specified windows users or group?
    S Syouki_kou

    I reference this Using the Windows 2000/XP Object Selection Dialog[^]. It's great article, but what i need is to get specified user list or group, such as "administrators" group, and all users in this groups, what should i set with the filter? Say: 1. "administrators" group 2. users in "administrators" group 3. "users" group 4. users in "users" group In a word, my purpose is to get only 1&&2&&3&&4, NOT all the users and groups in local PC, what should i do set with the filter?

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC com tutorial question

  • How to judge if left button down in OnMouseMove while it is a SDI derived from CListView?
    S Syouki_kou

    I'm using VC++2005. Make a project SDI which derived from CListView. Say it is CMyListView, then add OnMouseMove, OnLbuttondown, OnLbuttonup process to CMyListView. void CMyListView::OnMouseMove(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default if(nFlags & MK_LBUTTON) { AfxMessageBox(_T("enter")); } CListView::OnMouseMove(nFlags, point); } void CMyListView::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default SetCapture(); CListView::OnLButtonDown(nFlags, point); } void CMyListView::OnLButtonUp(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default ReleaseCapture(); CListView::OnLButtonUp(nFlags, point); } Then compile the project, drag and push mouse button in the view. No message box will pop up. But if it is a common CView, the message box will pop up. What's going on?

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC c++ tutorial question

  • Get the window handle?
    S Syouki_kou

    Under wince, how to get window hanlde of other process which is activing. I mean our application is not the activing one for the moment. AttachThreadInput seems unavailable under wince. How could it do?:confused:

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    Mobile tutorial question

  • About activesync sample stockpor?
    S Syouki_kou

    I am confused with the sample StockPro, i just want to know the working flow of activesync desktop provider and its device side. After install WM5 for PPC sdk(using vs2005 for development), the sample is under the folder C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Activesync\Activesync stock portfolio sample\Stockpor. I do it follow the readme.doc, but no new item found in the activesync items list. there are what i did: 1. using vs2005 compile the sample, we got devsetup.exe,devapp.exe,devsync.dll and stockapp.exe, stsync.dll. I copied "devsetup.exe,devapp.exe,devsync.dll" to "\" after start PPC emulator successfully. and run devsetup, it is ok. 2. Disconnect emulator from "device emulator manager", the connect is again. The activesync will auto synch the objects it found. but there is no "stock" item in item list appeared in activesync status bar. 3. Run stockpor.exe on desktop PC, and choose the default data file "demo.por" ,then click synch button, ok the activesync is synching, but again with no new item show on the status bar. Are there some fault operations in my condition?Why couldn't i see the new object "stock"! who can simply tell me how to use this sample, all above is just "my understanding"! thanks!

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    Mobile tools tutorial question

  • WLAN Profile in vista?
    S Syouki_kou

    The vista SDK says that we can use WlanSetProfile to create a new profile, but the paramater: LPCWSTR strProfileXml [in] Contains the XML representation of the profile. The WLANProfile element is the root profile element. To view sample profiles, see Wireless Profile Samples. -----------This is hard to understand for me. In vista, when a wireless card connected to a "SSID" which detected by WlanGetAvailableNetworkList, there is a checkbox "save this network", after check it and push close button, vista will generate a profile whose name is the same as the "SSID". How could it handle this process? Any clues will be most welcomed, Thanks.

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    Windows API sysadmin xml question

  • All MS SDK/DDK Versions?
    S Syouki_kou

    Oh my god, all earth men know that is official website of MS. Do you play a joke on me, Paresh?

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC announcement mobile tutorial question

  • All MS SDK/DDK Versions?
    S Syouki_kou

    I would like to know all the versions of SDK and DDK of Microsoft release its windows 98, where could i get it? For example,DDKs what i know it is 98DDK, 2kDDK, XPddk, IFSDDK2000, windowsever2003DDK(what's their number rules?like 2600, 3970, 3970.1860, 3970.2075 and so on.) SDKs is 2003 Feb version and the Newest Platform SDK which release at 2006 Mar. and recently MS release its Vista SDK. How about its history? and others like WMP SDK, DXSDK and for embeded Windows Mobile 5.0 Smartphone/PPC SDK, it is too much.:confused:

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC announcement mobile tutorial question

  • How to detect the change of screen(Wince)?
    S Syouki_kou

    How could I detect the screen change? We want to write a software like remote desktop(but no control). I mean capture the desktop(Server) and then send the data to client. As we are under wince, we were needed to sent at least 2~5 whole screen data per second to satify the quality of software. When the screen change, the data of screen is also change, what should i do for this software? Any tips or address will be helpful. 3ks^_^.

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    Mobile sysadmin tutorial question

  • How to judge if the folder can be written?
    S Syouki_kou

    GetFileAttributes?? I don't think it can work properly. Here I have a path, GetFileAttributes can only get its attribute, how could i know if i can write in the folder. Even the folder is read-only, I can create file in it, right?

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC sysadmin json help tutorial question

  • How to judge if the folder can be written?
    S Syouki_kou

    How could I judge it, it assume that I have a path like C:\My folder\Myfile\, how to judge if this folder can be written? Note, path may be on a read-only CD or from network with no write privilege, is there a API to complete this function? I tried CreateFile, while it fail with the error code ERROR_ACCESS_DENIED it is have no write privilege, what I want to know is that if there are other methods to do so? 3ks and best regards.

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC sysadmin json help tutorial question

  • About tiny kernel template?
    S Syouki_kou

    1. envrionment PB4.2 && CEPC && eboot via enthernet 2. trouble shoot I built an OS based on tiny kernel, and i couldn't enter "CEPC". so I add display support and network driver(my hardware is REALTEK8139). and build it again. But it is still stop at "*TCBTimeout: NOT Restarting TCBTimer", I type gi proc, and it show that there are 5 processes running. 3. my purpose What compenonts at least should I add to enter the CEPC(GUI)?

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    Mobile sysadmin hardware question

  • Capture the screen?
    S Syouki_kou

    This problem is already fixed!

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC graphics sysadmin question

  • Capture the screen?
    S Syouki_kou

    I mean there is a server application, you can get the desktop(bitmap format) of it via client application, of course the bitmap data were sent by socket! My question is how could I send the bitmap to client? But do not send all bitmap data at one time, divide the bitmap into 8*4=32 pieces and then send them in order!

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC graphics sysadmin question

  • Capture the screen?
    S Syouki_kou

    How could I divide the screen into 32 pieces after I capture the whole desktop in server application, and then send those data directly to client application, and at last scrabble them up to the whole image(Bitmap format) and show it on client?:doh:

    One day a pretty girl asked me:"Do u think you are handsome?" "I don't think so!".She gave a slap in my face:"Why lying?"...

    C / C++ / MFC graphics sysadmin question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups