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
H

hph

@hph
About
Posts
86
Topics
47
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • get logged on user
    H hph

    thanks for the hints, but i have found another workaround. because i have already a process which gets launched at startup - i simply put a pipe in it, which delivers the needed informationen whether a user has logged on. thanks anyway.

    C / C++ / MFC question

  • get logged on user
    H hph

    hello, i need to know who to determine whether a user is logged on or not. i have already tried GetUserName but this didn't work, because i have a service running as 'system', so GetUserName only returns 'system'. Now, how can i get this information ? OS: Windows 2000 Thanks in advance.

    C / C++ / MFC question

  • language problem
    H hph

    hello everybody, what is the responsible part which decides in which language messagebox buttons are displayed ? Does someone have a clue? thanks in advance, hph

    C / C++ / MFC question help

  • SecurityCenter XP2 and CreateFile
    H hph

    Hello everbody, i have a very very idiocratical problem! currently i try to change my application so it then supports the SecurityCenter located in XP Service Pack 2. The communication to the SecurityCenter works without any problems, but only in the debug version. I need to use the funcion CreateFile to enumerate some stuff. And as mentioned this works only in the debug version. In the release version the CreateFile function namly works but the communication to the SecurityCenter is missing. If i ignore (cancel out) the CreateFile function the SecurityCenter recognizes my application again, even in the release version! Has anyone an idea of what i'm doing wrong ? Thanks in advance!

    C / C++ / MFC announcement debugging help question

  • cpu performance
    H hph

    hello, i need to know how to determine the total cpu usage expressed in percent. Is there any function which can provide this value ? Please help me it's urgent. Thanks in advance!

    C / C++ / MFC performance help tutorial question

  • what does "rhs" mean?
    H hph

    hi, "rhs" is just the name of the input parameter, you can also use "cat" if you want, but only if you like cats ;-) Have a nice day! hph

    C / C++ / MFC question c++ linux tutorial learning

  • OpenProcess
    H hph

    Hello, can someone tell me the meaning of the SYNCHRONIZE flag which can be used in OpenProcess ? Thanks in advance!

    C / C++ / MFC question

  • Events and Threads
    H hph

    Thank you, i got it!

    C / C++ / MFC question

  • Events and Threads
    H hph

    Hello at all, imagine the following situation: You have created an auto-signaled event, and multiple Threads are waiting for this event to get signaled. The event in addition gets signaled, and one thread starts its execution which implied the event has gotton nonsignaled. So my question is, when does the event gets again signaled ? Thanks in advance!

    C / C++ / MFC question

  • CreateNamedPipe
    H hph

    yes it helped, thank you, i got it!

    C / C++ / MFC help question

  • CreateNamedPipe
    H hph

    ok, thanks! and what does this mean ?

    C / C++ / MFC help question

  • CreateNamedPipe
    H hph

    Hello, i have a little problem with the interpretation of CreateNamedPipe(...) what exactly is the difference between the dwOpenMode flag FILE_FLAG_OVERLAPPED and the dwPipeMode flag PIPE_WAIT, and which of those is used if both are specified? Thanks in advance!!

    C / C++ / MFC help question

  • Function prototype
    H hph

    Thank you for your help! But, please delete your citation of Adolf Hitler, there's nothing good associated with Adolf Hitler! It my be funny if you tell the citation once, but it is absolutely wrong to use it as a footnote!

    C / C++ / MFC question

  • Function prototype
    H hph

    Thanks, but .. let's think that it is already implemented in a derived class, i only want to know what i does!!

    C / C++ / MFC question

  • Function prototype
    H hph

    Hello, i have simple question, think of a common prototype like int FuncName(int var); now, what does it mean if i put a conclusive "=0" on it, like int FuncName(int var) = 0; Thanks in advance!

    C / C++ / MFC question

  • Inline Assembly
    H hph

    that's just the same!

    C / C++ / MFC help data-structures question

  • Inline Assembly
    H hph

    hello together, i have a strange problem with the following asm command; __asm call 0h This command should jump to the next instruction and put the value of the position where the last call was made onto the stack! Well, it should, but i only get this message: error C2415: improper operand type Any ideas? Thanks in advance!

    C / C++ / MFC help data-structures question

  • Kernel32.dll and dllmain
    H hph

    Thanks for your help! Actually i hoped that i am right, but i have expected that! What i try to do is the following: I have written a patch which injects some code into the kernel32.dll (Win98) which should load a specific .dll evertime the kernel32.dll is loaded. I have switched the original kernel32.dll with a boot disk. To get a little bit more specific: i have changed the adresse of the entry-point function, so it jumps to my code, where a specific dll should be loaded, and then jump back to the "real" entry-point-function! The strange but funny thing is, that windows98 starts up as if there is no manipulation in its kernel32.dll! I also have changed the code into something that makes no sense to see what happens, and yes, after that i have gotten a beautiful blue screen! The code to load the additional dll within the kernel32.dll is absolutely correct (that's what i think it is)! I don't have an idea why i doesn't load the dll! Any ideas ? Thanks in advance!

    C / C++ / MFC question performance

  • Kernel32.dll and dllmain
    H hph

    hello, as you know, kernel32.dll is loaded at windows startup and remains in memory until reboot or shutdown. Furthermore every .exe and .dll which is going to be executed uses the kernel32.dll which means that it is loaded into the adresse space of the calling process. So far so good! At the moment a dll is loaded into memory its dllmain function should recieve 3 parameters whereas one of those descripes wheather the dll is attached by a process/thread or detached. But in my understanding, a system dll which is already loaded (at startup like kernel32.dll), doesn't get a notification if it is loaded or unloaded into/from a process' adresse space because it is already in the memory! Now is that true or false and how can i examine that ? Thanks in advance!

    C / C++ / MFC question performance

  • Kernel32.dll
    H hph

    Yes, i did! But my problem is that the LoadLibraryA function doesn't load the dll!!

    C / C++ / MFC help 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