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
E

EverettJF

@EverettJF
About
Posts
13
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • get logon and logoff event in an service on windows 2000
    E EverettJF

    When I am on windows xp or later, I could get SERVICE_CONTROL_SESSIONCHANGE event by calling RegisterServiceCtrlHandlerEx and HandlerEx .But when I am on windows 2000 ,the SERVICE_CONTROL_SESSIONCHANGE event does not support windows 2000. And now I am willing to get the logon and logoff event on windows 2000 in my service (win32 service), I could not find any method.

    C / C++ / MFC

  • 10 & 10/3*3 are not equal ! ! ! WHY?
    E EverettJF

    i remember,when i was a student, my c language teacher told me , if i compare two "float" or "double", i should check it between a very little number. such as , const float c_tmp = 0.000001; bool b; float f1 = 10.0; float f2 = f1 / 3; b = (f1 >= (f2 * 3.0) - c_tmp) && (f1 <= (f2 * 3.0) + c_tmp);

    C / C++ / MFC question

  • how to get cdrom serial number
    E EverettJF

    I tried Win32_PhysicalMedia , I do not know why I only got \\.\PHYSICALDRIVE0 , and almost all of the detailed infomation is NULL(such as "Name"). while I could get detailed infomation with Win32_CDROMDrive. Thanks anyway :)

    C / C++ / MFC tutorial question

  • how to get cdrom serial number
    E EverettJF

    Nice ! I will test it ! Thanks a lot!

    C / C++ / MFC tutorial question

  • how to get cdrom serial number
    E EverettJF

    yes, I just used Win32_CDROMDrive . But the member VolumeSerialNumber is empty , and SerialNumber Data type: uint16 Access type: Read-only Number supplied by the manufacturer that identifies the physical media. Example: WD-WM3493798728. Windows Server 2003, Windows XP, Windows 2000, Windows NT 4.0, and Windows Me/98/95: This property is not available. I am on Windows XP. Thanks :)

    C / C++ / MFC tutorial question

  • how to get cdrom serial number
    E EverettJF

    I have tested GetVolumeInformation(), it can only obtain the physical disk C:\ .. but it can not do with my H:\ (my cdrom)

    C / C++ / MFC tutorial question

  • how to get cdrom serial number
    E EverettJF

    I use the software "Everest" to obtain detailed infomation about my cdroms, including description,serial number ,cach size and so on . Now I wonder how "Everest" obtain such detailed infomation. Now I just need the serial number of my cdrom. How? Thanks.

    C / C++ / MFC tutorial question

  • unicode to multibyte
    E EverettJF

    or use like this:

    #include "StringA.h"
    #include "StringW.h"

    CStringW sTestW( L"Test" );
    CStringA sTestA( "Test" );

    // convert
    CStringW sConvertW = sTestA;
    CStringA sConvertA = sTestW;
    </pre>

    C / C++ / MFC question

  • How do I get the notification when the user modifies the DNS server address?
    E EverettJF

    I could user ip helper api (NotifyAddrChange and NotifyRouteChange) to get the notification when the user changes the IP address,subnet mask , but when the dns server address( main and the other) is modified , I could not get notification. Is there any method ? Thanks!

    C / C++ / MFC question sysadmin json

  • How could I monitor the network adapter status ?
    E EverettJF

    thanks, may be I should get the COM

    C / C++ / MFC sysadmin json question

  • How could I monitor the network adapter status ?
    E EverettJF

    I expect to monitor any of the network adapter. may be 2 ,may be only 1.

    C / C++ / MFC sysadmin json question

  • How could I monitor the network adapter status ?
    E EverettJF

    I mean , when the user disable or enable the adapter, my application could get the notification , I am an application level developor ,I know nothing about the Windows Driver Develop. Is there any API or methods could work? Thank you!

    C / C++ / MFC sysadmin json question

  • Calling dll
    E EverettJF

    GetProcAddress(myDll,"function1"); maybe the 2nd parameter is the key. you could use "dumpbin /exports myfile.dll" to check the exported functions' name. then,give the right name string. i think your dll should include .def file

    modified on Tuesday, December 29, 2009 3:16 AM

    C / C++ / MFC debugging help
  • Login

  • Don't have an account? Register

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