can you show us the code?
marcio k
Posts
-
CreateProcessAsUser -
try to stump me on C++and btw, if you're a god, try to help me at my question about classes and events that i posted here on the forum... that would be of a great help to me :) thank you ;)
-
try to stump me on C++how can a master of something be arrogant? being humble is the first step to learn. if you think you're really good, you'll stop wanting to learn because you think you know it all... i guess it's time to stop looking at the mirror and look at the world...
-
Windows Process / applicationyou'll have to take a snapshot of every process, every second (or a time you decide), and compare with the old snapshot to see if you find a new process. you can try hooking the api that opens the processes to watch it, but it's somehow expensive to develop... there's the oportunity to write a kernel module and watche the processes memory pages, that is more expensive yet... i don't really much more clues on how to do it, but there are books that goes deep on theese subjects such as "Windows Rootkits: Subverting the windows kernel" and such.
-
setting static IP address using win32 APIyou could try to have a look at the ip api... but most of it is pretty undocumented, so good luck :)
-
C++ Classes (problem with events)I'm writing a windows socket wrapper class in c++ from scratch and i cannot get events to work. So inside the class i'll have several events. let's pretend i have the following class:
class SocketTree
{
public:
int Close();virtual void OnClose(); //*this will be the event
}SocketTree::Close()
{
OnClose();
return 0;
}And now i'll have the derived class that will receive the event:
class SckHandle : public SocketTree
{
public:
virtual void OnClose();
}SckHandle::OnClose()
{
printf("working.");
}And here's the main procedure:
int main()
{
SckHandle sHnd;
sHnd.Close();
return 0;
}when sHand.Close() is executed, i wanted the event OnClose() to be fired, but it won't... anyone knows what is happening in here and what should i do to handle events correctly? thank you :)
-
Keyboard speed in millisecondsIs there a known way to convert values from HKEY_CURRENT_USER\Control Panel\Keyboard\KeyboardSpeed to milliseconds? Thanks in advance :)