open source?
Type: Posts; User: anobody
open source?
if you know what messages to send... Yes
nope. Can you explain?
Someone asked this question a few days ago.
I wanted to know how to click the ok button in the windows login dialog.
So I found out.
int APIENTRY WinMain(HINSTANCE hInstance,
...
^-----^
Could someone fill in the finer details?
I'm looking it up now.
one hit = 1 point
set up a counter. say 2 seconds.
if they get another hit before the timer is up, up the points. hit =2
and restart the counter. if they get another hit.... hit=3
and so on.
...
this might not work. I have no ideas about how to do it.
If you could find a way to set all other process(even kernel) to a low prioriy, then set yours to high, that might give you the processor...
>>You suggest that I make the protected variable virtual?
i don't think you can make a variable virtual
if win is in your base class then do something like
wnWindowStruct virtual getWin();...
sounds like your using inharitance(forgive my spelling)
If that is true, then you need to creat a virtual method to access "win".
I'm not sure but hope that helps.
maybe if you could explain a...
try taking the number in as a string. then just flip it and compair it to the original
I've made a server and don't want to have to look at the console window all the time.
Is there a way to hide it without having to switch from main() to winmain()?
-----------
ok i've found...
How do I find lpClassName?
And does it stay the same after I shut down the program and re-open it?
I've gotten it to work.
HWND hMainWnd = FindWindow(NULL," - WinProxy");
if(hMainWnd ==...
ok here I go.
BOOL GetClassInfo(
HINSTANCE hInstance,
LPCTSTR lpClassName,
LPWNDCLASS lpWndClass
);
i dont know how to answer the question you asked. I think i might be able to be a little more specific.
ok here I go.
BOOL GetClassInfo(
HINSTANCE hInstance,
LPCTSTR...
who do you get it to show them to you?
opps.
thx
**turns red**
I took this stright out of the link above.
also added a bit more output.
#include <winsock.h> // winsock.h always needs to be included
#include <stdio.h>
#define MY_PORT 10000
#define...
I'm not sure what your talking about but here I go.
TCP/IP to talk to other machines.
#define LOGIN 0
#define LOGOUT 1
#define COMMAND1 2
#define COMMAND2 3
MyBuffer[1001];
<<Not trying to be rude but
what is your question?
Does anyone have a source for a simple echo server?
I'm trying to learn to use windows sockets.
I've followed some tuts but some don't compile and others just do not work.
...