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
K

koothkeeper

@koothkeeper
About
Posts
16
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • API
    K koothkeeper

    Wikipedia might help: http://en.wikipedia.org/wiki/API[^]

    The Lounge json tutorial learning

  • (u_char *)
    K koothkeeper

    Hi Idineen: Do you have access to the source code of snmp_pdu_add_variable? It could be that all variables are passed in as u_char*, then because of ASN_INTEGER, that function has code to convert it to an integer from the string value in test.

    C / C++ / MFC question

  • Atheism , religion , ID etc
    K koothkeeper

    I didn't say "all" answers. :)

    espeir wrote:

    I thought atheists become atheists because they don't want to be lemmings and follow organized religion.

    The Back Room visual-studio question lounge workspace

  • Atheism , religion , ID etc
    K koothkeeper

    Right on Rob!

    Rob Graham wrote:

    I would argue that anyone whose only moral foundation stems from a belief that what is moral is that which was dictated by some entity whose existance can't be proven has a rather weak moral foundation.

    The Back Room visual-studio question lounge workspace

  • Atheism , religion , ID etc
    K koothkeeper

    Please visit http://www.atheists.org/ for answers to what we Atheists believe.

    The Back Room visual-studio question lounge workspace

  • Release build problem
    K koothkeeper

    I would really think that the compiler is doing this to you. Set the optimization to DEBUG on your release build and rebuild everything. Are you stepping through this with the debugger?

    C / C++ / MFC help announcement

  • identifier 'THIS'
    K koothkeeper

    Shouldn't it be lower case (this)?

    C / C++ / MFC help question

  • which is the Best book for 'C'
    K koothkeeper

    I agree with Giorgi: Thinking C++ by Eckel is really good! Also, every programmer, no matter what language, should read two books by Steve McConnell: "Code Complete", and "Rapid Development" (IMHO). Peace!

    C / C++ / MFC c++ question learning

  • Hide my app w/o CreateProcess()??
    K koothkeeper

    Nishant is right. I had the same problem and finally figured it out. It now works great without any screen flicker!

    C / C++ / MFC c++ question

  • Visual C++/MFC Thread Question
    K koothkeeper

    Here is a useful link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/\_mfc\_afxbeginthread.asp Try something like this to get you started: INT MyThread( LPVOID ptr ); int main( int argc, char** argv ) { CWinThread* T; DWORD dwWait; T = AfxBeginThread( MyThread, NULL ); dwWait = WaitForSingleObject( T->m_hThread, INFINITE ); return 0; } /* main() */ INT MyThread( LPVOID ptr ) { AfxMessageBox( "Hello, world!" ); return 0; }

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

  • To get message from Windows if user writes on hard disk?
    K koothkeeper

    Take a look at this link about directory management functions: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/directory\_management\_functions.asp

    C / C++ / MFC question

  • C++ Question
    K koothkeeper

    You get a pointer to an array of 50 unique integers.

    Managed C++/CLI question c++ data-structures

  • JOB_INFO_2 Time member not set
    K koothkeeper

    Well, it turns out I had two problems. One, I wasn't selecting the JOB_NOTIFY_FIELD_TIME in my FindFirstPrinterChangeNotification and FindNextPrinterChangeNotification calls, and two, y'all were right, that field doesn't get modified until the printer started actually printing. I was able to use the JOB_NOTIFY_FIELD_TOTAL_BYTES field to get the event when the other application was writing to the spool file (it's a long story). Thanks to you all who responded!

    C / C++ / MFC json help c++ question announcement

  • Searching for help on-line
    K koothkeeper

    Is it pRecordset, or m_pRecordset?

    C / C++ / MFC help database sql-server sysadmin algorithms

  • JOB_INFO_2 Time member not set
    K koothkeeper

    Hey thanks for your input! Hmmmm. Good question. I have the job paused, so no, it hasn't been printed. I assumed, perhaps incorrectly, that the time would be updated on each call to EnumJobs. Did I miss something in the documentation? What I'm trying to do is capture all jobs for printers that I am monitoring. I pause the job, then notify another program (via the clipboard) that a job is being printed. I need to know when the other app is is finished adding its content to the job (or some period of time) so I can unpause it. While I know there are several solutions to what I need to do, I thought that time member of the JOB_INFO_2 struct would do the trick. But alas it doesn't get updated.

    C / C++ / MFC json help c++ question announcement

  • JOB_INFO_2 Time member not set
    K koothkeeper

    HELP! I've searched all over this, Microsoft's, and many other sites. In using EnumJobs in C++ version 6, I am specifying a JOB_INFO_2 structure. According to the MSDN: Time Specifies the total time, in milliseconds, that has elapsed since the job began printing. However, this value is always zero. The EnumJobs function always returns TRUE, and the rest of the structure's members seem OK. Does anyone out there know if there is a bug in the API that discusses anything about this? I greatly appreciate it in advance!

    C / C++ / MFC json help c++ question announcement
  • Login

  • Don't have an account? Register

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