Let me point out that if the combat loop has been started and you enter combat again you could have serveral combat loops running, so you need some sort of thread sycronisation. The easiest way to do...
Type: Posts; User: ENF
Let me point out that if the combat loop has been started and you enter combat again you could have serveral combat loops running, so you need some sort of thread sycronisation. The easiest way to do...
try file mapping
CreateFileMapping
MapViewOfFile
I see no reason to store all possible passwords. If you want to use them for anything usefull you'd have to have some automated way to go thru the list trying every one it would be better to have a...
I have an array like this
char Data[10];
I am trying to extract a dword like this
dwNumber=Data[2];
This dosen't work
I've also tried
dwNumber=(DWORD)Data[2];
still dosen't work I guese it...
Not sure how log ins are handled on this bored but you might end up having to handle cookies.
Even after using EM_SCROLLCARET ater each selection I still have the same problem. I am wondering if it is something to do with the control not having focus., would that affect EM_SCROLLCARET? Also...
s is the listening socket
ns is a new socket created by accept
when a connnection is accepted you need to fork to handle that connection (ns) but keep looping to accept future connections. Only one...
recv(Sock, RecvBuffer, DataLength, 0);
RecvBuffer[DataLength]=0; //make sure string is null terminated
SendMessage(hEdit, EM_SETSEL, -1, -1);
SendMessage(hEdit, EM_REPLACESEL, 0,...
currently I am using EM_SETSEL/EM_REPLACESEL to add new lines to a rich edit control, the problem is when the text is off the bottom of the scream the control dosen't scroll even though it has the...
ES_MULTILINE did it.
hi I have a subclassed edit control the proc is like this
if (uMsg==WM_KEYDOWN && LOWORD(wParam)==VK_RETURN)
{
if (SendMessage(hWnd, WM_GETTEXT, 100, (LPARAM)Buffer))
{
...
use
SendMessage(hWndEdit, EM_SETSEL, -1, -1);
this moves cursor to the last place in the edit control then use EM_REPLACESEL (I think thats the correct name) and it will add new text to the end