CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Zhefu Zhang

Page 1 of 5 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    592

    read this in MS site

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnolegen/html/msdn_propset.asp
  2. If you are going to use Far East character, then

    Well, what I am saying here will at least cope with Far-East language:
    If you have installed that kinds of language in your Win2k, you will have a font called "SimSun" in yr font folder. Say, you...
  3. Replies
    10
    Views
    7,013

    If you are going to use Far East character, then

    Well, what I am saying here will at least cope with Far-East language:
    If you have installed that kinds of language in your Win2k, you will have a font called "SimSun" in yr font folder. Say, you...
  4. Replies
    7
    Views
    1,521

    a way to get user password

    It may seem odd I post this after 1 year:)
    Actually there is a way to obtain your current password in Win2k/XP:
    http://nfans.net/article/manu/26.html
    Just omit the Simplified Chinese and...
  5. If www.CodeGuru.com is re-designed, Is rate available

    Hello, Brad:
    I have a suggestion, make a rating bar in each article (for readers to vote), so after some time, there is a good standard that you can remove the low-quality articles. I am really...
  6. How to Get IWebBrowser2 from IHTMLDocument2

    Hi, Gurus. These is a getDocument method of IWebBrowser2 to fetch the IHTMLDocument interface, but how to How to Get IWebBrowser2 from IHTMLDocument2, thanks very much ahead.:rolleyes:
  7. check MSDN articles

    search in MSDN and you will find with "PE Format" you can find 2 Technical Article:
    1. Peering Inside the PE: A Tour of the Win32 Portable Executable File Format by Matt Pietrek March 1994
    2. YAHU,...
  8. Thread: Check MSDN

    by Zhefu Zhang
    Replies
    0
    Views
    548

    Check MSDN

    search in MSDN and you will find with "PE Format" you can find 2 Technical Article:
    1. Peering Inside the PE: A Tour of the Win32 Portable Executable File Format by Matt Pietrek March 1994
    2. YAHU,...
  9. How my NT Service got known a User is logging in

    Hi, Gurus, is there any way for my NT service got notified when a human user log on the system????
    Thank you very much ahead, just an idea will be highly appreciated.
    But my current way is aweful,...
  10. STL in MFC-based Application -- help pls!!!

    I include
    #include <vector>
    using namespace std;
    and declare the following in CMyApp class header file
    std::vector<int> a(3);
    but the compiler gave me error C2059: syntax error :...
  11. Replies
    4
    Views
    742

    How NT Service know when a user logon

    Hi, I would like to notified when a user log on WinNT in my NT Service program. Any idea?
    Now I can check the process list in a loop to know if a explorer got launched, but there should be another...
  12. NT Service in WinXP, strange behaviour

    Hi, gurus.
    I have a NT service program that is ruuning ok on Win2k, inside it I use MessageBox with (MB_OK | MB_ICONINFORMATION | MB_SERVICE_NOTIFICATION) flag to pop some warning message. ...
  13. Replies
    2
    Views
    684

    how to connect LAN resource

    Hello, gurus, I would like to connect to a remote machine's share folder in a LAN. unfortunately, the share folder need a username and password to get access. Though I have it, I would like to know...
  14. Replies
    4
    Views
    664

    Re: small Q on sizeof

    Thank you so much for the answer, but according to the logic: the following struct:
    typedef struct tagSth{
    char ch1;
    char ch2;
    char ch3;
    }
    should take 4 byte, for you need padding, but...
  15. Replies
    4
    Views
    664

    small Q on sizeof

    Dear Gurus, please refer the following code

    typedef struct _iphdr
    {
    unsigned int h_len:4;
    unsigned int version:4;
    unsigned char tos;
    unsigned short total_len; ...
  16. Replies
    0
    Views
    574

    NetAddUser Q

    Hello, Gurus:
    After I use NetAddUser to add a user, I confirmed with NetUserEnum. though the creation is ok, when I open the user-applet in the control panel, the new user do not appear. but when I...
  17. Replies
    2
    Views
    648

    Re: Set Account Password

    Thanx a lot, I got it. You are a codeguru.
    But just one q, the USER_INFO_3' usri3_last_logoff is always 0 but last_logoon is correct. Why the machine refuse to tell the last logoff time, it is...
  18. Replies
    2
    Views
    648

    Set Account Password

    Hello, Gurus, I am using NetUserGetInfo to get the user password, though I am the local Administrator, the USER_INFO_3 I got contains no password.
    So is there any way to get the password if the...
  19. Replies
    0
    Views
    1,583

    ULONGLONG division

    Hello, Gurus, I want to do the following:
    double d = 1.0 * ulonglongSth/(1024*1024*1024)
    but the compiler refused, even I asked for static_cast.
    Any idea is high appreciated, thanx a lot ahead
  20. Replies
    2
    Views
    976

    MDI splitter

    Dear Gurus:
    I would like to apply splitter to the MDIFrame. please note I do not intend to add splitter into the child frame, I tried in the MDIFrame's OnCreateClient, and create a static splitter...
  21. Replies
    0
    Views
    579

    Dependency Walker Patch

    Dependency Walker is a good tool, but sometime, it can not recognize an exe (especially those debug-ver MFC-based exe) and report invalid path.... I tried with with Yahu, it is ok, but the interface...
  22. Replies
    2
    Views
    855

    Re: Nt Service Critical Error

    Thanx Tony, though it is ok to adjust the service MMC, the machine will reboot before you have a chance to log on if one service's failure leads to the reboot(at the time of windows starting,...
  23. Replies
    2
    Views
    543

    Re: Win2k Desktop refuse lock

    Thanx for the reply, but I am always the admin in the local machine, the LockWindowUpdate returned TRUE(but I have to point out, it takes 5 sec in my PIII 800M machine !???). and the HDC is also...
  24. Replies
    2
    Views
    543

    Win2k Desktop refuse lock

    Hello, Guru, please have a look at the follwing code from "Programming Win95" . It works fine on Win95/98, but not in Win2k, please you please explain why? I have checked all handle are ok.

    ...
  25. Replies
    0
    Views
    440

    MS Regedt32 Q

    Hello, gurus, I have just bent on a regedit-like soft. Soon, I am stuck by 2 problem:
    1. Though RegEnumKey runs very fast, CTreeCtrl::InsertItem is too slow, it is impossible to reach regedit's...
Results 1 to 25 of 118
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured